dimitri/el-get — Issue #647: github method has no update or remove method
Author: ironchicken
Created: 2012-03-07 12:12:19+00:00
State: open

I can't (el-get-update "el-get") as I get an error in el-get-update, on the line (funcall update package url 'el-get-post-update) saying (void-function nil). It seems that that UPDATE argument to FUNCALL here must be nil, when I assume it's supposed to be an update method.

This is quite informative:

(let* ((package "el-get")
(source (el-get-package-def package))
(method (el-get-package-method source))
(update (el-get-method method :update))
(url (plist-get source :url))
(commands (plist-get source :build)))
(print source)
(print method)
(print update)
(print url)
(print commands))

(:name el-get :website "https://github.com/dimitri/el-get#readme" :description "Manage the external elisp bits and pieces you depend upon." :type github :url "https://github.com/dimitri/el-get.git" :branch "3.stable" :pkgname "dimitri/el-get" :features el-get :load "el-get.el")

github

nil

"https://github.com/dimitri/el-get.git"

nil
nil

And shows that I've attempted a few alterations to the el-get.rcp.

Currently the el-get-github methods are:

(el-get-register-derived-method :github :git
:install #'el-get-github-clone
:guess-website #'el-get-github-guess-website)

I tried adding

:update #'el-get-git-pull
:remove #'el-get-rmdir

but it didn't make any difference.