Commit Graph

51 Commits

Author SHA1 Message Date
Ryan Thompson
fa36e46467 Merge pull request #570 from DarwinAwardWinner/emacswiki-refresh-in-process
Support in-process emacswiki-refresh with prefix arg
2012-02-27 10:33:11 -08:00
Ryan C. Thompson
537ff524b5 Add function el-get-plist-get-with-default
It encapsulates the following common pattern, used several times in
el-get to allow recipe properties to override defaults if present:

(if (plist-member plist prop)
    (plist-get plist prop)
  default)
2012-02-23 13:29:58 -08:00
Ryan C. Thompson
81207007da Use github method's user/repo parsing ing github archive methods 2012-02-21 15:21:06 -08:00
Ryan C. Thompson
0cb43a79fb Munge recipes befor handing off to stock tar/zip methods
In particular, http-tar needs ":url" and ":options" properties, and
http-zip needs ":url".
2012-02-21 15:05:10 -08:00
Ryan C. Thompson
bb29591fa9 Support "user/repo" for pkgname in github-tar/zip recipes 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
3f539683e6 Use the standard ":pkgname" instead of ":reponame" 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
37833f68cb Add github-zip method 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
41992d105d Add branch selection support to github-tar method 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
275004b5a8 Add github-tar method 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
98009d26a1 Refactor github user/repo parsing into separate function 2012-02-21 15:03:03 -08:00
Ryan C. Thompson
2c55507083 Remove harmful use of "el-get-as-string"
It would convert nil to "nil", preventing error detection.
2012-02-21 15:03:03 -08:00
Ryan C. Thompson
48af5bf1e9 Support "user/repo" for pkgname in github recipes 2012-02-21 15:02:26 -08:00
Ryan C. Thompson
92b41a458f Allow custom format string for "el-get-github-default-url-type" 2012-02-21 15:02:26 -08:00
Ryan C. Thompson
61fcc202c4 Update github method declaration to use keyword args 2012-02-21 15:02:26 -08:00
Ryan C. Thompson
bcce3cd469 Rewrite el-get-emacsmirror in terms of el-get-github 2012-02-21 15:02:25 -08:00
Ryan C. Thompson
de429fe5d0 Emacsmirror method should require el-get-core directly
(Instead of indirectly through requiring el-get-git)
2012-02-21 15:02:25 -08:00
Ryan C. Thompson
cf938d2800 Fixes for github method
Use the standard ":pkgname" instead of ":reponame"
2012-02-21 15:02:25 -08:00
Ryan C. Thompson
98c5aa8be6 Add github method 2012-02-21 15:02:25 -08:00
Ryan C. Thompson
56f454d7ad Add ":no-op" method as alias for ":builtin" 2012-02-20 19:02:24 -08:00
Dimitri Fontaine
ccb596229a Merge pull request #575 from mlf176f2/yasnippet-fix
Added the option of not updating submodules.  Should solve Issue #530
2012-02-18 13:01:14 -08:00
Dimitri Fontaine
187df001a0 Fix el-get-elpa-build-local-recipies (typo?) 2012-02-18 21:32:24 +01:00
Dimitri Fontaine
990d22b411 Merge pull request #571 from mlf176f2/elpa-refresh
Elpa refresh
2012-02-18 12:18:01 -08:00
Matthew L. Fidler
9b31025a2d Added the option of not updating submodules. Should solve Issue #530 2012-02-18 12:24:03 -06:00
Matthew L. Fidler
ebeafd7bd8 Removed repo from recipie. Let ELPA determine which repository to use. 2012-02-18 11:00:46 -06:00
Matthew L. Fidler
ef477c19eb Updates ELPA repository before creating recipies 2012-02-18 10:58:33 -06:00
Matthew L. Fidler
6f1e6c91ea Added el-get-elpa-build-local-recipies so that I can mirror elpa packages in el-get. (Whats the point of building thes packages by hand) 2012-02-18 10:46:50 -06:00
Ryan C. Thompson
7dc2cc7495 Support in-process emacswiki-refresh with prefix arg
Fixes #569.
2012-02-16 16:11:48 -08:00
Ryan C. Thompson
6f0c9d93d2 Add support for ":shallow" property in git method 2012-02-12 12:49:14 -08:00
Ryan C. Thompson
cefce29037 Support ":checksum" as an alias for ":checkout" in git recipes 2012-02-12 02:46:41 -08:00
Ryan C. Thompson
7037526d68 Implement support for :checkout property in git recipes 2012-02-12 02:46:41 -08:00
Ryan C. Thompson
5c89a93684 Register http-zip with keyword arguments 2012-02-12 02:33:04 -08:00
Ryan C. Thompson
3a5e6acac2 Update all el-get methods to declare using keywords 2012-02-12 02:29:31 -08:00
Ryan C. Thompson
573a0d1f98 Register ftp method as alias of http 2012-02-12 02:29:31 -08:00
Ryan C. Thompson
da6cd05820 Register emacsmirror, git-svn, and emacswiki as derived
This ensures that they will pick up updates to their parent methods
without having to add any code. In particular, git-svn and emacsmirror
will automatically pick up the new git checksum method.
2012-02-12 02:29:30 -08:00
Ryan C. Thompson
0e908c8100 Add checksum methods for git and hg.
These return the hash of the current revision of the package
2012-02-12 02:29:30 -08:00
Matthew L. Fidler
eecd93c97b HTTP-Zip method 2012-02-04 13:48:01 -06:00
Joel Suovaniemi
ca06e96314 use shell-quote-argument in el-get-elpa-package-directory 2011-12-01 18:41:09 +02:00
Julien Fantin
fa9de6a021 Added brew update support. 2011-11-25 00:18:52 +01:00
Julien Fantin
9f7df186d4 Homebrew method support 2011-11-24 23:51:13 +01:00
Dimitri Fontaine
6e4f4007ea Review the :checksum patch, implement M-x el-get-checksum. 2011-10-28 18:02:38 +02:00
Gergely Risko
9205317d1d Implemented checksum support for http, ftp and emacswiki methods. 2011-10-27 18:28:09 +02:00
Dimitri Fontaine
b2436458f4 Use the new emacswiki script that lists files and descriptions.
That's http://www.emacswiki.org/cgi-bin/wiki?action=elisp and parsing it is
easy and provides descriptions for most of emacswiki packages.
2011-10-19 15:43:11 +02:00
Dimitri Fontaine
324b8d5d68 Add the necessary -L options to el-get-emacswiki-refresh subprocess command line. 2011-10-17 10:06:46 +02:00
Julien Danjou
491ed855ba Add missing autoload flags for interactive functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-10-14 16:30:16 +02:00
Dimitri Fontaine
6abbd8a600 Merge pull request #422 from diasjorge/symlink-elpa
Elpa installation error symlinking package
2011-10-04 09:19:16 -07:00
Jorge Dias
e35f6b39bb Formatting symlink command 2011-10-04 15:41:16 +02:00
Dimitri Fontaine
5b17953aa0 Add the headers and licence to methods/el-get-builtin.el 2011-10-04 13:39:09 +02:00
Kyle Hargraves
295d6b8f4a Fix ELPA symlink creation type mismatch 2011-10-03 16:13:33 -05:00
Kyle Hargraves
a54ad73fee Add el-get-builtin method, so builtin packages can be "installed" simply 2011-10-03 16:13:07 -05:00
Dimitri Fontaine
8db0c4d49b Fix the refactoring so that it actually works.
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).

Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00