Commit graph

285 commits

Author SHA1 Message Date
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
Steve Purcell
686ee3a775 Print a warning when :files is redundant
If a :files spec is provided and expands to the same set of files as
package-build-default-files-spec, then print a warning.
2014-02-21 10:01:54 +00:00
Steve Purcell
b18abf016c Update copyright year 2014-02-21 09:35:23 +00:00
Steve Purcell
a333ded641 Fix up checkdoc warnings 2014-02-16 09:26:21 +00:00
Johan Andersson
771e764786 Skip trash argument for delete-directory function.
Emacs <= 23 does not support this argument.
2014-02-15 14:52:19 +01:00
Donald Curtis
314674b9e6 run makeinfo from the directory containing input
fixes #1097
2014-02-14 23:48:24 -05:00
Donald Curtis
c30e7917f4 add .dir-locals.el to the list of excluded files 2014-02-06 23:34:56 -05:00
Steve Purcell
56116ebaf7 Provide :branch for git recipes
See https://github.com/cask/cask/issues/136
2014-02-06 20:32:13 +00:00
Steve Purcell
70ddd52881 Don't assume *-readme.txt files should always be written to package-build-archive-dir
Fixes #1463
2014-02-04 16:43:13 +00:00
Steve Purcell
bfba389ab0 Fix conditional default-directory 2014-01-31 08:39:28 +00:00
Steve Purcell
0c167860b3 Check for existence of working directory when running a process 2014-01-31 08:20:39 +00:00
Steve Purcell
8dc0fd3a35 Ensure default-directory ends with a slash
See #1431, #1444
2014-01-31 08:17:06 +00:00
Steve Purcell
f30a6707a6 Don't bind default-directory to working-dir on checkout
This reverts commits d7f413f and bf2d52b

See #1444
2014-01-30 14:43:52 +00:00
Johan Andersson
bf2d52b26b Default directory should end with slash.
We can only do that if the directory already exist.  But sometimes the
command that is to be run is what creates the directory, hence it does
not exist.  So we only end with slash if the directory exists.
2014-01-28 19:07:07 +01:00
Johan Andersson
4a0b7b0163 Improve debug information when running process fail. 2014-01-28 19:06:30 +01:00
Johan Andersson
f3ea2a3c60 Allow symbol or string for building package.
This makes sense since functions such as package-build-checkout take a
symbol as argument.  Preferably package-build should use one of them all
over place and not mix.
2014-01-28 19:04:50 +01:00
Johan Andersson
d7f413f039 Bind default-directory to working-dir on checkout.
Without this, actions in resp. checkout function will affect the project
that is currenly `default-directory`.
2014-01-28 14:22:38 +01:00
Steve Purcell
58b7799a69 Include "doc/dir" in the default :files list
See https://github.com/flycheck/flycheck/issues/274
2014-01-27 18:04:52 +00:00
Steve Purcell
bd34c21623 Revert "Start handling extra package properties such as URL, keywords"
This reverts commit b65bdcfa2b.
2014-01-15 08:32:33 +00:00
Steve Purcell
a555fea6d9 Re-use existing function for determining path of .entry file 2014-01-14 21:22:25 +00:00
Steve Purcell
b65bdcfa2b Start handling extra package properties such as URL, keywords
For now, we just ensure that the info parsed out of source .el and -pkg.el
files gets preserved in the built packages and archive-contents digest.

See #1233
2014-01-14 21:22:25 +00:00