Commit graph

53 commits

Author SHA1 Message Date
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