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
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
Donald Ephraim Curtis
8fda482426
force pkg name to be lowercase
2012-01-21 23:44:24 -06:00
Donald Ephraim Curtis
6eee148786
pkg-build now searched properly for info.
2012-01-21 23:13:19 -06:00
Donald Ephraim Curtis
00d101530d
Fixed the wonkiness. About to test.
2012-01-21 21:49:46 -06:00
Donald Ephraim Curtis
d6136c239d
let* cleanup madness
2012-01-21 16:55:24 -06:00
Donald Ephraim Curtis
4e2cdca969
fix printing in package-build
2012-01-21 14:28:44 -06:00
Donald Ephraim Curtis
12d88bf2bc
Use print for status info
2012-01-21 14:02:03 -06:00
Donald Ephraim Curtis
de6026cf85
Build system works now with new config.
2012-01-21 13:00:42 -06:00
Donald Ephraim Curtis
213afd607f
Migrating to a custom configuration file.
2012-01-21 12:04:55 -06:00
Donald Ephraim Curtis
63213c4501
Completion of reorganization.
2011-12-13 21:08:36 -06:00
Donald Ephraim Curtis
bff01bfb42
updates and fixes
...
changed some output to be more specific about what is being checked out and where.
added markdown-mode+ to the default package build and sync command.
updated `epkgs`.
2011-12-03 20:30:22 -06:00
Donald Ephraim Curtis
c2cde4998b
Fixed some problems with updated epkgs repository.
...
Now uses both the .config and master files.
2011-12-03 00:40:52 -06:00
Donald Ephraim Curtis
0f8bbb6ce8
package-build.el now properly maintains dependencies when *-pkg.el exists
2011-11-13 20:47:03 -06:00
Donald Ephraim Curtis
c8f4157f72
Initial commit.
...
This is a package for building GIT-based ELPA packages for Emacs.
2011-10-05 00:49:38 -05:00