[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add keyword search and display in details for list-packages
From: |
Stefan Monnier |
Subject: |
Re: add keyword search and display in details for list-packages |
Date: |
Mon, 25 Nov 2013 22:27:34 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> diff --git a/admin/archive-contents.el b/admin/archive-contents.el
> index 7ee9c1c..8fee66b 100644
> --- a/admin/archive-contents.el
> +++ b/admin/archive-contents.el
> @@ -187,13 +187,18 @@ Otherwise, return nil."
> (requires-str (lm-header "package-requires"))
> (pt (lm-header "package-type"))
> (simple (if pt (equal pt "simple") (= (length files) 1)))
> + (keywords (split-string (or (lm-header "keywords") "")
> + "," t "[ ]+"))
> (url (or (lm-header "url")
> (format "http://elpa.gnu.org/packages/%s.html"
> pkg)))
> (req
> (if requires-str
> (mapcar 'archive--convert-require
> (car (read-from-string requires-str))))))
> - (list simple version description req (list (cons :url url)))))))
> + (list simple version description req
> + ;; extra parameters
> + (list (cons :url url)
> + (cons :keywords keywords)))))))
> ((not (file-exists-p pkg-file))
> (error "Can find single file nor package desc file in %s" dir)))))
Looks good, please commit it, and I'll install it into elpa.gnu.org.
Stefan
- Re: add keyword search and display in details for list-packages, (continued)
- Re: add keyword search and display in details for list-packages, Stefan Monnier, 2013/11/22
- Re: add keyword search and display in details for list-packages, Ted Zlatanov, 2013/11/25
- Re: add keyword search and display in details for list-packages, Stefan Monnier, 2013/11/25
- Re: add keyword search and display in details for list-packages, Ted Zlatanov, 2013/11/25
- Re: add keyword search and display in details for list-packages, Stefan Monnier, 2013/11/25
- Re: add keyword search and display in details for list-packages, Ted Zlatanov, 2013/11/26
- Re: add keyword search and display in details for list-packages, Stefan Monnier, 2013/11/26
- Re: add keyword search and display in details for list-packages, Ted Zlatanov, 2013/11/26
- Re: add keyword search and display in details for list-packages, Dmitry Gutov, 2013/11/26
- Re: add keyword search and display in details for list-packages, Stefan Monnier, 2013/11/26
- Re: add keyword search and display in details for list-packages,
Stefan Monnier <=
- Re: add keyword search and display in details for list-packages, Juri Linkov, 2013/11/27
- Re: Add the archive name column in the list-packages table, Jambunathan K, 2013/11/21
- Re: Add the archive name column in the list-packages table, Ted Zlatanov, 2013/11/21
- Re: Add the archive name column in the list-packages table, Jambunathan K, 2013/11/21
- Re: Add the archive name column in the list-packages table, Ted Zlatanov, 2013/11/21
- Re: Add the archive name column in the list-packages table, Jambunathan K, 2013/11/21
- Re: Add the archive name column in the list-packages table, Ted Zlatanov, 2013/11/21
- RE: Add the archive name column in the list-packages table, Drew Adams, 2013/11/21
- Re: Add the archive name column in the list-packages table, Stefan Monnier, 2013/11/21