Dave Abrahams
99c4668f70
Bugfix: code was just wrong
2011-05-24 11:50:03 -04:00
Dave Abrahams
20057d05fc
Remove testing flotsam
2011-05-24 11:50:03 -04:00
Dave Abrahams
5d60d7c1b0
WIP on dependency resolution, etc.
2011-05-24 11:50:03 -04:00
Dave Abrahams
8772c2dd92
Correct misuse of "care" and simplify related language in a few places.
2011-05-24 11:50:03 -04:00
Dave Abrahams
ae4617a600
Improved comments
2011-05-24 11:50:03 -04:00
Dave Abrahams
38ac24777b
Fix comment typo
2011-05-24 11:50:03 -04:00
Dave Abrahams
ac5a364157
Add el-get-as-string along with associated refactorings
2011-05-24 11:50:03 -04:00
Dave Abrahams
62905785e1
Simplify: the let' above already guarantees that
compile' is a `listp'
2011-05-24 11:50:03 -04:00
Dave Abrahams
7aebaa5787
Add el-get-as-list and el-get-as-symbol along with associated refactorings
2011-05-24 11:50:03 -04:00
Dave Abrahams
250358204c
Add missing comment
2011-05-24 11:50:03 -04:00
Dave Abrahams
d1f288db52
Grammar corrections
2011-05-24 11:50:03 -04:00
Dave Abrahams
b7af465078
Add el-get-symbol widget so that users can put strings in el-get-sources
2011-05-24 11:50:03 -04:00
Julien Danjou
f49dcc0566
disable more hooks on autoload generation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-23 10:06:52 +02:00
Dave Abrahams
c766e4cea0
Add el-get-repeat widget to simplify el-get-sources customization
2011-05-22 15:53:01 -04:00
Dave Abrahams
298f7697ad
Make el-get a lot quieter at startup by default
2011-05-22 00:06:45 -04:00
Dave Abrahams
e6dab6a567
Factor out nasty code repetition
2011-05-21 23:52:27 -04:00
Dave Abrahams
704206cc04
Avoid writing :post-init and :after messages when there's nothing to do
2011-05-21 22:25:16 -04:00
Dave Abrahams
1e9139dbba
Fix comment
2011-05-21 21:36:04 -04:00
Ethan Glasser-Camp
d5656231ce
Disable emacs-lisp-mode-hook when handling autoloads
2011-05-04 08:24:08 -04:00
Ethan Glasser-Camp
bf491166f0
Turn off emacs-lisp-mode-hook when byte-compiling
2011-05-04 08:22:33 -04:00
Damien Cassou
97ddb9a149
Removes useless function el-get-darcs-executable
2011-04-05 15:09:09 +02:00
Dimitri Fontaine
9ce6d434cb
Merge branch 'master' of github.com:dimitri/el-get
2011-03-28 12:44:15 +02:00
Dimitri Fontaine
4c853d39d6
Default to stop byte-compiling packages at init time, that's now a power-user option.
2011-03-28 12:43:48 +02:00
Dimitri Fontaine
f88281518a
Fix previous bound-and-true-p fix...
2011-03-28 00:28:39 +02:00
Dimitri Fontaine
c813f27319
Merge branch 'master' of github.com:dimitri/el-get
2011-03-27 21:20:15 +02:00
Dimitri Fontaine
f4ff01628e
Bugfix: stop using file-exists-p on a potentially nil input.
2011-03-27 21:19:34 +02:00
Dave Abrahams
15177ea446
Fix representation of build type
2011-03-24 20:42:24 -04:00
Dimitri Fontaine
8522b879aa
Fix when building info happens in el-get-build, per gripe from mmarcus.
2011-03-22 20:36:04 +01:00
Dimitri Fontaine
b2db7cdc1d
Edit changelog.
2011-03-16 22:31:00 +01:00
Dimitri Fontaine
1040a60c46
Assorted long-line fixes.
2011-03-16 22:29:53 +01:00
Dimitri Fontaine
438cedb3d8
Little code cleanup (use mapc rather than mapcar).
2011-03-16 22:24:13 +01:00
Dimitri Fontaine
439630ce32
Rework of el-get byte compiling internals.
...
The Emacs -Q subprocess should not depend on a proper el-get setup to be
able to byte compile a package, this patch allows to get there.
2011-03-16 22:23:30 +01:00
Dimitri Fontaine
2390751240
Implement the command el-get-find-recipe-file, and rework the internal recipe API.
2011-03-16 22:21:52 +01:00
Dimitri Fontaine
d80df2ffb1
Add support for :repo parameter for ELPA packages, and a package24.el recipe.
2011-03-16 22:16:05 +01:00
Julien Danjou
c46e224beb
Add load-path before compile and autoloads
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-15 14:02:18 +01:00
Dimitri Fontaine
75d4c30fda
Fix some byte compile warnings.
2011-03-10 21:15:29 +01:00
Dimitri Fontaine
b0d5d7abfb
Compatibility with package.el (tested with package-install-from-buffer)
...
In passing, change the version strings used by el-get to something that
looks more like what Emacs itself does, 2.0 being the development version of
the next stable version, 2.1. Calling it 1.2~dev is not such a good idea,
and package.el would chuck on it.
2011-03-10 21:15:12 +01:00
Dimitri Fontaine
31196f1a35
Fix typo, apply a function symbol, not an undefined variable.
2011-03-02 16:01:51 +01:00
Dave Abrahams
72ccc84394
Can't load a file sans extension from the command line
2011-03-01 19:34:10 -05:00
Dave Abrahams
888c830f90
Fixes https://github.com/dimitri/el-get/issues/#issue/178
2011-03-01 18:49:06 -05:00
Julien Danjou
ec491d491c
Do not check for el-get-byte-compile here
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-01 13:57:35 +01:00
Julien Danjou
eb0a020eeb
Fix el-get-read-package-with-status with multiple status
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-01 13:57:35 +01:00
Dimitri Fontaine
5cde0bc0bd
warn users when el-get-install is used on unregistered packages, and augment the docs there too.
2011-03-01 10:59:17 +01:00
Dimitri Fontaine
04c43f322a
Fix el-get-byte-compile to accept stringp &rest argument for compiling.
2011-02-25 19:23:21 +01:00
Dimitri Fontaine
5ccc119bd5
Typo fix (el-get-byte-byte-compile)
2011-02-25 17:56:36 +01:00
Julien Danjou
29363d5da0
Check compilation is up-to-date before init
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 16:26:24 +01:00
Julien Danjou
c671a686ae
Use byte-recompile-file, simplify el-get-byte-compile-files.
...
On recent Emacs, we can use byte-recompile-file.
Package is not needed as an argument in el-get-byte-compile-files.
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 15:45:56 +01:00
Julien Danjou
5dd1ff8082
Add support for external autoload file
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 13:11:34 +01:00
Julien Danjou
7d423b55ea
Fix typo in lazy form
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 10:33:43 +01:00
Julien Danjou
0651d18048
Add el-get-dir to load-path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-24 23:57:27 +01:00
Julien Danjou
6b143d073e
Fix postinit and after evaluation when lazy
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-24 23:51:10 +01:00
Dimitri Fontaine
b08fbfd2bb
Implement `el-get-is-lazy' and assorted properties, :prepare and :post-init and :lazy.
...
Also change all recipes using :after to now use :post-init, and fix
blender-python-mode to rely on :prepare, which it seems to be needing.
Removing :features and :load from recipes where it's possible to be lazy is
scheduled for a later patch...
2011-02-24 22:03:47 +01:00
Dave Abrahams
421fac5c08
Remove needless/erroneous usage of intern-soft in favor of plain
...
intern
2011-02-23 19:55:58 -05:00
Dave Abrahams
48a85ec50c
Don't blindly assume that el-get-recipe-path directories exist
2011-02-23 16:38:00 -05:00
Dimitri Fontaine
f2da9cb6d5
`el-get-eval-after-load' allows to get the old behaviour back per default.
...
Lazy eval runners will have to set that to non-nil in order to enjoy broken
recipes and manual installation rather than fully automatic and "just works"
experience. Consider in particular recipes and `el-get-sources' entries
that are defining keys, which is a common practice and a supported use case.
2011-02-22 21:39:37 +01:00
Dimitri Fontaine
05f8b2a17c
Some fixes so that el-get-emacswiki-refresh somehow works with no manual massaging...
2011-02-22 18:38:02 +01:00
Dimitri Fontaine
9f0e47ddfb
Implement fetching the elisp script list from emacswiki and maintaining a
...
local recipe cache out of that. M-x el-get-emacswiki-refresh to be all
setup, then M-x el-get-install and enjoy.
2011-02-22 15:09:59 +01:00
Dimitri Fontaine
79867c6792
Fix el-get-install-or-init by adding a parameter p-status.
2011-02-21 23:15:40 +01:00
Dimitri Fontaine
a1c78fcddd
"Fix" el-get-install and friends to stop caring about `el-get-sources'.
2011-02-21 22:55:45 +01:00
Dimitri Fontaine
5b5f274c23
Towards a lazy offer: (el-get 'sync el-get-sources 'and 'other 'packages).
2011-02-21 22:20:57 +01:00
Steve Purcell
6393971aa1
Make el-get-build respect the el-get-byte-compile custom option
2011-02-21 04:29:52 +08:00
Dimitri Fontaine
90aee18da3
Some more whitespace cleaning
2011-02-19 21:36:14 +01:00
Dimitri Fontaine
2dac7fbc82
Lazily eval :after functions, unless :features is used.
2011-02-19 21:24:19 +01:00
Dimitri Fontaine
a4b7a095c7
whitespace cleanup
2011-02-19 21:22:13 +01:00
Dave Abrahams
73a5221c1f
Add missing quote
2011-02-18 21:41:16 -05:00
Dave Abrahams
bfd57b7cb2
Don't try to evaluate autoloads unless the file exists!
2011-02-18 21:00:11 -05:00
Dave Abrahams
2726a836d2
Customizable el-get-sources
2011-02-18 20:35:01 -05:00
Dimitri Fontaine
d41430ded7
Provide the command M-x el-get-sync so that you can avoid C-x C-e on your (el-get 'sync) elisp line.
2011-02-17 21:25:53 +01:00
Dimitri Fontaine
d2615b5214
Little fix and changelog entry for el-get-executable-find
2011-02-04 19:48:15 +01:00
Dimitri Fontaine
88f1faf725
Factorise el-get ways of finding an executable, and use that everywhere it makes sense.
...
That fixes complaints about el-get being stuck when you're missing some
tools, rather than complaining it can not find them early enough.
2011-02-04 18:39:35 +01:00
Dimitri Fontaine
13acc82071
Edit changelog for autoloads user switch
2011-02-01 17:09:25 +01:00
Steve Purcell
ac45346a7d
Make autoloading optional, both globally and per-package, and disable it for session.el, which has bad autoloads
...
See https://github.com/dimitri/el-get/issues/issue/111/ for the background on this.
2011-02-01 17:02:13 +01:00
Jonas Baumann
eec3d3cec6
fixed package.el version check
2011-02-01 14:52:13 +01:00
Dimitri Fontaine
d53cae10ac
Stop mixing where el-get install packages with where el-get lives.
...
At least when defining the default recipe path.
2011-02-01 14:27:45 +01:00
Dimitri Fontaine
188a3bdfdc
Fix el-get-elpa-install to support both the old and new versions of package.el
2011-01-31 20:34:46 +01:00
Dimitri Fontaine
3f2385d070
Fix el-get-rm to only delete the ELPA symlink when it exists (allow cleaning after error).
2011-01-31 20:14:30 +01:00
Dimitri Fontaine
8dcc9163d1
Fix previous commit, which was done on a rush.
2011-01-31 18:59:10 +01:00
Dimitri Fontaine
74086eb65c
Stop relying on el-get being installed in el-get-dir itself when byte-compiling, per report.
2011-01-31 18:53:32 +01:00
Dimitri Fontaine
20df9d9acf
Use * as the first character of docstrings for defvar that can be edited by M-x set-variable
2011-01-31 18:26:49 +01:00
Dimitri Fontaine
75b22bbd04
Fix issue #137 , that is asynchronous byte-compiling of packages.
2011-01-30 21:57:30 +01:00
Dimitri Fontaine
a36bcfe5b7
Fix a variable naming bug in byte-compile.
2011-01-30 21:18:00 +01:00
Dimitri Fontaine
65d66ce11a
Restore the :compile property overloading in `el-get-sources', broken recently.
2011-01-30 18:20:39 +01:00
Dimitri Fontaine
c8384858a7
Fix a bug waiting to happen, default-directory *really* should end with a slash.
2011-01-30 13:15:38 +01:00
Dimitri Fontaine
6812fae8aa
Fix issue #132 (max-specpdl-size), caused by infinite recursing in `el-get-install-or-init-info'
2011-01-30 11:38:00 +01:00
Dave Abrahams
4156c876e7
Ensure that the package archive exists for elpa installs; ensure that it's updated for elpa updates.
...
Possible later improvement: expire the archive if it hasn't been updated recently
2011-01-29 23:39:50 +01:00
Dimitri Fontaine
8acfb4864c
Fix issue #118 : bug when removing elpa packages.
...
The function el-get-rmdir missed the knowledge of the special case ELPA,
where the pdir is in fact a symlink. No time tonight to check in details
how this is setup for apt-get, fink and pacman handlers.
2011-01-29 23:31:16 +01:00
Dimitri Fontaine
c73e45241d
Correct/clarify comments, per issue #108 on github.
...
Conflicts:
el-get.el
2011-01-29 23:16:39 +01:00
Dimitri Fontaine
cf6f183181
Changelog update wrt recent byte-compiling changes.
2011-01-29 23:10:47 +01:00
Dimitri Fontaine
1cbef95030
Fix issue #117 by having an external Emacs process byte-compile packages.
...
Of course el-get-default-process-sync and el-get arguments will determine
how blocking the operation really is.
2011-01-29 23:02:54 +01:00
Dimitri Fontaine
ab13fe49f2
Reorganise el-get-byte-compile to prepare for using an external Emacs -Q process.
2011-01-29 22:23:12 +01:00
Dimitri Fontaine
63d30c04c7
Issue #66 is right on spot: just ignore byte-compile errors (but still log them).
2011-01-29 21:44:57 +01:00
Dimitri Fontaine
9315c33f1d
Preparing for issue #117 , byte-compile package at build time rather than at init time
2011-01-29 21:37:59 +01:00
Dimitri Fontaine
cd19dcbfa8
Per issue #128 , let buffer-file-coding-system 'no-conversion when writing http received content.
2011-01-29 21:14:45 +01:00
Dimitri Fontaine
0d9fa7caa2
Fix a bug in el-get-build when in sync mode: call the lambda with package as a parameter.
2011-01-28 23:43:08 +01:00
Dimitri Fontaine
b4a929319a
Have el-get-build follow el-get-default-process-sync.
...
This is currently the only way for windows build to run, because of bugs in
the way the command line is parsed and the executable derived... from a
debug session late on IRC.
2011-01-28 23:12:32 +01:00
Dimitri Fontaine
5cd9a10dc9
Yet another typo.
2011-01-10 22:44:56 +01:00
Dimitri Fontaine
0a0be3fa33
Add M-x el-get-make-recipes to the changelog
2011-01-10 22:39:17 +01:00
Dimitri Fontaine
f360d60ec4
Implement `el-get-make-recipes' to help sharing.
2011-01-10 22:36:55 +01:00
Dimitri Fontaine
fac845b1a4
Add documentation for el-get-update-all, with a 'not for the faint of hearts' style notice.
2011-01-07 13:30:47 +01:00
Alex Ott
54ca6ec27a
re-add el-get-update-all function
...
now without whitespace changes
2011-01-07 13:09:06 +01:00
Alex Ott
b3ecc7f680
Reverting "first, naive version of el-get-update-all function"
...
Revert "first, naive version of el-get-update-all function"
This reverts commit b6b9b3d1e0
.
2011-01-07 13:08:14 +01:00
Alex Ott
b6b9b3d1e0
first, naive version of el-get-update-all function
...
more complicated version will follow...
2011-01-07 10:56:31 +01:00
Dave Abrahams
e65f41db35
Fix for the problem discussed in 7ce8ea090c (commitcomment-233637)
2011-01-06 16:58:27 +01:00
Dimitri Fontaine
497bf958a4
Stop el-get-init to build the Info related dir entries each time.
2011-01-06 16:53:00 +01:00
Dimitri Fontaine
9bbe665ad4
Typo fix
2011-01-06 14:23:22 +01:00
Dimitri Fontaine
7e8370940b
Formating nit-picking :)
2011-01-06 12:11:08 +01:00
Sébastien Gross
a17a5a1264
Fix el-get-remove-autoloads for emacs 24.
...
`autoload-find-destination' has changed in emacs 24 and requires 2
parameters now.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2011-01-06 19:09:50 +08:00
Dave Abrahams
1deae7b0fb
Reinstate the passing of noerror through to el-get-init
2011-01-06 09:52:43 +01:00
Steve Purcell
e1db5d8b40
Make autoload generation respect 'el-get-byte-compile setting
...
Signed-off-by: Steve Purcell <steve@sanityinc.com>
2011-01-05 16:28:18 +01:00
Dimitri Fontaine
6ae499f97a
Fix el-get-add-path-to-list now that pdir is known to be absolute.
2011-01-05 16:24:10 +01:00
Dimitri Fontaine
ffd5d33b6d
Update current version string and edit the changelog.
2011-01-04 22:10:35 +01:00
Dave Abrahams
9f263356e0
Simplify interface to el-get-byte-compile-file
2011-01-04 21:55:33 +01:00
Dimitri Fontaine
8628dc8c9f
Whitespace cleanup
2011-01-04 21:54:02 +01:00
Dave Abrahams
f94a3b9308
Eliminate duplicate invocations of file-name-as-directory
2011-01-04 21:53:18 +01:00
Dimitri Fontaine
00fb7be7e2
Now that el-get-package-directory returns a directory name, we can
...
dispense with several redundant file-name-directory calls.
Conflicts:
el-get.el
2011-01-04 21:51:57 +01:00
Dimitri Fontaine
7daefe3972
Make better use of expand-file-name.
2011-01-04 21:49:49 +01:00
Dimitri Fontaine
59490c6523
Really ensure that el-get-package-directory returns an absolute directory name.
2011-01-04 21:47:29 +01:00
Dimitri Fontaine
1311bc7e39
Fix the byte-compiling of packages now that el-get-load-path returns absolute filenames.
2011-01-04 21:38:28 +01:00
Dimitri Fontaine
3c785447f8
Whitespace cleaning.
2011-01-04 21:33:14 +01:00
Dave Abrahams
309032dcf2
For smoother user experience, use run-with-idle-timer for autoload updates.
2011-01-04 21:32:44 +01:00
Dimitri Fontaine
58403c8dc9
Whitespace cleaning, some more protection, Info handling fix.
2011-01-04 21:31:13 +01:00
Dave Abrahams
7ce8ea090c
Proper shell-quoting for commands and their arguments; auto-flatten complex recipes
2011-01-04 21:15:05 +01:00
Dimitri Fontaine
41d4bfca2b
Fix autoload support cherry-picking by adding-in some forgotten support functions.
2011-01-02 18:22:51 +01:00
Dave Abrahams
016f3c1f56
Add autoload support
2011-01-02 18:10:42 +01:00
Dimitri Fontaine
f095d4c86e
Whitespace cleaning
2011-01-02 17:37:49 +01:00
Dave Abrahams
43a12a5dc7
Make http retrieval synchronous when it needs to be
2011-01-02 17:36:34 +01:00
Dave Abrahams
2f53408bf9
Attempt to get sync: 'wait to actually wait
2011-01-02 17:36:20 +01:00
David Abrahams
4ba0fcf687
Optionally suppress the check for membership in el-get-sources and use that in el-get-install to avoid shadowing that variable when it is defined.
2011-01-02 17:09:16 +01:00
Kanak Kshetri
704151c89a
Fixed minor typos in documentation.
2010-12-22 21:47:32 +08:00
Dimitri Fontaine
0cf74cb21a
Release 1.1
2010-12-20 15:37:13 +01:00
Damien Cassou
8b4fba8708
Reports a clean error when darcs is needed but can not be found
2010-12-08 18:53:40 +08:00
Dimitri Fontaine
68a6f76922
Add some chatter about :load-path behaviour.
2010-12-04 22:28:29 +01:00
Dimitri Fontaine
9ab21a1da1
Add support for notify addon found in emacswiki
2010-12-01 14:17:18 +01:00
Dimitri Fontaine
6333dc49a6
Small typo fixes for :before
2010-12-01 14:02:38 +01:00
Sébastien Gross
2c26a087f8
implement :before user defined function to run before init.
...
A :before function in el-get-sources items could be defined to pre-init any
package.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2010-12-01 21:00:26 +08:00
Dimitri Fontaine
e3f22a068c
Fix stupid bug introduced when playing with :info files
2010-11-30 18:00:02 +01:00
Dimitri Fontaine
6524c9b17b
Add a defvar `el-get-emacs' to help authoring build commands in recipes.
2010-11-29 18:14:09 +01:00
Dimitri Fontaine
2e8201684b
Implement support for the "Do you want to continue" apt-get prompt
2010-11-29 18:02:25 +01:00
Dimitri Fontaine
d2e867d9fc
M-x el-get-install will now remove previously failed installations (required)
2010-11-29 17:41:21 +01:00
Dimitri Fontaine
74c04e109c
Fix error messages for missing or incomplete recipes.
2010-11-29 14:03:37 +01:00
Dimitri Fontaine
58a718de76
Fix code to match what docs said about providing "foo.info" files, and update sicp recipe to test
2010-11-29 13:42:43 +01:00
Dimitri Fontaine
119bacf972
Add a shorter version of the scratch-installer in the docs, and assorted fixes.
2010-11-28 18:15:42 +01:00
Dimitri Fontaine
a6ebbe7d95
Allow build commands to be evaluated, so that we don't have hardcode invocation-directory etc in them.
2010-11-28 16:37:18 +01:00
Dimitri Fontaine
6bf4d0d15d
Implement hooks to get run after el-get-init, `el-get-post-init-hooks'
2010-11-26 22:07:02 +01:00
Dimitri Fontaine
85793d771d
Add :localname property to better handle some URL with extraneous information.
2010-11-26 16:32:23 +01:00
Sébastien Gross
81d95e7f12
Add :destination option for both http and ftp supports.
...
This option is useful if the package sould be retrived using a presentation
insterface (such as as web SCM tool). The file name could be specified in
the :destination part of the package configuration.
For example, destination should be set to \"package.el\" if the package url
has the following scheme:
"http://www.example.com/show-as-text?file=path/package.el "
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2010-11-26 23:24:23 +08:00
Dimitri Fontaine
a3ec2c807f
In `el-get-git-executable', protect against git-executable being nil.
2010-11-15 10:52:41 +01:00
Dimitri Fontaine
31ae1e7570
Update changelog and keywords for mercurial support, add the usual comments too.
2010-11-14 20:40:53 +01:00
Sergei Lebedev
6e4a869658
Implemented hg support
2010-11-14 21:28:40 +03:00
Dimitri Fontaine
409158638d
Minor copy-editing of the synchronous el-get patch.
2010-11-12 22:22:19 +01:00
Alexey Voinov
8beea36471
Implement support for synchronous commands.
...
(el-get 'sync) will now install packages one after the other and any failure
will abort all the installation process. (el-get 'wait) allows to get the
previous behavior where control is not given back until all packages have
been installed (or failed to), but the install commands are run in parallel.
A new global variable `el-get-default-process-sync' allows to control the
behavior, and the `el-get-start-process-list' function now has a :sync
property.
Thanks for Alexey Voinov who implemented the feature.
2010-11-12 22:04:42 +01:00
Dimitri Fontaine
4a3dd0b3b8
Have FTP an "alias" for HTTP, as url-retrieve will handle both.
2010-11-08 14:04:02 +01:00
Dimitri Fontaine
3833c99674
Revert "Serialize runs of pacman"
...
If you want serialised actions, use (el-get 'sync).
This reverts commit 9ba344de1e
.
Conflicts:
el-get.el
2010-11-08 13:46:57 +01:00
Dimitri Fontaine
27628fabc1
pacman feature review
2010-11-08 13:45:04 +01:00
Alexey Voinov
84ccb34677
Add infodir-files to Info-directory-list on every start
...
And not just when installing/creating.
2010-11-06 10:36:07 +03:00
Alexey Voinov
915d89caf7
Fixed typo in el-get-pacman-remove
2010-11-03 16:50:13 +03:00
Alexey Voinov
9ba344de1e
Serialize runs of pacman
...
Pacman won't wait for a lock on its database. It just bails out with
non-zero exit code and error message.
2010-11-01 01:09:22 +03:00
Alexey Voinov
882aea64d7
Don't compile packages, installed with apt-get or pacman
...
They're usually come pre-compiled. We don't need to compile it unless
explicitly asked to.
2010-10-29 00:28:48 +04:00
Alexey Voinov
dfcbfc1e03
pacman is pretty the same as apt-get in sense of load-path and info-path
2010-10-29 00:27:09 +04:00
Alexey Voinov
40b2e8e717
Tell pacman not to install package if already installed
2010-10-28 23:20:31 +04:00
Alexey Voinov
239460be2f
:pkgname option
...
It's quite useful, that distribution decorate package name with
various prefixes. For example, in ArchLinux apel is contained in
package called emacs-apel and color-theme contained in
emacs-color-theme. It's also true for ALT Linux, where apt-get is
used. It's good to have a way to install those packages using el-get
2010-10-18 21:35:04 +04:00
Alexey Voinov
4b62732aad
pacman support
...
Mostly copied from apt-get support functions.
2010-10-18 08:02:03 +04:00
Dimitri Fontaine
b10a0ba1cc
Review and polish the new support for svn and darcs, and use it in some recipes.
...
We define el-get-svn and el-get-darcs for platforms where occasional users
won't want to adapt their PATH and still need to use odd placed binaries,
like for example "~/.cabal/bin/darcs". Using an older darcs version (1.0.9)
or newer (2.x) repositories will result in HTTP 404 error, but I guess
that's not for `el-get' to try and solve that.
2010-10-09 21:19:57 +02:00
Steve Purcell
ce7690810d
Add support for svn package sources
2010-10-10 02:21:53 +08:00
Steve Purcell
1576587cdc
Add support for darcs package sources
2010-10-10 02:21:52 +08:00
Dimitri Fontaine
db817ed55c
Fix a long-term infelicity regarding where the http install method stores the url content, and provide an ido-hacks recipe which needed that fix.
2010-10-09 15:10:22 +02:00
Dimitri Fontaine
071ef5bc87
Fix bad merging from me, update version number, changelog and comments.
2010-10-09 14:41:02 +02:00
Steve Purcell
96770947c5
Provide 'el-get-byte-compile customization option, allowing users to prevent byte-code compilation
...
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-10-09 14:24:37 +02:00
Dimitri Fontaine
c5d2f813b6
Register when user said :compile nil (that's not the same as not using :compile), and stop trying to byte compile at all in such case.
2010-10-08 17:39:08 +02:00
Dimitri Fontaine
f90bdca2d9
Bugfix previous fix, we need to force to take the relative-file-name from el-get-dir...
2010-10-08 13:17:27 +02:00
Dimitri Fontaine
be5574cee6
In Emacs24, package.el (package-user-dir) changed and needs expansion. Cope with that, and also switch to relocatable relative file names, per gripe from Seb.
2010-10-08 12:37:50 +02:00
Dimitri Fontaine
0ca1daaeef
Implement M-x el-get-version just before the 1.0 release, sounds like a good time...
2010-10-07 14:27:28 +02:00
Dimitri Fontaine
3177e3df05
Prepare for release 1.0, with some whitespace cleaning.
2010-10-07 12:18:04 +02:00
Dimitri Fontaine
5465ae4506
Desultory whitespace cleaning
2010-09-27 21:28:41 +02:00
Julien Danjou
1555899ddb
Fix notifications
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-27 21:19:11 +02:00
Julien Danjou
a47962c154
Fix el-get-post-update-hooks calls
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-27 21:19:06 +02:00
Dimitri Fontaine
69ce69c56a
Bugfix the previous patch --- require 'notifications wasn't done at the right time any more.
2010-09-24 17:34:02 +02:00
Dimitri Fontaine
2576cccd94
Implement support for growl when system-type is darwin.
...
Using (require 'notifications nil t) raises an error on darwin, and it
seemed better to implement growl support rather than not supporting
notifications at all, seeing that it's so little code.
2010-09-24 16:56:01 +02:00
Dimitri Fontaine
f1533fbccc
Move the notifications support up in the interactive UI part.
2010-09-22 11:30:07 +02:00
Julien Danjou
e51d0ccca9
Add desktop notification when available
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-22 11:08:09 +02:00
Julien Danjou
b663d09a2c
Fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-22 11:07:59 +02:00
Dimitri Fontaine
53644f335d
Document previous patch (install and update catch-all hooks).
2010-09-22 10:38:52 +02:00
Julien Danjou
2732b873e4
Add el-get-post-install-hooks and el-get-post-update-hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-22 10:30:11 +02:00
Dimitri Fontaine
7c9b0e52dc
Attempt at fixing an infinite loop problem with (el-get 'sync), in case when there's some package install failure.
2010-09-19 21:49:00 +02:00
Dimitri Fontaine
8e74c3b2cd
Implement support for git submodules with git submodule update --init --recursive
2010-09-19 21:28:07 +02:00
Dimitri Fontaine
0aa4f3f355
Support for files, directories and regexpes in :compile.
2010-09-19 21:26:29 +02:00
Dimitri Fontaine
c4f760ae9f
Avoid byte-compiling packages when their source has a :build command.
2010-09-17 13:58:49 +02:00
Julien Danjou
74bbdea1cb
Fix bad typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-17 13:49:35 +02:00
Dimitri Fontaine
09bd0afc99
little clean-up of previous compile-when-newer patch
2010-09-16 20:15:00 +02:00
Dimitri Fontaine
a0108a6019
require bytecomp for byte-compile-warnings
2010-09-16 20:14:09 +02:00
Dimitri Fontaine
583a0864f1
Only byte-compile :compile files when necessary (.elc file does not exists, or .el file is newer)
2010-09-16 18:26:00 +02:00
Dimitri Fontaine
6a9cc1982b
The byte-recompile-directory call should better start at the right location.
2010-09-15 18:07:54 +02:00
Dimitri Fontaine
2c00c78c5b
Only compile the :compile listed files, if such a property is provided.
2010-09-15 17:34:37 +02:00
Julien Danjou
4a7415f387
Byte compile files
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-15 16:57:17 +02:00
Dimitri Fontaine
a29e7fbcae
Prefer (read (current-buffer)) over (read-from-string (buffer-string)).
2010-09-14 21:17:33 +02:00
Dimitri Fontaine
9208bc8b4a
Add support for `system-type' specific build commands with the :build/system-type property.
2010-09-09 21:54:18 +02:00
Dimitry Gashinsky
c6897ee190
* fix message expects string error (wrong-type-argument stringp 0)
...
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-09 17:29:41 +02:00
Dimitri Fontaine
94ab81ba66
Have `el-get-update' init the package too.
2010-09-07 12:18:06 +02:00
Dimitri Fontaine
4c9b409b4a
Fix `el-get-start-process-list' so that it calls the final-func even when the commands list is empty.
2010-09-07 12:17:38 +02:00
Dimitri Fontaine
bd6cac5bf2
Fix HTTP and derived methods to kill the ".part" buffer used for downloading the content.
2010-09-07 11:56:47 +02:00
Dimitri Fontaine
2c1e4f0e9e
Fix `el-get-update' for HTTP and derived methods (delete existing destination file when it already exists).
2010-09-07 11:51:09 +02:00
Dimitri Fontaine
d5588fd9ef
In el-get', protect
el-get-init' calls by a catch-all condition-case so that we can deal with partial init failure. The other call-site is el-get-post-install, and that typically runs in a sentinel, so an error here won't fail other async calls in progress. I think.
2010-09-06 16:55:27 +02:00
Dimitri Fontaine
f164ea7592
Fix the command name to program parsing routine, and make it so it won't return nil for "./configure".
2010-09-06 14:02:09 +02:00
Dimitri Fontaine
9a2e650776
Stop pretending we're running commands in a PTY, so that they stop trying to be smart with progress indication.
2010-09-06 10:28:56 +02:00
Dimitri Fontaine
f562e08348
Fix el-get-init feature loading, as intern-soft will return nil when the symbol ain't already interned.
2010-09-05 23:35:00 +02:00
Dimitri Fontaine
9e9d9c47cc
Allow `el-get-update' to fix package status (from a previously failed install).
2010-09-05 23:26:37 +02:00
Dimitri Fontaine
2922803345
Implement CVS login support and add emacs-w3m recipe (that uses it).
2010-09-05 23:23:15 +02:00
Dimitri Fontaine
3035431665
Fix HTTP saving when require-final-newline is t.
2010-09-04 21:22:25 +02:00
Dimitri Fontaine
851abceb77
Fix C-u M-x el-get-install for http based methods, as url-retrieve will not use el-get-start-process.
...
ELPA shouldn't need a fix as it's not async, but I'll confess I've not tested here.
2010-09-04 21:21:44 +02:00
Dimitri Fontaine
50584db72d
Don't try and guess when there's an abvious way to just know: have `el-get-sources' part of the process-list parameters and restore it in the sentinel.
2010-09-04 20:08:46 +02:00
Dimitri Fontaine
f2fed3c427
Allow el-get-install' and
el-get-remove' to consider packages that you have a recipe for even when it's not (yet) into your `el-get-sources'. To use this feature, use C-u M-x el-get-install and C-u M-x el-get-remove.
2010-09-04 00:42:12 +02:00
Dimitri Fontaine
db85f13ce1
Fix another dolist to run hooks, forgotten in previous cleanup.
2010-09-03 21:38:53 +02:00
Dimitri Fontaine
36d28cf0c7
Attempt at fixing the "catch-22" problem with ELPA removing packages (can't install, can't remove).
2010-09-03 15:02:49 +02:00
Julien Danjou
44ba6886ac
require cl at run-time
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:08:23 +02:00
Julien Danjou
5ffad2ceba
Do not use beginning-of-buffer, it's for interactive only
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:07:57 +02:00
Julien Danjou
944ad3d9f8
Fix variable name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:07:34 +02:00
Julien Danjou
cfed7bc4c7
Fix el-get-rmdir number of args call
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:07:08 +02:00
Julien Danjou
067af5e324
Define variable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:04:23 +02:00
Julien Danjou
3e7bdf58a2
Fix hook proto
...
Giving package as first argument is better and fix compilation warnings
like:
el-get.el:587:45:Warning: reference to free variable `package'
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-02 22:01:46 +02:00
Julien Danjou
c77e7ec2ce
Fix format in error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-02 21:40:50 +02:00
Julien Danjou
38a994cd2e
Fix package initialization on install
...
In sync mode, we need to init the package before marking it as installed if
it has build commands.
If it has no build commands, we still need to init it before marking it as
installed.
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
2010-09-02 21:11:48 +02:00
Dimitri Fontaine
0f13638c6c
Fix small typo in error message about duplicates in `el-get-sources'
2010-09-02 20:30:20 +02:00
Dimitri Fontaine
b6e8f7fd5d
Implement (el-get 'sync) for use in your init file.
...
Thanks to Julien Danjou for initial idea, design and patch, even if I ended
up reworking enough of it to skip a merge.
2010-09-02 17:15:47 +02:00
Dimitri Fontaine
46f5da8c2c
Implement package status, to handle M-x el-get-install over a previously failed install better.
2010-09-01 23:39:39 +02:00
Dimitri Fontaine
f3853da4aa
Some more whitespace related cleaning.
2010-09-01 22:20:58 +02:00
Dimitri Fontaine
17fe5e92e4
Add support for :type emacswiki sources, so that users won't have to enter the full URL themselves.
2010-09-01 21:48:50 +02:00
Dimitri Fontaine
c53fcd1bb1
Some more whitespaces issues.
2010-09-01 21:46:54 +02:00
Dimitri Fontaine
bd5f6adba3
Cleanup trailing whitespace
2010-09-01 21:30:27 +02:00
Dimitri Fontaine
e38775d949
Fix typo from previous patch on el-get-install
2010-09-01 21:12:29 +02:00
Julien Danjou
3ff0e796e2
Fix docstrings and interactive usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-09-01 20:25:58 +02:00
Dimitri Fontaine
553bf755b1
Don't run `ginstall-info' when the "dir" file already exists.
2010-09-01 20:16:01 +02:00
Dimitri Fontaine
d8acb9f77d
Cope with stringp features by calling intern-soft on them.
2010-09-01 20:13:45 +02:00
Dimitri Fontaine
9b791382a8
Fix `el-get-sources' comments to mention :property instead of property.
2010-09-01 20:06:49 +02:00
Dimitri Fontaine
36473b58ff
Rework headers now that we have a README. Double maintenance ain't good for anybody.
2010-09-01 17:52:53 +02:00
Dimitri Fontaine
da43e4dfd8
Fix el-get-sources' definition now that we have
el-get-recipe-path'.
2010-09-01 17:44:31 +02:00
Dimitri Fontaine
296906fe46
el-get-recipe-path was short of an "el-get/" subdir.
2010-09-01 17:39:38 +02:00
Dimitri Fontaine
4c7e598673
Assorted minor fixes and new recipe for switch-window (now on github too).
2010-08-31 22:17:52 +02:00
Dimitri Fontaine
b7a3d0ebc1
Fix el-get main entry (I don't restart Emacs often enough) to cope with symbols in `el-get-sources'.
2010-08-31 20:46:12 +02:00
Dimitri Fontaine
13a07e6c68
Fix el-get url retrieval and temp file handling.
2010-08-31 13:57:07 +02:00
Dimitri Fontaine
cea1bb38e7
Add support for symbol-only sources in completion (interactive commands).
2010-08-31 11:14:14 +02:00
Dimitri Fontaine
a4107ac1eb
Replace el-get-recipe-dir' with
el-get-recipe-path', makes it easier to handle personal or temporary recipes.
2010-08-30 23:34:00 +02:00
Dimitri Fontaine
8ac065b2eb
Implement el-get recipes, so that we can share our recipes and make `el-get-sources' even simpler.
2010-08-30 22:59:05 +02:00
Dimitri Fontaine
7a56f599ed
Give some more information in case when package dir can't be found.
2010-08-26 23:32:00 +02:00
Dimitri Fontaine
a7b3b8fcc6
Fix el-get-package-def bug where `source' variable is not properly declared.
2010-08-26 22:59:01 +02:00
Dimitri Fontaine
b3fa7618bf
Fix el-get sudo password filter for cases when there's more than one password prompt in a single buffer update batch.
2010-08-25 11:13:55 +02:00
Dimitri Fontaine
76f5efe81e
Fix el-get-build to use a shell subprocess.
2010-08-24 17:37:06 +02:00
Dimitri Fontaine
f9441f9c09
Fix el-get headers (for ELPA compat, but not tested yet)
2010-08-24 17:30:32 +02:00
Dimitri Fontaine
22838d15cf
Rework el-get-build so that it's async too, but still sync if so you want.
...
That's because it's not worth it for calling ginstall-info, that would be
too much code reorganisation.
2010-08-23 16:55:36 +02:00
Dimitri Fontaine
ac18c7e7d9
Fix el-get-start-process-list-sentinel not to call a function that's not functionp.
2010-08-23 16:54:12 +02:00
Dimitri Fontaine
b6d580fcd6
Fix el-get-start-process-list to avoid doing anything for an empty commands list.
2010-08-23 16:53:31 +02:00