Steve Purcell
e8621869ae
Check for unknown keys in recipes (see #2370 and others)
2015-01-07 15:48:23 +00:00
Steve Purcell
1e8cfb4717
Extend docstring for pb/read-recipe
2015-01-06 13:07:16 +00:00
Steve Purcell
49ceee7b4e
Add missing arg to cl-assert call in recipe check
2015-01-06 13:03:39 +00:00
Steve Purcell
9428a70292
Assert that recipes are well-formed at the time they are read
2015-01-06 12:59:28 +00:00
Fanael Linithien
7ea9c9a535
Error when a string is passed as :fetcher
2015-01-02 17:28:59 +01:00
Steve Purcell
3b3018b087
Exclude "test.el" from :files by default
2015-01-01 12:25:57 +00:00
Steve Purcell
26f9176e11
"Version" headers are case-insensitive
2014-12-19 21:50:04 +00:00
Steve Purcell
9e191b1ab6
More liberal regexp in pb/update-or-insert-version
2014-12-19 21:47:38 +00:00
Steve Purcell
ce6c4af33c
Better name for our saner version of url-copy-file
2014-12-18 21:09:38 +00:00
Steve Purcell
2309a41e26
Use a version of url-copy-file which fails when it gets a 500
...
This was causing error pages to get turned into wiki packages
due to error pages served by the emacswiki. See #2294
2014-12-18 21:01:29 +00:00
Fanael Linithien
cb6d4af341
It's supposed to be :defaults, not :default.
2014-12-17 18:03:11 +01:00
Fanael Linithien
c097cc4282
Add a :defaults "macro" to the :files spec.
...
This allows users to add files to the default file list without
overwriting it. For instance:
(example :fetcher example :url "http://example.com/ "
:files (:defaults "an.example"))
This would fetch Emacs Lisp (except tests) and Texinfo files, just like
the defaults, but unlike the defaults, the file an.example would be
included too.
:defaults is only recognized when it's the first element of :files.
Fixes #2275 .
2014-12-17 17:47:18 +01:00
Steve Purcell
1a2c6e5d80
More informative error message
2014-11-08 13:59:45 +00:00
Steve Purcell
e0c4c53284
Reject -pkg.el
files with multi-line package descriptions
...
See https://github.com/boyw165/hl-anything/issues/2
2014-11-08 13:58:19 +00:00
Steve Purcell
2ffb028ccd
Extract code for single and multi-file package builds into helper fns
2014-10-22 18:58:36 +01:00
Steve Purcell
1e0f44b043
Better placement of badge generation code
2014-10-22 17:37:27 +01:00
Steve Purcell
7a86f574a5
Optionally write badge images for use on github pages etc
...
See #2099
2014-10-22 17:30:11 +01:00
Steve Purcell
711ddbeb29
Docstring fixes
2014-10-22 17:30:11 +01:00
Steve Purcell
56a00ba2c8
Write a no-byte-compile local variables block into generated "-pkg.el" files
...
See #2043
2014-09-28 11:51:30 +01:00
Donald Curtis
16beacfdcf
Make a valid Emacs version string before building.
...
In certain cases there are version numbers that are valid to Emacs but
get translated into something different after parsing to a
list (version-to-list) and then back to a string (package-version-join).
So before we start passing around the original version string we simply
regenerate it using the Emacs functions so it is consistent during the
building process.
Fixes #1952
Fixes #2000
2014-09-12 06:30:14 -04:00
Steve Purcell
71817c1969
After building with C-c C-c, display the result more helpfully
2014-08-07 10:53:01 +01:00
Steve Purcell
c4d5630e19
Merge pull request #1839 from Fanael/master
...
Enable stable package building for Mercurial.
2014-07-11 18:33:27 +01:00
Dieter Deyke
9a93420140
fossil 1.21 (as used on the server) uses _FOSSIL_ instead of the newer .fslckout to store local data
2014-07-10 08:06:59 +02:00
Dieter Deyke
4fed5df2bd
Use fossil options as understood by version 1.21
2014-07-09 19:04:35 +02:00
Fanael Linithien
b926a7003f
Enable stable package building for Mercurial.
2014-07-08 20:15:05 +02:00
Dieter Deyke
0bc19798cb
'fossil pull' only updates the repo, to update the working directory too you need 'fossil update'
2014-07-08 11:43:06 +02:00
Dieter Deyke
263f420437
Added support for fossil SCM, added recipe for vc-fossil.el, a VC backend for the fossil sofware configuration management system
2014-07-07 11:56:33 +02:00
Steve Purcell
3ba3477384
Use "gtar" for "tar" if available.
...
BSD tar on OS X doesn't handle certain packages properly,
e.g. "@". Homebrew on OS X installs gnu-tar as "gtar", so we use that
command in preference to "tar" if available.
See #1732
2014-07-06 17:55:06 +01:00
Steve Purcell
3256ef2f6b
Better regex for detecting stable version tags ( fixes #1772 )
2014-06-17 10:35:10 +01:00
Steve Purcell
3cfce4af16
Fix descriptive error in Commentary
2014-06-10 19:00:08 +01:00
Steve Purcell
190be3819f
Comment about use of 'cl is obsolete
2014-06-10 18:59:56 +01:00
Steve Purcell
feb38ac12c
Add a defgroup and convert some defvars to defcustoms
2014-06-10 16:32:36 +01:00
Steve Purcell
ab8f52dde9
More carefully detect the presence of GNU coreutils "timeout" command
...
See https://github.com/cask/cask/issues/220
2014-06-09 18:33:03 +01:00
Steve Purcell
5cc2f0b27e
Remove json-fix.el, and improve structure of archive.json
...
Fixes #1743
2014-06-02 20:00:29 +01:00
Donald Curtis
590db54fad
Don't read files literally.
...
This causes problems when we read in utf-8 and then try to dump the
contents back out. Utf-8 characters get read in as if they are ascii.
2014-05-16 00:47:46 -04:00
Donald Curtis
65c214820a
Extend the stable tag search method.
...
Make it so that the stable regexp matches the tag and the group
specifies the version portion.
2014-04-27 00:59:20 -04:00
Steve Purcell
21e23ae549
Don't ever pass the newish "trash" flag to #'delete-file
...
See https://github.com/cask/cask/issues/209
2014-04-22 16:03:43 +01:00
Steve Purcell
f91df24db5
Handle -pkg.el files without :url/:version properties etc.
...
Fixes #1620 , references #1619
2014-04-04 16:54:58 +01:00
Sebastian Wiesner
dcbe61db87
Write extra info to descriptors of TAR packages
2014-04-02 16:47:09 +02:00
Sebastian Wiesner
ab68a59456
Fix commentary extraction for single file packages
...
Explicitly read the commentary instead of relying on the package info.
Fixes a regression from changed pkg-info format, and has the added bonus
that it works on 24.4 as well, where pkg-info never contained the
commentary anyway.
2014-04-02 16:27:57 +02:00
Sebastian Wiesner
d1df88461f
Add extra package info to archive index entry
2014-04-02 16:18:29 +02:00
Sebastian Wiesner
b7d29cb544
Extract :url and :keywords to package info
2014-04-02 16:18:29 +02:00
emacs18
12ad53d429
Update package-build.el
...
Use file-equal-p rather than string-equal to compare paths so that different paths (using symlinks) pointing to the same directory are treated as same paths.
2014-03-31 06:55:43 -07:00
Steve Purcell
6e6412cbf6
Be specific when encountering an error in a recipe file
2014-03-30 20:05:11 +01:00
Steve Purcell
b05a2e1299
Versions read from .entry files will always be plain data, not clstructs
...
I'm guessing there was a package-desc-vers defalias, which has been
removed in the latest HEAD Emacs. But in any case, its use was
inappropriate here.
2014-03-27 13:40:11 +00:00
Steve Purcell
7eea9a4aa1
Add missing package-build-stable var
2014-03-27 13:35:58 +00:00
Donald Curtis
b1efca47e0
write-pkg-readme requires the target dir
...
another typo fix for packages.
2014-03-25 01:33:48 -04:00
Donald Curtis
ccf8a94667
Fix typo from stable import.
2014-03-25 01:29:45 -04:00
Donald Curtis
b350df249c
Enable stable package building for git.
...
Builds in the plumbing for checking out stable versions of git/github packages.
Contributions by @Bruce-Connor and @Wilfred.
2014-03-23 18:12:20 -04:00
Donald Curtis
90c421c6df
create archive directory if it doesn't exist
2014-03-23 17:42:50 -04:00