Steve Purcell
55139921af
Don't just remove *one* padding zero if there are two
2012-09-01 17:23:25 +01:00
Steve Purcell
84f54dd5fe
Ensure no zero-padding is used in the HHMM portion of version strings
2012-09-01 15:37:26 +01:00
Steve Purcell
efdbd825d5
Add .HHMM to versions so changes to frequently-updated packages can be detected ( fixes #250 )
2012-09-01 14:02:23 +01:00
Steve Purcell
84bd0175dc
Autoload a couple of the main interactive functions
2012-08-11 11:43:10 +01:00
Steve Purcell
a0e1212b3f
Add handy interactive package-build-current-recipe function
2012-08-11 11:42:44 +01:00
Steve Purcell
fdae5acf11
Use archive.json to populate the html package index, rather than ad-hoc sexp parsing
2012-07-25 14:01:04 +01:00
Donald Curtis
e13825d49a
add a newline at the end of output
2012-07-24 17:11:15 -05:00
Georgi Valkov
3f533208c5
Add functions that export to json
...
The list of recipies and the packages in the archive can be serialized
to json with:
- package-build-alist-as-json
- package-build-archive-alist-as-json
The json files can be used to simplify the generation of the html index
or serve as some form of API for non-lisp clients.
2012-07-21 15:31:47 -05:00
Donald Curtis
605b7a0ac7
Search files for "-pkg.el" file.
...
This will fix problems when the "-pkg.el" file is located in a
subdirectory as long as that file is included in the ":files" list
specified by the recipe, which *should* be the case anyways because
you would want that file installed as part of the package.
2012-07-03 12:22:45 -05:00
Donald Curtis
6c467379c2
don't downcase names of packages
2012-05-29 14:53:19 -05:00
Donald Curtis
42ac78dad8
Ignore duplicate files in tar.
...
Sometimes the name-pkg.el file is included but gets included twice
because we also add our own version. This causes problems when
installing. The `tar' will list both files and extract only one and
the tar mode for Emacs doesn't behave nicely.
2012-05-14 10:02:37 -05:00
Steve Purcell
e487e9ebf1
Enforce checkdoc-minor-mode
2012-05-07 11:43:21 +01:00
Donald Curtis
e456ea3cbf
Hotfix to let build continue after error.
2012-05-06 08:21:44 -05:00
Steve Purcell
73cd32ccae
Make 'package-build-archive-ignore-errors prompt for package name when called interactively
2012-05-06 12:13:12 +01:00
Steve Purcell
8be7c714c7
Simplify the functions dealing with source/dest file paths (see #97 )
...
This commit introduces pb/expand-file-specs, which expands a :files
list into a list of (SOURCE . DEST) pairs -- SOURCE is the relative
path of a source file or directory, and DEST is the relative path to
which it should be copied. By mapcar'ing this list, it's then easy to
get lists of the source and destination files, and copying files
becomes as easy as copying each SOURCE to its corresponding DEST.
2012-05-06 09:48:13 +01:00
Steve Purcell
c9220870ed
Normalise the file-list functions so they can be assessed for similarities
2012-05-06 09:48:13 +01:00
Steve Purcell
c269f0ef82
Remove some duplication by introducing pb/expand-source-file-list
2012-05-05 08:48:17 +01:00
Steve Purcell
8e8696fa14
Use idiomatic "not" in place of "(zerop (length lst))"
2012-05-04 20:34:28 +01:00
Steve Purcell
f17809801c
Fix compilation warnings about references to free variables
2012-05-04 20:33:25 +01:00
Donald Curtis
000bffabf6
On error return nil
2012-05-03 21:04:06 -05:00
Donald Curtis
203315d8cd
Clean out debugging code. Add others.
2012-05-03 21:03:10 -05:00
Donald Curtis
e54824d6c3
Dump error backtrace to stderr while ignoring errors.
2012-05-03 20:46:16 -05:00
Donald Curtis
2f7bfdd9d0
use ;;;
to denote package name
2012-05-03 20:46:16 -05:00
Donald Curtis
65aaef511a
use "source" and "target" consistently
2012-05-03 20:46:16 -05:00
Donald Curtis
a6e1dbe977
New style :files directive in recipes.
2012-05-03 20:25:49 -05:00
Donald Curtis
743322efcf
Fix builds where the *-pkg.el file is in a subdirectory (prefix)
2012-05-02 15:53:27 -05:00
Steve Purcell
2bdf9d0a87
Don't interpret PREFIX as a regexp in pb/remove-prefix
2012-05-01 14:24:14 +01:00
Steve Purcell
c5f641f8fb
Rename pathpfx variable for clarity
2012-05-01 14:24:14 +01:00
Steve Purcell
afb0db688d
Eliminate side effects in pb/remove-prefix, and note that the prefix is a regexp
2012-05-01 14:24:14 +01:00
Steve Purcell
fa271f3c9a
Fix all checkdoc warnings
2012-05-01 14:24:14 +01:00
Donald Curtis
198dbe1a9f
Remove path prefix before tar creation.
...
Closes #97
2012-05-01 07:32:08 -05:00
Donald Curtis
41fdeb80d3
Fix expansion problem of bzr repos.
2012-04-30 17:24:48 -05:00
Donald Curtis
310ca31c8d
Expand bzr repos to canonical path.
2012-04-30 16:03:22 -05:00
Donald Curtis
2bebebbcd6
Add function to parse line from run-process.
...
It is very common to find a regex match after running a process, so
make a function for this.
2012-04-30 15:59:33 -05:00
Donald Curtis
abbe137e38
Copy files for multi-file packages as individuals, rather than duplicating the repository.
2012-04-30 15:29:49 -05:00
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