Commit graph

78 commits

Author SHA1 Message Date
Steve Purcell
142e1a2506 Correctly determine last commit timestamp for a set of darcs files (see #79) 2012-04-20 17:56:16 +01:00
Steve Purcell
106834fc73 Pull default "*.el" pattern up into 'pb/expand-file-list 2012-04-18 11:07:03 +01:00
Steve Purcell
a971eeddd5 Correctly determine last commit timestamp for a set of hg files (see #79) 2012-04-18 11:02:09 +01:00
Steve Purcell
05f920a494 Correctly determine last commit timestamp for a set of bzr files (see #79) 2012-04-18 10:45:15 +01:00
Steve Purcell
c0f349295a Fix references to non-local variables 2012-04-18 10:40:11 +01:00
Donald Curtis
0164ab69a2 Ignore trailing / on subversion packages. 2012-04-17 15:42:36 -05:00
Donald Curtis
2dc9a2bd47 Only consider timestamps for files in packages for Subversion recipes. 2012-04-17 15:42:23 -05:00
Donald Curtis
565ee2017b add a BOUND parameter to the timestamp parser 2012-04-17 15:27:34 -05:00
Donald Curtis
3e4c8ca859 For git packages, use the last changed of only files in the package. 2012-04-17 14:50:25 -05:00
Donald Curtis
759ec4f2d0 remove unused functions. 2012-04-17 14:25:36 -05:00
Steve Purcell
6dc2d0fb9f After build, remove pre-built packages for which no recipe exists (see #76) 2012-04-17 12:00:31 +01:00
Steve Purcell
225d18964a Tidy up build-all functions 2012-04-17 10:42:51 +01:00
David Leatherman
252137632d Moved config argument to the end 2012-04-12 09:12:40 -04:00
David Leatherman
aad9c41d76 Updated source tag to simply [source: <src>] 2012-04-12 07:52:07 -04:00
David Leatherman
4119ac1741 Add the package source to the package description 2012-04-11 19:10:01 -04:00
Bozhidar Batsov
26a2f6318e added Mercurial support 2012-04-11 14:56:29 +03:00
Bozhidar Batsov
40f0e5eef3 fixed #33 - added bazaar support 2012-04-11 14:21:57 +03:00
Steve Purcell
cae2ac3513 Add a specialized "github" fetcher, as a shorthand for corresponding git URLs (fixes #34) 2012-04-09 20:37:45 +01:00
Steve Purcell
2b1afde6f3 Keep recipes in individual files inside the "recipes" subdirectory. 2012-04-06 20:52:51 +01:00
Steve Purcell
3bf025e659 Explicitly default :files to "*.el", expanded after check-out.
This resolves the inconsistency wherein an empty :files value meant "every
file" for git packages, but just "package-name.el" for wiki packages.

It also allows the removal of most :files values in the pkglist, since
"*.el" is almost always the Right Value.
2012-03-24 11:04:42 -05:00
Steve Purcell
84240090e4 Fix accidental breakage of implicitly multi-file packages like magit 2012-03-19 14:56:36 +00:00
Steve Purcell
15efde743d Consistently use "wiki" rather than "emacswiki" in fn/var names 2012-03-19 14:17:16 +00:00
Steve Purcell
badee655ee Support multi-file emacswiki packages, with rate-limiting of http requests 2012-03-19 12:50:51 +00:00
Donald Curtis
9470f40e4f Re-clone if repository has changed. 2012-03-17 13:45:55 -05:00
Donald Curtis
0c6c84c04b Delete checkout directory if it already exists.
In certain cases we are doing a clone (checkout) and the directory
we're cloning to already exists, this makes sure that the we delete it
before doing the clone.
2012-03-17 13:39:26 -05:00
Donald Curtis
a6e79d651b version of package-build-archives that ignores errors so that other
packages will complete even if one doesn't.

right now if an error occurs, the build-all will stop, but in most
cases build-all should continue through the rest.
2012-03-17 12:39:44 -05:00
Steve Purcell
429aa60880 Check for sentinel version control files/dirs inside working dirs, to avoid errors
A problem existed prior to this commit: if a package was changed from
darcs to git, then running "git pull" in the package's working dir
would silently perform that git operation in the root of the Melpa
repo. Checking that the version control for a working dir is as
expected prevents this issue.
2012-03-16 14:33:12 +00:00
Steve Purcell
3697b36d06 Raise error when 'pb/run-process exits with a non-zero code. 2012-03-16 14:30:13 +00:00
Steve Purcell
51fdff7d29 Explicitly provide 'package-build 2012-02-27 09:48:17 +00:00
Steve Purcell
b9666e7867 Stylistic fix for code chunk which was reassigning a var 2012-02-27 09:48:17 +00:00
Steve Purcell
18fe834e0a Fail harder if asked to build an unknown package 2012-02-27 09:48:17 +00:00
Steve Purcell
b4856f8f3d Group the internal functions and public interface functions together 2012-02-11 11:49:02 +00:00
Steve Purcell
932c878f66 Remove nil optional args in call to 'write-region 2012-02-11 11:42:19 +00:00
Steve Purcell
647189743d Use shorter "pb/" prefix for internal functions to aid clarity 2012-02-09 21:34:32 +00:00
Steve Purcell
589ea72384 Tidy up attempt to use copy-seq to keep function side-effect free 2012-02-09 21:01:39 +00:00
Steve Purcell
c013231a48 Use "when" instead of "if" in the absence of an "else" expression 2012-02-09 21:00:42 +00:00
Steve Purcell
f31edc2997 Declare the build and archive alist vars early, and initialize them later.
This keeps the byte-compilation process happier, and allows melpa
developers to reload the pkglist file using "M-x package-build-initialize"
2012-02-03 14:46:55 +00:00
Steve Purcell
e65a8fc0b0 Ensure all functions are correctly namespaced 2012-02-03 14:39:16 +00:00
Steve Purcell
3924aa896d Tidy up the fallback code for locating package info in .pkg, .pkg.in, and .el files 2012-02-02 20:30:15 +00:00
Donald Ephraim Curtis
fee98f4cdd Fixed a bug when generating *-pkg.el files
Dependencies were not being properly generated, quoted lists of cons.
2012-02-02 13:20:43 -06:00
Steve Purcell
60083032da Extract common code for updating pkg-info with new version 2012-01-31 14:23:27 +00:00
Steve Purcell
a7f748c14a Rename a couple of function args for clarity 2012-01-31 14:02:42 +00:00
Steve Purcell
905854725f Cursorily fix up all docstrings to pass checkdoc tests. 2012-01-31 10:52:02 +00:00
Steve Purcell
69d4ad65c2 Factor out code for writing pretty-printed sexps to disk 2012-01-31 10:52:02 +00:00
Steve Purcell
ebccd930c6 Remove unused package-change-list-elt function 2012-01-30 14:38:55 +00:00
Steve Purcell
ae4549fa16 Group the -build-checkout- functions together 2012-01-30 14:38:55 +00:00
Steve Purcell
c070959b20 Ensure that single-file wiki packages aren't bundled unnecessarily as tars 2012-01-30 14:38:47 +00:00
Steve Purcell
3fc3a0200e Unify build-checkout functions so each can directly access the config options it needs 2012-01-30 12:46:44 +00:00
Steve Purcell
df77b0e0bf Use "last edited" timestamp when fetching from emacswiki, and figure out URL automatically 2012-01-30 11:01:06 +00:00
Steve Purcell
82e4faa900 Shrink process-handling code in checkout functions 2012-01-29 13:13:14 +00:00