Skip to content

Commit

Permalink
epkg-elpa-core-package: New class
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jan 17, 2019
1 parent deb1ed0 commit 548199d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions epkg.el
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ database."

(defclass epkg-minority-package (epkg-file-package) ())

;; TODO Support multi-file packages.
;; TODO Import actual history.
;; See https://github.com/emacscollective/borg/issues/85.
(defclass epkg-elpa-core-package (epkg-minority-package)
((url-format :initform "https://git.savannah.gnu.org/cgit/emacs.git/plain/%s")
(repopage-format :initform "https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/packages/%n")
(homepage-format :initform "https://elpa.gnu.org/packages/%n.html")))

(defclass epkg-gitish-package (epkg-mirrored-package) () :abstract t)

(defclass epkg-git-package (epkg-gitish-package) ())
Expand Down

0 comments on commit 548199d

Please sign in to comment.