* GNU ELPA visibility
@ 2012-10-25 19:30 Stefan Monnier
2012-10-25 20:04 ` Jeremiah Dodds
` (2 more replies)
0 siblings, 3 replies; 35+ messages in thread
From: Stefan Monnier @ 2012-10-25 19:30 UTC (permalink / raw)
To: emacs-devel
When looking for an Elisp package or feature, most people reach for
their browser before reaching for M-x list-packages.
But packages distributed via GNU ELPA won't show up because they're not
visible to search engines.
So I think we should setup some GNU ELPA web-site that lists the
packages and where each package gets a web page which would be the
canonical web page for that package (so people can link to it from, say,
emacswiki) describing it (its README or "Commentary:") plus a link to
its repository.
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-25 19:58 Dmitry Gutov
2012-10-25 21:10 ` Stefan Monnier
0 siblings, 1 reply; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-25 19:58 UTC (permalink / raw)
To: monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> When looking for an Elisp package or feature, most people reach for
> their browser before reaching for M-x list-packages.
> But packages distributed via GNU ELPA won't show up because they're not
> visible to search engines.
>
> So I think we should setup some GNU ELPA web-site that lists the
> packages and where each package gets a web page which would be the
> canonical web page for that package (so people can link to it from, say,
> emacswiki) describing it (its README or "Commentary:") plus a link to
> its repository.
Good suggestion, that would definitely help.
But what do you mean by "canonical web page"? I imagine most of the
packages these already have canonical home pages that are known to users
and search engines, and are generally easier to manage.
--Dmitry
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 19:30 Stefan Monnier
@ 2012-10-25 20:04 ` Jeremiah Dodds
2012-10-25 20:18 ` Drew Adams
2012-10-26 7:29 ` Tassilo Horn
2012-10-26 4:22 ` Jambunathan K
2012-11-01 4:33 ` Stefan Monnier
2 siblings, 2 replies; 35+ messages in thread
From: Jeremiah Dodds @ 2012-10-25 20:04 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> When looking for an Elisp package or feature, most people reach for
> their browser before reaching for M-x list-packages.
> But packages distributed via GNU ELPA won't show up because they're not
> visible to search engines.
I think it's very likely that M-x list-packages will get much more
common as time progresses. It's certainly the first thing that I go to
nowadays.
>
> So I think we should setup some GNU ELPA web-site that lists the
> packages and where each package gets a web page which would be the
> canonical web page for that package (so people can link to it from, say,
> emacswiki) describing it (its README or "Commentary:") plus a link to
> its repository.
>
>
> Stefan
I'm not sure how much this would help the problem stated -- certainly
more than none -- but do think it would be a nice thing to have for
packages distributed via GNU ELPA.
Just my 2 cents, as a user.
--
Jeremiah Dodds
blog : http://jdodds.github.com
github : https://github.com/jdodds
freenode : exhortatory
twitter : kaens
^ permalink raw reply [flat|nested] 35+ messages in thread
* RE: GNU ELPA visibility
2012-10-25 20:04 ` Jeremiah Dodds
@ 2012-10-25 20:18 ` Drew Adams
2012-10-26 7:29 ` Tassilo Horn
1 sibling, 0 replies; 35+ messages in thread
From: Drew Adams @ 2012-10-25 20:18 UTC (permalink / raw)
To: 'Jeremiah Dodds', 'Stefan Monnier'; +Cc: emacs-devel
> > When looking for an Elisp package or feature, most people reach for
> > their browser before reaching for M-x list-packages.
> > But packages distributed via GNU ELPA won't show up because
> > they're not visible to search engines.
>
> I think it's very likely that M-x list-packages will get much more
> common as time progresses. It's certainly the first thing that I go to
> nowadays.
I vote for including more by default in `package-archives'.
In particular, include ("melpa" . "http://melpa.milkbox.net/packages/"). That
might not be the blessed, "canonical" archive site, but it is certainly one of
the most used and most useful.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 19:58 GNU ELPA visibility Dmitry Gutov
@ 2012-10-25 21:10 ` Stefan Monnier
0 siblings, 0 replies; 35+ messages in thread
From: Stefan Monnier @ 2012-10-25 21:10 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: emacs-devel
> But what do you mean by "canonical web page"? I imagine most of the
> packages these already have canonical home pages that are known to users
> and search engines, and are generally easier to manage.
Some GNU ELPA packages do, indeed. Many don't or only have an old
out-of-date page.
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-25 21:23 Dmitry Gutov
2012-10-25 21:34 ` Drew Adams
2012-10-25 21:48 ` Jorgen Schaefer
0 siblings, 2 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-25 21:23 UTC (permalink / raw)
To: drew.adams; +Cc: monnier, jeremiah.dodds, emacs-devel
"Drew Adams" <drew.adams@oracle.com> writes:
>> > When looking for an Elisp package or feature, most people reach for
>> > their browser before reaching for M-x list-packages.
>> > But packages distributed via GNU ELPA won't show up because
>> > they're not visible to search engines.
>>
>> I think it's very likely that M-x list-packages will get much more
>> common as time progresses. It's certainly the first thing that I go to
>> nowadays.
>
> I vote for including more by default in `package-archives'.
>
> In particular, include ("melpa" .
"http://melpa.milkbox.net/packages/"). That
> might not be the blessed, "canonical" archive site, but it is
certainly one of
> the most used and most useful.
Maybe after they implement the feature "stable packages from tags"?
It really is the most useful repository, though. And the only one still
actively maintained, among alternative repos.
--Dmitry
^ permalink raw reply [flat|nested] 35+ messages in thread
* RE: GNU ELPA visibility
2012-10-25 21:23 Dmitry Gutov
@ 2012-10-25 21:34 ` Drew Adams
2012-10-25 21:47 ` Dmitry Gutov
2012-10-25 21:48 ` Jorgen Schaefer
1 sibling, 1 reply; 35+ messages in thread
From: Drew Adams @ 2012-10-25 21:34 UTC (permalink / raw)
To: 'Dmitry Gutov'; +Cc: monnier, jeremiah.dodds, emacs-devel
> > I vote for including more by default in `package-archives'.
> >
> > In particular, include ("melpa" .
> > "http://melpa.milkbox.net/packages/"). That might not be
> > the blessed, "canonical" archive site, but it is certainly
> > one of the most used and most useful.
>
> Maybe after they implement the feature "stable packages from tags"?
You'll have to take that up with Milkypostman. I know nothing about it.
> It really is the most useful repository, though. And the only
> one still actively maintained, among alternative repos.
AFAIK, it also has the advantage of being automatically updated from its
upstream sources. That's a great feature.
I imagine that automatic updating is configurable on MELPA (i.e., you can turn
it off (?)), but is that feature even available for GNU Elpa?
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 21:34 ` Drew Adams
@ 2012-10-25 21:47 ` Dmitry Gutov
2012-10-25 21:52 ` Drew Adams
2012-10-26 1:37 ` Stefan Monnier
0 siblings, 2 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-25 21:47 UTC (permalink / raw)
To: Drew Adams; +Cc: monnier, jeremiah.dodds, emacs-devel
On 26.10.2012 1:34, Drew Adams wrote:
>> > I vote for including more by default in `package-archives'.
>> >
>> > In particular, include ("melpa" .
>> > "http://melpa.milkbox.net/packages/"). That might not be
>> > the blessed, "canonical" archive site, but it is certainly
>> > one of the most used and most useful.
>>
>> Maybe after they implement the feature "stable packages from tags"?
>
> You'll have to take that up with Milkypostman. I know nothing about it.
You could have checked the issue tracker:
https://github.com/milkypostman/melpa/issues/7
>> It really is the most useful repository, though. And the only
>> one still actively maintained, among alternative repos.
>
> AFAIK, it also has the advantage of being automatically updated from its
> upstream sources. That's a great feature.
>
> I imagine that automatic updating is configurable on MELPA (i.e., you can turn
You can choose not to upgrade at any given point in time, but the
repository always shows the latest, so to speak, "nightly" versions.
> it off (?)), but is that feature even available for GNU Elpa?
AFAIK, ELPA just builds off a single branch in a single repository.
That's automatic, but for each package where Emacs Bazaar repo is not
the canonical source, the changes need to pushed to it manually.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 21:23 Dmitry Gutov
2012-10-25 21:34 ` Drew Adams
@ 2012-10-25 21:48 ` Jorgen Schaefer
1 sibling, 0 replies; 35+ messages in thread
From: Jorgen Schaefer @ 2012-10-25 21:48 UTC (permalink / raw)
To: emacs-devel
On Fri, 26 Oct 2012 01:23:06 +0400
Dmitry Gutov <dgutov@yandex.ru> wrote:
> "Drew Adams" <drew.adams@oracle.com> writes:
>
> > In particular, include ("melpa" .
> "http://melpa.milkbox.net/packages/"). That
> > might not be the blessed, "canonical" archive site, but it is
> certainly one of
> > the most used and most useful.
>
> Maybe after they implement the feature "stable packages from tags"?
Yes, that's annoying.
> It really is the most useful repository, though. And the only one
> still actively maintained, among alternative repos.
Marmalade is still maintained (currently by nicferrier) and quite
useful, too:
http://marmalade-repo.org/
That's also a great example (content-wise, not design-wise) of a
sensible *ELPA homepage: What is this, how to use it, quick list of
packages, easy way to search/browse packages, and, most importantly, a
guide on how to get your own packages in there.
Regards,
-- Jorgen
^ permalink raw reply [flat|nested] 35+ messages in thread
* RE: GNU ELPA visibility
2012-10-25 21:47 ` Dmitry Gutov
@ 2012-10-25 21:52 ` Drew Adams
2012-10-26 1:37 ` Stefan Monnier
1 sibling, 0 replies; 35+ messages in thread
From: Drew Adams @ 2012-10-25 21:52 UTC (permalink / raw)
To: 'Dmitry Gutov'; +Cc: monnier, jeremiah.dodds, emacs-devel
> > AFAIK, it also has the advantage of being automatically
> > updated from its upstream sources. That's a great feature.
>
> You can choose not to upgrade at any given point in time, but the
> repository always shows the latest, so to speak, "nightly" versions.
>
> > is that feature even available for GNU Elpa?
>
> AFAIK, ELPA just builds off a single branch in a single repository.
> That's automatic, but for each package where Emacs Bazaar repo is not
> the canonical source, the changes need to pushed to it manually.
Too bad.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-25 22:14 Dmitry Gutov
2012-10-25 22:47 ` Jorgen Schaefer
0 siblings, 1 reply; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-25 22:14 UTC (permalink / raw)
To: forcer; +Cc: emacs-devel
Jorgen Schaefer <forcer@forcix.cx> writes:
>> It really is the most useful repository, though. And the only one
>> still actively maintained, among alternative repos.
>
> Marmalade is still maintained (currently by nicferrier) and quite
> useful, too:
>
> http://marmalade-repo.org/
Do you just mean "moderated"? The last commit to the engine was almost a
year ago: http://code.google.com/p/marmalade/source/list
> That's also a great example (content-wise, not design-wise) of a
> sensible *ELPA homepage: What is this, how to use it, quick list of
> packages, easy way to search/browse packages, and, most importantly, a
> guide on how to get your own packages in there.
Agree.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 22:14 Dmitry Gutov
@ 2012-10-25 22:47 ` Jorgen Schaefer
0 siblings, 0 replies; 35+ messages in thread
From: Jorgen Schaefer @ 2012-10-25 22:47 UTC (permalink / raw)
To: emacs-devel
On Fri, 26 Oct 2012 02:14:00 +0400
Dmitry Gutov <dgutov@yandex.ru> wrote:
> Jorgen Schaefer <forcer@forcix.cx> writes:
> >> It really is the most useful repository, though. And the only one
> >> still actively maintained, among alternative repos.
> >
> > Marmalade is still maintained (currently by nicferrier) and quite
> > useful, too:
> >
> > http://marmalade-repo.org/
>
> Do you just mean "moderated"? The last commit to the engine was
> almost a year ago: http://code.google.com/p/marmalade/source/list
Four months, actually: https://github.com/nicferrier/marmalade/ - and
he just confirmed to me that he is actively maintaining it. :-)
He has been working on a rewrite as far as I know, but not sure how
far that is.
But yeah, I'm not sure how much commits to the *engine* of an archive
say about its usefulness. Marmalade has multiple package uploads daily,
and a pretty long list of packages.
Regards,
-- Jorgen
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 21:47 ` Dmitry Gutov
2012-10-25 21:52 ` Drew Adams
@ 2012-10-26 1:37 ` Stefan Monnier
1 sibling, 0 replies; 35+ messages in thread
From: Stefan Monnier @ 2012-10-26 1:37 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: jeremiah.dodds, Drew Adams, emacs-devel
>> it off (?)), but is that feature even available for GNU Elpa?
> AFAIK, ELPA just builds off a single branch in a single repository.
Not quite: The Org package is pulled from Org's repository.
Other packages can be handled similarly.
> That's automatic, but for each package where Emacs Bazaar repo is not
> the canonical source, the changes need to pushed to it manually.
But no, it's currently not automatic, only semi-automatic.
That's something we need to fix as well.
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 19:30 Stefan Monnier
2012-10-25 20:04 ` Jeremiah Dodds
@ 2012-10-26 4:22 ` Jambunathan K
2012-10-27 6:39 ` Bastien
2012-11-01 4:33 ` Stefan Monnier
2 siblings, 1 reply; 35+ messages in thread
From: Jambunathan K @ 2012-10-26 4:22 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> When looking for an Elisp package or feature, most people reach for
> their browser before reaching for M-x list-packages.
> But packages distributed via GNU ELPA won't show up because they're not
> visible to search engines.
One can always do a targeted search at elpa.gnu.org. Most importantly,
the http://elpa.gnu.org pages are indexed by search engines.
http://lmgtfy.com/?q=auctex+%20site%3Aelpa.gnu.org
May be the archive-contents file in the packages directory can contain
some `magic' string say `GNU ELPA' that one can use for search queries.
This will be particularly useful as packages grow and people start
relying more and more on browsers for locating packages.
A targetted mailing list (or discussion group) for GNU ELPA packages is
also a good idea for targetted search or to keeping abreast of latest
ANNouncements in package world.
> So I think we should setup some GNU ELPA web-site that lists the
> packages and where each package gets a web page which would be the
> canonical web page for that package (so people can link to it from, say,
> emacswiki) describing it (its README or "Commentary:") plus a link to
> its repository.
One can standardize around TeX or Org markup for package readme files.
Org can be exported to ascii, as well as HTML. It essentially means
that one gets a readme file (`?' in `*Packages*' buffer) or it's own
web page.
> Stefan
>
>
--
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 20:04 ` Jeremiah Dodds
2012-10-25 20:18 ` Drew Adams
@ 2012-10-26 7:29 ` Tassilo Horn
2012-10-27 6:33 ` Bastien
1 sibling, 1 reply; 35+ messages in thread
From: Tassilo Horn @ 2012-10-26 7:29 UTC (permalink / raw)
To: Jeremiah Dodds; +Cc: Stefan Monnier, emacs-devel
Jeremiah Dodds <jeremiah.dodds@gmail.com> writes:
>> When looking for an Elisp package or feature, most people reach for
>> their browser before reaching for M-x list-packages. But packages
>> distributed via GNU ELPA won't show up because they're not visible to
>> search engines.
>
> I think it's very likely that M-x list-packages will get much more
> common as time progresses. It's certainly the first thing that I go to
> nowadays.
Ditto, but the package explanations given there are far from informative
enough to find the package you need for your task at hand. I look there
first, but then google up the packages that sound relevant, and in the
end that almost always leads to emacswiki.
It would be good if every package would at least complement Version and
Summary with a longer description, a link to its homepage (or emacswiki
page if it has no homepage), and the date when it was updated the last
time.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-26 16:10 Dmitry Gutov
2012-10-26 18:31 ` Stefan Monnier
2012-10-27 5:18 ` Chong Yidong
0 siblings, 2 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-26 16:10 UTC (permalink / raw)
To: jeremiah.dodds; +Cc: monnier, emacs-devel
Tassilo Horn <tsdh@gnu.org> writes:
> Jeremiah Dodds <jeremiah.dodds@gmail.com> writes:
>
>>> When looking for an Elisp package or feature, most people reach for
>>> their browser before reaching for M-x list-packages. But packages
>>> distributed via GNU ELPA won't show up because they're not visible to
>>> search engines.
>>
>> I think it's very likely that M-x list-packages will get much more
>> common as time progresses. It's certainly the first thing that I go to
>> nowadays.
>
> Ditto, but the package explanations given there are far from informative
> enough to find the package you need for your task at hand. I look there
> first, but then google up the packages that sound relevant, and in the
> end that almost always leads to emacswiki.
>
> It would be good if every package would at least complement Version and
> Summary with a longer description, a link to its homepage (or emacswiki
> page if it has no homepage), and the date when it was updated the last
> time.
You may find that, for single-file packages, even if they provide an
extended "Commentary" section, it will not show up in the
"list-packages" interface. At least when distributed over MELPA or
Marmalade.
I think it's fixed in Daniel Haxney's package.el fork, though.
Showing a link to the homepage (taken from the "URL" header) would be a
welcome addition to the interface, too.
--Dmitry
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 16:10 Dmitry Gutov
@ 2012-10-26 18:31 ` Stefan Monnier
2012-10-26 18:53 ` chad
2012-10-27 5:18 ` Chong Yidong
1 sibling, 1 reply; 35+ messages in thread
From: Stefan Monnier @ 2012-10-26 18:31 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: jeremiah.dodds, emacs-devel
> I think it's fixed in Daniel Haxney's package.el fork, though.
I hope it's not a real fork,
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 18:31 ` Stefan Monnier
@ 2012-10-26 18:53 ` chad
2012-10-26 19:11 ` Stefan Monnier
0 siblings, 1 reply; 35+ messages in thread
From: chad @ 2012-10-26 18:53 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel@gnu.org devel
On 26 Oct 2012, at 11:31, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> I think it's fixed in Daniel Haxney's package.el fork, though.
>
> I hope it's not a real fork,
He was trying to get parts of it merged before the feature-freeze, so I doubt it's a lasting fork, but it might be a fork as far as 24.3 is concerned.
https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00237.html
~Chad
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 18:53 ` chad
@ 2012-10-26 19:11 ` Stefan Monnier
0 siblings, 0 replies; 35+ messages in thread
From: Stefan Monnier @ 2012-10-26 19:11 UTC (permalink / raw)
To: chad; +Cc: emacs-devel@gnu.org devel
>>> I think it's fixed in Daniel Haxney's package.el fork, though.
>> I hope it's not a real fork,
> He was trying to get parts of it merged before the feature-freeze, so
> I doubt it's a lasting fork, but it might be a fork as far as 24.3
> is concerned.
Oh, right, sorry for that. Now if I could only remember my name.
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 16:10 Dmitry Gutov
2012-10-26 18:31 ` Stefan Monnier
@ 2012-10-27 5:18 ` Chong Yidong
2012-10-27 11:26 ` Dmitry Gutov
1 sibling, 1 reply; 35+ messages in thread
From: Chong Yidong @ 2012-10-27 5:18 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: monnier, jeremiah.dodds, emacs-devel
Dmitry Gutov <dgutov@yandex.ru> writes:
>> It would be good if every package would at least complement Version and
>> Summary with a longer description, a link to its homepage (or emacswiki
>> page if it has no homepage), and the date when it was updated the last
>> time.
>
> You may find that, for single-file packages, even if they provide an
> extended "Commentary" section, it will not show up in the
> "list-packages" interface. At least when distributed over MELPA or
> Marmalade.
Please provide an example of what you mean. I just checked with the GNU
ELPA packages, and the commentaries show up fine with "?" in the
*Packages* buffer. Maybe MELPA or Marmalade are not providing the
*-readme.txt files which are supposed to be there.
> I think it's fixed in Daniel Haxney's package.el fork, though.
If there is a bug, it should be fixed orthogonally to all the rest of
the refactoring he is trying to do.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 7:29 ` Tassilo Horn
@ 2012-10-27 6:33 ` Bastien
0 siblings, 0 replies; 35+ messages in thread
From: Bastien @ 2012-10-27 6:33 UTC (permalink / raw)
To: Jeremiah Dodds; +Cc: Stefan Monnier, emacs-devel
Tassilo Horn <tsdh@gnu.org> writes:
> It would be good if every package would at least complement Version and
> Summary with a longer description, a link to its homepage (or emacswiki
> page if it has no homepage), and the date when it was updated the last
> time.
On top of that, it'd be nice to be able to search through all the length
description. For example M-x package-filter RET cursor RET would apply
a filter limiting the list of packages to that containing "cursor" in
their (complete) description.
--
Bastien
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-26 4:22 ` Jambunathan K
@ 2012-10-27 6:39 ` Bastien
0 siblings, 0 replies; 35+ messages in thread
From: Bastien @ 2012-10-27 6:39 UTC (permalink / raw)
To: Jambunathan K; +Cc: Stefan Monnier, emacs-devel
Jambunathan K <kjambunathan@gmail.com> writes:
> One can standardize around TeX or Org markup for package readme files.
Indeed.
On http://elpa.gnu.org
- have a list of available packages in packages.html (translated
from a new packages.org page in the ELPA's root directory?)
- each package on this list would link to its corresponding
readme.html file, exported from readme.org in the package dir.
--
Bastien
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-27 5:18 ` Chong Yidong
@ 2012-10-27 11:26 ` Dmitry Gutov
0 siblings, 0 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-27 11:26 UTC (permalink / raw)
To: Chong Yidong; +Cc: monnier, jeremiah.dodds, emacs-devel
On 27.10.2012 9:18, Chong Yidong wrote:
> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>>> It would be good if every package would at least complement Version and
>>> Summary with a longer description, a link to its homepage (or emacswiki
>>> page if it has no homepage), and the date when it was updated the last
>>> time.
>>
>> You may find that, for single-file packages, even if they provide an
>> extended "Commentary" section, it will not show up in the
>> "list-packages" interface. At least when distributed over MELPA or
>> Marmalade.
>
> Please provide an example of what you mean. I just checked with the GNU
> ELPA packages, and the commentaries show up fine with "?" in the
> *Packages* buffer. Maybe MELPA or Marmalade are not providing the
> *-readme.txt files which are supposed to be there.
That is the problem with those two repositories, yes.
In principle, though, when there is no readme.txt, the package manager
could fetch the source file and parse the description from it.
I understand that not doing that saves traffic, although I wonder how much.
>> I think it's fixed in Daniel Haxney's package.el fork, though.
>
> If there is a bug, it should be fixed orthogonally to all the rest of
> the refactoring he is trying to do.
I'm sorry for the confusion, his code is not doing anything different in
that regard. I guess I skimmed it a while ago, saw the related part of
`describe-package-1', got excited and failed to notice both the
condition (if built-in) and the fact that that code is the same in the
Emacs trunk.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-28 16:29 Daniel Hackney
2012-10-28 16:47 ` Eli Zaretskii
0 siblings, 1 reply; 35+ messages in thread
From: Daniel Hackney @ 2012-10-28 16:29 UTC (permalink / raw)
To: emacs-devel
(I just joined the list, so I can't reply with the original message-id.
This is a response to
https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00723.html)
Dmitry Gutov wrote:
> Tassilo Horn <address@hidden> writes:
> > It would be good if every package would at least complement Version and
> > Summary with a longer description, a link to its homepage (or emacswiki
> > page if it has no homepage), and the date when it was updated the last
> > time.
>
> You may find that, for single-file packages, even if they provide an
> extended "Commentary" section, it will not show up in the
> "list-packages" interface. At least when distributed over MELPA or
> Marmalade.
The problem is with those repos. They don't create a
<pkg-name>-readme.txt file. It's particularly strange for Marmalade,
since the content which would go into the readme is displayed on the
website (though not in <pre> formatting) but isn't available through
`list-packages'.
> I think it's fixed in Daniel Haxney's package.el fork, though.
Sorry for the confusion (my choice of domain could be clearer), but my
last name is "Hackney", not "Haxney". The domain name "haxney.org" is a
play on "hacks" => "hax" (sometimes used in videogame-speak) and
"Hackney". Also, the username "haxney" is available on every service I
have ever come across.
I was careful not to make any changes to the HTTP and file-based APIs in
my branch, so if a repo doesn't provide a readme, then my branch can't
do anything about that.
--
Daniel Hackney
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-28 16:29 Daniel Hackney
@ 2012-10-28 16:47 ` Eli Zaretskii
2012-10-28 18:23 ` Andreas Schwab
0 siblings, 1 reply; 35+ messages in thread
From: Eli Zaretskii @ 2012-10-28 16:47 UTC (permalink / raw)
To: Daniel Hackney; +Cc: emacs-devel
> From: Daniel Hackney <dan@haxney.org>
> Date: Sun, 28 Oct 2012 12:29:09 -0400
>
> (I just joined the list, so I can't reply with the original message-id.
Yes, you can, if you download the list archive in mbox format. Just
so you know for the future.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-28 16:47 ` Eli Zaretskii
@ 2012-10-28 18:23 ` Andreas Schwab
0 siblings, 0 replies; 35+ messages in thread
From: Andreas Schwab @ 2012-10-28 18:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Daniel Hackney, emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Daniel Hackney <dan@haxney.org>
>> Date: Sun, 28 Oct 2012 12:29:09 -0400
>>
>> (I just joined the list, so I can't reply with the original message-id.
>
> Yes, you can, if you download the list archive in mbox format.
You can also reply via gmane.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-10-28 20:26 Dmitry Gutov
0 siblings, 0 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-10-28 20:26 UTC (permalink / raw)
To: dan; +Cc: emacs-devel
Daniel Hackney <dan@haxney.org> writes:
> Dmitry Gutov wrote:
>> Tassilo Horn <address@hidden> writes:
>> > It would be good if every package would at least complement
Version and
>> > Summary with a longer description, a link to its homepage (or
emacswiki
>> > page if it has no homepage), and the date when it was updated the last
>> > time.
>>
>> You may find that, for single-file packages, even if they provide an
>> extended "Commentary" section, it will not show up in the
>> "list-packages" interface. At least when distributed over MELPA or
>> Marmalade.
>
> The problem is with those repos. They don't create a
> <pkg-name>-readme.txt file. It's particularly strange for Marmalade,
> since the content which would go into the readme is displayed on the
> website (though not in <pre> formatting) but isn't available through
> `list-packages'.
Indeed. And there's been an issue filed on Marmalade's bug tracker for
close to a year now (#36).
I think I will take a stab at fixing this for MELPA.
>> I think it's fixed in Daniel Haxney's package.el fork, though.
>
> Sorry for the confusion (my choice of domain could be clearer), but my
> last name is "Hackney", not "Haxney". The domain name "haxney.org" is a
> play on "hacks" => "hax" (sometimes used in videogame-speak) and
> "Hackney". Also, the username "haxney" is available on every service I
> have ever come across.
That's my fault, sorry.
> I was careful not to make any changes to the HTTP and file-based APIs in
> my branch, so if a repo doesn't provide a readme, then my branch can't
> do anything about that.
Sorry again, duh.
--Dmitry
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-10-25 19:30 Stefan Monnier
2012-10-25 20:04 ` Jeremiah Dodds
2012-10-26 4:22 ` Jambunathan K
@ 2012-11-01 4:33 ` Stefan Monnier
2012-11-01 5:10 ` Jambunathan K
2 siblings, 1 reply; 35+ messages in thread
From: Stefan Monnier @ 2012-11-01 4:33 UTC (permalink / raw)
To: emacs-devel
> So I think we should setup some GNU ELPA web-site that lists the
> packages and where each package gets a web page which would be the
> canonical web page for that package (so people can link to it from, say,
> emacswiki) describing it (its README or "Commentary:") plus a link to
> its repository.
Well, I just went ahead and took a first crack at it. I'm an HTML
ignoramus, so the result is clearly unimpressive. If you care to make
it better, the code that builds those files is in
elpa/admin/archive-contents.el, so feel free to submit patches for it.
As discussed in this thread, if we want this to work, we need some way
to get a sexier description than the plain-text readme.txt. I.e. we
need to replace the READMEs with more structured files which can be
easily turned into acceptable HTML (no need to be fancy, here) as well
as easy to render acceptably in Emacs (extra bonus points if that same
format can end up being used as a replacement for Info ;-).
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-01 4:33 ` Stefan Monnier
@ 2012-11-01 5:10 ` Jambunathan K
2012-11-01 5:13 ` chad
2012-11-01 12:42 ` Stefan Monnier
0 siblings, 2 replies; 35+ messages in thread
From: Jambunathan K @ 2012-11-01 5:10 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I.e. we
> need to replace the READMEs with more structured files which can be
> easily turned into acceptable HTML (no need to be fancy, here) as well
> as easy to render acceptably in Emacs (extra bonus points if that same
> format can end up being used as a replacement for Info ;-).
Org can be exported to HTML, Plain text (ASCII) and texi.
--
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-01 5:10 ` Jambunathan K
@ 2012-11-01 5:13 ` chad
2012-11-01 5:18 ` Jambunathan K
2012-11-01 12:42 ` Stefan Monnier
1 sibling, 1 reply; 35+ messages in thread
From: chad @ 2012-11-01 5:13 UTC (permalink / raw)
To: emacs-devel@gnu.org devel
On 31 Oct 2012, at 22:10, Jambunathan K <kjambunathan@gmail.com> wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> I.e. we
>> need to replace the READMEs with more structured files which can be
>> easily turned into acceptable HTML (no need to be fancy, here) as well
>> as easy to render acceptably in Emacs (extra bonus points if that same
>> format can end up being used as a replacement for Info ;-).
>
> Org can be exported to HTML, Plain text (ASCII) and texi.
Also, Markdown (in some flavor) is more or less accepted standard for
this kind of thing (github, et al).
~Chad
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-01 5:13 ` chad
@ 2012-11-01 5:18 ` Jambunathan K
0 siblings, 0 replies; 35+ messages in thread
From: Jambunathan K @ 2012-11-01 5:18 UTC (permalink / raw)
To: chad; +Cc: emacs-devel@gnu.org devel
chad <yandros@MIT.EDU> writes:
> On 31 Oct 2012, at 22:10, Jambunathan K <kjambunathan@gmail.com> wrote:
>
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>> I.e. we
>>> need to replace the READMEs with more structured files which can be
>>> easily turned into acceptable HTML (no need to be fancy, here) as well
>>> as easy to render acceptably in Emacs (extra bonus points if that same
>>> format can end up being used as a replacement for Info ;-).
>>
>> Org can be exported to HTML, Plain text (ASCII) and texi.
>
> Also, Markdown (in some flavor) is more or less accepted standard for
> this kind of thing (github, et al).
github can display simple Org files with no extra user intervention.
> ~Chad
>
>
>
>
--
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-01 5:10 ` Jambunathan K
2012-11-01 5:13 ` chad
@ 2012-11-01 12:42 ` Stefan Monnier
2012-11-02 7:12 ` Daniel Hackney
1 sibling, 1 reply; 35+ messages in thread
From: Stefan Monnier @ 2012-11-01 12:42 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-devel
>> I.e. we need to replace the READMEs with more structured files which
>> can be easily turned into acceptable HTML (no need to be fancy, here)
>> as well as easy to render acceptably in Emacs (extra bonus points if
>> that same format can end up being used as a replacement for Info ;-).
> Org can be exported to HTML, Plain text (ASCII) and texi.
So far, Org, ReST, Markdown, and Texinfo sound like the best
options, indeed.
Texinfo requires an extra step (generate Info) before rendering in Emacs
but has the advantage that this rendering already exists and that
Texinfo is the standard GNU documentation format. It has its
weaknesses, but it's a tool we know (i.e. which is why we already know
its weaknesses).
I'd be interested to see some sample rendering of Markdown, Org, and ReST
both in HTML and inside Emacs, for comparison.
Stefan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-01 12:42 ` Stefan Monnier
@ 2012-11-02 7:12 ` Daniel Hackney
2012-11-02 7:48 ` Jorgen Schaefer
0 siblings, 1 reply; 35+ messages in thread
From: Daniel Hackney @ 2012-11-02 7:12 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Jambunathan K, emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>> I.e. we need to replace the READMEs with more structured files which
>>> can be easily turned into acceptable HTML (no need to be fancy, here)
>>> as well as easy to render acceptably in Emacs (extra bonus points if
>>> that same format can end up being used as a replacement for Info ;-).
>> Org can be exported to HTML, Plain text (ASCII) and texi.
>
> So far, Org, ReST, Markdown, and Texinfo sound like the best
> options, indeed.
Put another vote in for Org. Aside from shipping with Emacs
out-of-the-box, all of its incredibly advanced stuff could come in handy
if we want to get fancy down the road. I'm thinking about the embedded
source code, which could be very useful as examples of the usage of a
library. Other formats allow for <pre> equivalents, but none have the
features of Org-babel. More generally, Org has an enormous ability to
store machine-extractable data (in its headers) and much more flexible
formatting. I think it is a no-brainer.
If you wanted to get crazy, you could distribute entire packages as
Org-mode files and unpack them with `org-babel-tangle' ;)
--
Daniel Hackney
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
2012-11-02 7:12 ` Daniel Hackney
@ 2012-11-02 7:48 ` Jorgen Schaefer
0 siblings, 0 replies; 35+ messages in thread
From: Jorgen Schaefer @ 2012-11-02 7:48 UTC (permalink / raw)
To: emacs-devel
On Fri, 2 Nov 2012 03:12:46 -0400
Daniel Hackney <dan@haxney.org> wrote:
> > So far, Org, ReST, Markdown, and Texinfo sound like the best
> > options, indeed.
>
> Put another vote in for Org. Aside from shipping with Emacs
> out-of-the-box, all of its incredibly advanced stuff could come in
> handy if we want to get fancy down the road. I'm thinking about the
> embedded source code, which could be very useful as examples of the
> usage of a library. Other formats allow for <pre> equivalents, but
> none have the features of Org-babel.
Github-flavored Markdown has syntax highlighting for a number of
languages.
From what I can see, Org is "the 'modern' Emacs solution", Texinfo "the
traditional solution", and Markdown "the pragmatic solution".
... Looking forward to Pymacs and similar packages, providing a
markdown README for Github, and an org README for elpa, but also a reST
README for PyPI. :-D Luckily, there is Pandoc which can convert all
this mess around. Of course, that means you don't get to use any of the
special features of any of those formats, but hey, *someone* can.
Regards,
Jorgen
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: GNU ELPA visibility
@ 2012-11-02 18:47 Dmitry Gutov
0 siblings, 0 replies; 35+ messages in thread
From: Dmitry Gutov @ 2012-11-02 18:47 UTC (permalink / raw)
To: monnier; +Cc: kjambunathan, emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> I.e. we need to replace the READMEs with more structured files which
>>> can be easily turned into acceptable HTML (no need to be fancy, here)
>>> as well as easy to render acceptably in Emacs (extra bonus points if
>>> that same format can end up being used as a replacement for Info ;-).
>> Org can be exported to HTML, Plain text (ASCII) and texi.
>
> So far, Org, ReST, Markdown, and Texinfo sound like the best
> options, indeed.
I think you might as well support several formats, to cover the existing
README files.
That would complicate showing these files in the package.el interface in
a fancy way, but I think that's a reasonable tradeoff.
At least two of the above formats look quite reasonably in plain text.
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2012-11-02 18:47 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 19:58 GNU ELPA visibility Dmitry Gutov
2012-10-25 21:10 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2012-11-02 18:47 Dmitry Gutov
2012-10-28 20:26 Dmitry Gutov
2012-10-28 16:29 Daniel Hackney
2012-10-28 16:47 ` Eli Zaretskii
2012-10-28 18:23 ` Andreas Schwab
2012-10-26 16:10 Dmitry Gutov
2012-10-26 18:31 ` Stefan Monnier
2012-10-26 18:53 ` chad
2012-10-26 19:11 ` Stefan Monnier
2012-10-27 5:18 ` Chong Yidong
2012-10-27 11:26 ` Dmitry Gutov
2012-10-25 22:14 Dmitry Gutov
2012-10-25 22:47 ` Jorgen Schaefer
2012-10-25 21:23 Dmitry Gutov
2012-10-25 21:34 ` Drew Adams
2012-10-25 21:47 ` Dmitry Gutov
2012-10-25 21:52 ` Drew Adams
2012-10-26 1:37 ` Stefan Monnier
2012-10-25 21:48 ` Jorgen Schaefer
2012-10-25 19:30 Stefan Monnier
2012-10-25 20:04 ` Jeremiah Dodds
2012-10-25 20:18 ` Drew Adams
2012-10-26 7:29 ` Tassilo Horn
2012-10-27 6:33 ` Bastien
2012-10-26 4:22 ` Jambunathan K
2012-10-27 6:39 ` Bastien
2012-11-01 4:33 ` Stefan Monnier
2012-11-01 5:10 ` Jambunathan K
2012-11-01 5:13 ` chad
2012-11-01 5:18 ` Jambunathan K
2012-11-01 12:42 ` Stefan Monnier
2012-11-02 7:12 ` Daniel Hackney
2012-11-02 7:48 ` Jorgen Schaefer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).