mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Manage the external elisp bits and pieces upon which you depend!
8876d9ede2
This refactoring is about cleaning up the code and separating it into smaller files (think modules). We begin to change the internal API to always receive PACKAGE as a symbol, and the main change is how we deal with the dependencies. Rather than allow parallel async operations to happen, we solve the dependencies upfront by doing a topological sort of the :depends we recursively read in the recipe files. That allows us to then install only one package at a time and to avoid initializing the same package twice in case of multiple reverse depends in the selection. That in turns allows to simplify the autoload and the main install code a lot and goes a long way to fix the bug from issue #400 where a package is said installed but its autoload are not yet available. The el-get-methods are also splitted each into their own file and the new function `el-get-register-method' allows to easily add some more privately if necessary, and should ease contributing new ones too. This refactoring merge also brings in some test cases. The main reason why we can merge such a big refactoring now is that the master's branch targets el-get contributors or elisp hackers that will handle the breakage. The el-get-install.el installer file is targeting the branch "3.stable" where things still work. This all new setting of the code is intended for release 4.1, not before. Conflicts: el-get.el |
||
---|---|---|
methods | ||
recipes | ||
test | ||
.gitignore | ||
el-get-autoloads.el | ||
el-get-build.el | ||
el-get-byte-compile.el | ||
el-get-core.el | ||
el-get-custom.el | ||
el-get-dependencies.el | ||
el-get-install.el | ||
el-get-list-packages.el | ||
el-get-methods.el | ||
el-get-notify.el | ||
el-get-recipes.el | ||
el-get-status.el | ||
el-get.el | ||
README.asciidoc |