Commit da6cd058 authored by Ryan C. Thompson's avatar Ryan C. Thompson

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.
parent 0e908c81
......@@ -33,8 +33,7 @@
(url (or url (format el-get-emacsmirror-base-url pkgname))))
(el-get-git-clone package url post-install-fun)))
(el-get-register-method
:emacsmirror #'el-get-emacsmirror-clone #'el-get-git-pull #'el-get-rmdir
#'el-get-git-clone-hook)
(el-get-register-derived-method
:emacsmirror :git #'el-get-emacsmirror-clone)
(provide 'el-get-emacsmirror)
......@@ -36,9 +36,8 @@ filename.el ;;; filename.el --- description"
(let ((url (or url (format "%s%s.el" el-get-emacswiki-base-url package))))
(el-get-http-install package url post-install-fun)))
(el-get-register-method
:emacswiki #'el-get-emacswiki-install #'el-get-emacswiki-install #'el-get-rmdir
#'el-get-http-install-hook nil #'el-get-http-compute-checksum)
(el-get-register-derived-method
:emacswiki :http #'el-get-emacswiki-install #'el-get-emacswiki-install)
;;;
;;; Functions to maintain a local recipe list from EmacsWiki
......
......@@ -68,8 +68,8 @@
:error ,r-ko))
post-update-fun)))
(el-get-register-method
:git-svn
(el-get-register-derived-method
:git-svn :git
#'el-get-git-svn-clone #'el-get-git-svn-update #'el-get-rmdir
#'el-get-git-svn-clone-hook)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment