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
Steve Purcell
5b79bc94ca
Re-use package-read-from-file for reading package file and archive contents
2012-01-29 12:18:48 +00:00
Donald Ephraim Curtis
3f8ff0782a
Consolidate out time search and format.
2012-01-28 20:10:55 -06:00
Donald Ephraim Curtis
b76c0107c8
Fix a bug with a mismatch with single file packages.
...
With single file packages, the filename must match the package name.
2012-01-28 20:09:44 -06:00
Donald Ephraim Curtis
2fe4f63179
Added ability to checkout wiki-based packages.
2012-01-28 19:26:20 -06:00
Donald Ephraim Curtis
2a03ca3023
More credit to Purcell!!!
2012-01-28 18:17:45 -06:00
Donald Ephraim Curtis
c12ee029d9
Fix some long lines. Still a few long strings left.
2012-01-28 18:16:55 -06:00
Steve Purcell
e2e25c722a
Use 'completing-read in 'package-build-archive; helpful when debugging
2012-01-28 20:01:37 +00:00
Steve Purcell
81e9a89448
Support wildcards in :files option
2012-01-28 20:00:13 +00:00
Steve Purcell
07065fb330
Docstring fixes
2012-01-28 15:51:26 +00:00
Donald Ephraim Curtis
2767583ca6
hack for git packages that need to be *locked* a commit
2012-01-22 18:05:14 -06:00
Donald Ephraim Curtis
76fd6c24d6
Add a package-build-all function to build all known packages.
...
Improves speed and eases addition of more packages.
No need for buildlist anymore.
2012-01-22 13:05:59 -06:00
Donald Ephraim Curtis
0c305199ed
Comments indicating some extras done to improve accuracy of package desc.
2012-01-22 12:19:36 -06:00
Donald Ephraim Curtis
05acbfa931
Fix for files that don't properly end the comments section. It's OK
...
if it's redundant it goes away in the end.
2012-01-22 12:19:04 -06:00
Donald Ephraim Curtis
91081a34dd
Fix SVN pathing. Packages must specify an absolute path.
2012-01-22 12:17:24 -06:00
Donald Ephraim Curtis
c1fdb43d59
Add error message if the package cannot be found.
2012-01-22 11:51:49 -06:00