Commit graph

99 commits

Author SHA1 Message Date
Donald Curtis
dcf97c7df6 Delete package staging directory before building. 2012-04-29 20:01:04 -05:00
Donald Curtis
cc929e15d5 fix indentation 2012-04-29 19:54:35 -05:00
Donald Curtis
54d80f1f0b Throw an error if no files are found within the package. 2012-04-29 19:52:23 -05:00
Steve Purcell
ead0703746 Report an error when elisp on EmacsWiki gets deleted upstream (as happened with rainbow-delimiters.el) 2012-04-24 20:07:44 +01:00
Donald Ephraim Curtis
9c652e306e Remove the "Credits" section. 2012-04-24 13:17:14 -05:00
Steve Purcell
380c231e1f Add my name to the copyright 2012-04-24 19:01:35 +01:00
Steve Purcell
fdfe060ecf Check more strictly that -pkg files contain a single define-package expression (see #92) 2012-04-24 08:11:16 +01:00
Steve Purcell
eca898099d Handle elisp files which have no "version" header, but are otherwise well-formatted 2012-04-22 08:52:20 +01:00
Steve Purcell
b5f5bbc7b0 Don't leave modified buffers open after looking for package info in files 2012-04-22 08:51:52 +01:00
Steve Purcell
ae8e8ec191 Prefer mapc over dolist when an iteration variable is not required 2012-04-22 08:39:25 +01:00
Donald Curtis
869f22f2be princ should be message in update/checkout messages 2012-04-21 15:05:37 -05:00
Donald Curtis
b47382e904 Don't print pkg-info. 2012-04-21 15:00:57 -05:00
Donald Curtis
8b47179b4d default to `message' for everything except full-build information. 2012-04-21 15:00:17 -05:00
Donald Curtis
db9d32ee99 Cleanup script output. 2012-04-21 14:36:37 -05:00
Donald Curtis
682efd1d22 Cleanup output a bit. Only print certain things to stdout, rest to stderr. 2012-04-21 13:57:58 -05:00
Donald Curtis
004c9ae5ce Print packages that fail to build when building every package.
Closes #72
2012-04-21 13:57:23 -05:00
Donald Curtis
005697cbde additional long line formatting. 2012-04-21 12:10:06 -05:00
Donald Curtis
760e37e385 Cleanup long lines where it can be avoided (like it doc strings) 2012-04-21 12:08:45 -05:00
Donald Curtis
60be41f73b fix timestamp search problem with hg.
introduced in a971eeddd5

see #79
2012-04-21 12:01:01 -05:00
Steve Purcell
d86ed7e2c0 Don't require network connection when looking up URL for current git remote 2012-04-20 17:56:17 +01:00
Steve Purcell
6e25a6da87 Extract looping logic used to find most recent svn timestamp (see #79) 2012-04-20 17:56:17 +01:00
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