Dimitri Fontaine
628c06cf8c
Fix el-get-read-cached-recipe when target package is found in the status file.
2013-05-10 20:56:07 +02:00
Dimitri Fontaine
be39fa8a63
Fix cached lookup for new dependencies that are :builtin... just install them!
2013-05-07 15:44:27 +02:00
Victor Deryagin
0a202ea35d
changed mentions of 'README.asciidoc' to 'README.md' in source files
2013-04-01 15:46:34 +03:00
Dimitri Fontaine
f2a3b5bc2d
Merge pull request #907 from renard/do-not-save-removed-packages
...
Do not save removed package to el-get-status-file.
2012-12-14 13:21:57 -08:00
Rafael Laboissiere
0269893d61
Fix spelling of word "package"
2012-11-02 15:32:19 +01:00
Ryan C. Thompson
60a6870b7e
Remove skip-non-updatable argument from el-get-merge-properties-into-status
...
This option no longer makes sense given how things work now.
2012-10-07 02:28:15 -07:00
Ryan C. Thompson
54466581ee
Merge remote-tracking branch 'refs/remotes/tkf/fix-835'
2012-10-06 18:46:46 -07:00
Sébastien Gross
0e1d2d2444
Do not save removed package to el-get-status-file.
...
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-10-03 23:22:10 +02:00
Takafumi Arakaki
848c90a518
Clear status cache before init/install/update, etc.
...
The cache is cleared before running these functions *interactively*:
* el-get-init
* el-get-install
* el-get-reload
* el-get-update
* el-get-remove
2012-09-03 18:03:07 +02:00
Takafumi Arakaki
93a769334e
Remove an unneeded auxiliary function
2012-09-01 15:20:47 +02:00
Takafumi Arakaki
f4447fc3f1
Fix the merge function (test passes now)
2012-09-01 15:18:45 +02:00
Takafumi Arakaki
aa0aae272b
Fix #835 : el-get-update treat prop removal now
...
Use the new source or abort if non-whitelisted properties are changed.
fixes #835
2012-08-31 23:45:27 +02:00
Dimitri Fontaine
2198da6543
Merge pull request #836 from tkf/more-whitelist
...
Add more properties to el-get-status-recipe-update-whitelist
2012-08-15 14:40:15 -07:00
Takafumi Arakaki
e3b1c10756
Make docstring for the whitelist clearer
2012-08-15 17:03:06 +02:00
Takafumi Arakaki
56cb9fb5c5
Add more properties to whitelist
2012-08-15 17:02:09 +02:00
Takafumi Arakaki
ed5ac2eebf
Cache el-get-status-cache
2012-08-12 15:05:04 +02:00
Takafumi Arakaki
fd0562cdfc
Check if update is needed when merging status
2012-08-12 15:05:01 +02:00
Takafumi Arakaki
eb3cb92785
Fix el-get-package-name/symbol
2012-08-12 13:42:20 +02:00
Dimitri Fontaine
f3767251d8
Downgrade "installed" package to "required" when the directory is missing, fix #766 .
2012-07-23 23:16:14 +02:00
Dimitri Fontaine
cf818d78fd
Fix #785 by saving the old status format file before converting it.
2012-07-23 22:56:14 +02:00
Ryan C. Thompson
7256607fc2
Prevent errors when migrating status file
...
Previously, if a package is listed as installed but it doesn't have a
recipe available, then status file migration would fail with an error
because it requires a recipe to save into the new status format. Now,
when this occurs, it just saves a "dummy" recipe that does nothing
instead. This does not result in any loss of functionality, since
without an available recipe the package in question is unusable
anyway.
2012-06-19 16:22:51 -07:00
Ryan C. Thompson
967e58498d
Fix missing paren in el-get-status.el
...
Fixes #764 .
2012-06-03 07:53:44 -07:00
Ryan C. Thompson
9a048af390
Tweak whitespace in error message
2012-05-06 01:51:18 -07:00
Ryan C. Thompson
66ac07520f
Small but tricky fixes
2012-05-06 01:51:18 -07:00
Ryan C. Thompson
d4892a1e64
Refactoring
2012-05-06 01:48:05 -07:00
Ryan C. Thompson
590ebf784b
Also allow recipe updates from recipe files
...
As suggested in
https://github.com/dimitri/el-get/issues/659#issuecomment-4433757
2012-05-06 01:48:05 -07:00
Ryan C. Thompson
8aea873464
Code fixes in el-get-status.el
2012-05-06 01:48:04 -07:00
Ryan C. Thompson
f31b503ed1
Add optional package-status-alist arg
...
This lets el-get-merge-updatable-properties work either on the status
file directly or on a given alist, which it modifies in place.
2012-05-06 01:48:04 -07:00
Ryan C. Thompson
35d8dbc014
Add interactive form to "el-get-merge-updatable-properties"
2012-05-06 01:48:04 -07:00
Ryan C. Thompson
426c6d2625
Added "el-get-merge-updatable-properties" with test
...
This is the first step on the way to fixing #659 .
2012-05-06 01:48:04 -07:00
Ryan C. Thompson
cb787b2a7a
Always print with "print-level" and "print-length" nil
...
This prevents Emacs from inserting "..." in place of very deep or long
data structures, which could corrupt the status file in some cases.
This is done by defining a wrapper function "el-get-print-to-string",
which el-get should use for all "critical" stringification tasks.
As noted in #689 .
2012-03-29 14:52:43 -07:00
Ryan C. Thompson
110e4030bb
Remove custom pretty-printing.
...
It was nice when it worked, but it was too unreliable.
Fixes #689 .
2012-03-29 13:00:09 -07:00
Ryan C. Thompson
321967a915
Fall back to standard pp-to-string when custom pretty-printer fails
...
Addresses #677 .
2012-03-20 11:01:24 -07:00
Ryan C. Thompson
5d5ff1629f
Fix pretty printing of status file
...
It was broken by introducing the possibility of nil recipes for
removed packages.
2012-03-18 16:53:58 -07:00
Ryan C. Thompson
51d8eafc7d
Fix migration code to only store recipes for installed packages
2012-03-18 12:57:35 -07:00
Ryan C. Thompson
27445f9db4
Only save and load status recipes for installed packages
...
If a package's status is anything other than "installed", the recipe
property is always saved as nil in the status file, and the recipe
property is not loaded from the status file at all.
This fixes a bug in migration from the old status format. If a package
was listed as removed and its recipe file was no longer available, the
status migration would fail when el-get tried to read the recipe for
that package so that it could store that recipe in the status file,
even though there was no need to do so.
2012-03-18 11:30:41 -07:00
Ryan C. Thompson
933aaefbfa
Only catch expected errors in "status-alist-to-string"
...
Specifically, we catch only "scan-error" which is thrown by the
movement commands. Now any unexpected error would be propogated as
normal.
2012-03-12 09:17:20 -07:00
Ryan C. Thompson
a0a7680fcc
Make el-get-status require pp explicitly
...
Previously it would rely on having it loaded already (or possibly
relied on autoloaded functions).
2012-03-12 09:08:58 -07:00
Ryan C. Thompson
739ec60f61
Explain why apparently-infinite loops are not infinite
...
Also explain why "forward-sexp is followed immediately by
"backward-sexp".
2012-03-12 08:31:45 -07:00
Ryan C. Thompson
b5ca858021
Better pretty-printing of status file
...
This comes with an assertion that ensures that my custom
pretty-printing doesn't break anything.
Fixes #661 .
2012-03-11 13:58:48 -07:00
Ryan C. Thompson
7bd62253b3
Add macro "el-get-with-status-sources"
...
It is like "progn" but it dynamically binds "el-get-sources" to the
list of recipes stored in the status file while evaluating the BODY.
2012-03-08 13:03:04 -08:00
Ryan C. Thompson
a51d6af43a
Remove remnant of el-get-strip-keyword-colon
2012-03-07 16:15:51 -08:00
Ryan C. Thompson
5766ca34df
Remove vestigal cache variable
2012-03-07 12:54:40 -08:00
Ryan C. Thompson
5cee690295
Remove caching of status file
2012-03-07 10:17:08 -08:00
Ryan C. Thompson
8c49dc92de
Re-add el-get-package-name function
...
Also add its natural counterparts el-get-package-symbol and
el-get-package-keyword, and remove the temporary replacement
el-get-strip-keyword-colon.
2012-03-07 09:48:28 -08:00
Ryan C. Thompson
031ad6fc95
Fix #640
2012-03-06 12:06:04 -08:00
Ryan C. Thompson
0e36fdaf4e
Fix string/symbol confusion
2012-03-06 01:52:31 -08:00
Ryan C. Thompson
f7ba092f7a
Define obsolete alias for removed function
2012-03-06 01:24:02 -08:00
Ryan C. Thompson
2a7b8ff537
Refactor duplicated code in el-get-sattus.el
...
Also pluralize "status" to "statuses" when it is used as an &rest
argument.
2012-03-06 01:11:55 -08:00
Ryan C. Thompson
fb9b762de8
Remove reference to removed function
2012-03-06 01:11:55 -08:00