Commit Graph

189 Commits

Author SHA1 Message Date
Jonathan Leech-Pepin
09e643be4a Added "--nested" option to fossil open.
This allows for nested repositories, otherwise `fossil open` fails and an attempt to reinstall will remove the parent `.fossil` file as well, breaking the repository.
2012-07-09 11:40:05 -04:00
Jonathan Leech-Pepin
f8cefda346 Fixed file-coding of el-get-fossil.el to be utf-8-unix. 2012-07-09 11:38:03 -04:00
Ryan C. Thompson
4f7c13e9fe Merge branch 'http-tar-update-fix' 2012-06-18 17:02:20 -07:00
Ryan C. Thompson
57a70fef23 Propogate http-tar fix to http-zip 2012-06-18 16:57:29 -07:00
Ryan C. Thompson
54916dd5c8 Fix silent failures in update http-tar packages
Fixes #777.
2012-06-18 16:40:52 -07:00
Dimitri Fontaine
446e80e2e1 Merge pull request #772 from diasjorge/git-svn
Added checkout support for git svn
2012-06-18 09:08:54 -07:00
Jorge Dias
cd7ec79790 Added checkout support for git svn 2012-06-11 12:41:06 +02:00
Ryan C. Thompson
bd418720b5 Add :auto-generated property to auto-generated recipes
Currently this has no function other than documentation, but it could
be given a function later, such as allowing manually-written recipes
to take precedence over auto-generated ones.
2012-06-03 08:45:44 -07:00
Ryan C. Thompson
a1e3054b74 Ensure el-get doesn't check for update on uninstalled package 2012-05-13 16:14:14 -07:00
Ryan C. Thompson
7a81d5b1a6 Fix elpa-update-available-p
It was not properly retrieving the installed/available versions.
2012-05-13 16:11:58 -07:00
Ryan C. Thompson
9479b9a157 Revert "Better implementation for el-get-elpa-package-directory"
This reverts commit e10d6dd3e0.
2012-05-13 11:59:06 -07:00
Ryan C. Thompson
bee3809e52 Create directories recursively in elpa-build-local-recipes
Typically this would not be necessary if el-get was installed
according to the instructions, but for testing el-get is not
installed, so the directory's parents do not already exist and need to
be created.
2012-05-13 11:59:06 -07:00
Alan Pearce
ed1813bea5 Fix typo in function name 2012-05-07 22:56:26 +01:00
Ryan Thompson
f630ddf51a Merge pull request #735 from DarwinAwardWinner/emacswiki-github-mirror
Switch default EmacsWiki base URL to Github mirror
2012-05-06 11:46:29 -07:00
Ryan C. Thompson
a659491db2 Add missing paren
Fixes #738.
2012-05-06 11:00:53 -07:00
Ryan Thompson
c32bd0aca8 Merge pull request #664 from DarwinAwardWinner/misc-fixes
Misc fixes
2012-05-06 01:37:10 -07:00
Ryan C. Thompson
a7a4e5925f Switch default EmacsWiki base URL to Github mirror
Fixes #724.
2012-05-06 00:15:32 -07:00
Ryan Thompson
f603fb4882 Fix #703 2012-04-06 15:30:23 -07:00
Dimitri Fontaine
9656c72136 Fix `el-get-parse-proxy' 2012-03-23 16:55:53 +01:00
Jonathan Leech-Pepin
75f61b2bd1 Fixed quoting error on Linux System and a typo. Added fossil to list of methods.
This commit successfully passes "test/test-recipe.sh vc-fossil".
2012-03-16 13:58:52 -04:00
Jonathan Leech-Pepin
8345c40b6c Implements a method for accessing fossil repositories hosting elisp code.
- Checks for fossil executable, errors if not available
- Clones fossil repositories, allowing for customized location of the artifact store (.fossil)
- Updates the package allowing the user to check out arbitrary commits, tags or branches
- Finds and removes the artifact store (.fossil) when removing the package
- Grants access to all information provided by `fossil info` stored in an a-list for use by other functions.  Currently used to find checksum and to retrace the artifact store.
2012-03-13 16:44:03 -04:00
Ryan C. Thompson
03f95b8ef2 Don't try to update an ELPA package unless an update is available
This fixes a bug where trying to update an ELPA package when an update
wasn't available would throw an error.
2012-03-13 10:45:20 -07:00
Ryan C. Thompson
e10d6dd3e0 Better implementation for el-get-elpa-package-directory 2012-03-13 10:45:19 -07:00
Ryan C. Thompson
4a639cb43b Clean up git clone command list.
It now uses the same uniform formatting across all the commands in the
list, making the code more readable. No functional changes.
2012-03-07 18:23:32 -08:00
Ryan C. Thompson
af249780b0 Support :branch in hg recipes 2012-03-07 18:23:32 -08:00
Ryan C. Thompson
05cf98b2a5 More robust method for computing git checksums 2012-03-07 18:23:32 -08:00
Takafumi Arakaki
b6f5dcf1b2 el-get-hg-compute-checksum returns full 40-digit hex now 2012-03-05 19:21:55 +01:00
Ryan Thompson
b80409eedc Merge pull request #617 from DarwinAwardWinner/method-guess-website
Method guess website
2012-03-02 15:20:32 -08:00
Takafumi Arakaki
0318063924 Improve el-get-hg-compute-checksum 2012-02-29 20:05:49 +01:00
Takafumi Arakaki
978737581f Fixed: el-get-hg-pull fails to update when none is pulled 2012-02-29 14:12:23 +01:00
Takafumi Arakaki
d6a0b8ded3 Fixed: pull-args is not used in el-get-hg-pull 2012-02-29 13:24:18 +01:00
Takafumi Arakaki
b1796fd5b1 Implement support for :checkout property in hg recipes 2012-02-29 12:54:48 +01:00
Ryan C. Thompson
b0ba0acebb Merge branch 'cvs-proxy' 2012-02-28 18:23:01 -08:00
Ryan C. Thompson
9b350be579 Add website guessers to some methods 2012-02-28 17:58:44 -08:00
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
Matthew L. Fidler
9c2143d172 Took out testing function. Should address Issue #386 2012-02-23 15:55:45 -08:00
Matthew L. Fidler
de7a55713d Added url-proxy-services support. 2012-02-23 15:55:45 -08:00
Matthew L. Fidler
918d9021ad Separated out into parsing function and url construction functions. 2012-02-23 15:55:45 -08:00
Matthew L. Fidler
cf2bc1b01d Added CVS Proxy support 2012-02-23 15:55:45 -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
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00