unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* re-organising Emacs FTP
@ 2018-04-09 10:59 Phillip Lord
  2018-04-09 12:21 ` Stefan Monnier
  2018-04-09 14:10 ` Nicolas Petton
  0 siblings, 2 replies; 14+ messages in thread
From: Phillip Lord @ 2018-04-09 10:59 UTC (permalink / raw)
  To: emacs-devel


Currently, the Emacs FTP site has a single directory for windows binaries.

https://ftp.gnu.org/pub/gnu/emacs/windows/

It has binaries from Emacs 22 which are a decade old. Unfortunately,
these get listed first.

I would like to re-organise to add one directory per major release. So
at top-level we would have:

https://ftp.gnu.org/pub/gnu/emacs/windows/emacs-22
https://ftp.gnu.org/pub/gnu/emacs/windows/emacs-23
https://ftp.gnu.org/pub/gnu/emacs/windows/emacs-24
https://ftp.gnu.org/pub/gnu/emacs/windows/emacs-25
https://ftp.gnu.org/pub/gnu/emacs/windows/emacs-26

With a symlink from

https://ftp.gnu.org/pub/gnu/emacs/windows/latest

The reason for this is that, with Emacs-26 there will be four binaries
with every release (with-deps, no-deps in 32 and 64 bit), as well as the
dependencies independently (perhaps these are not necessary now) and,
finally, source for all the deps. Plus all the sig files.

For Emacs-27, the situation gets worse as I there is the new windows
installer bringing the number of binaries up to 6.

Obviously, this change would break things for anyone who has scripted
the installation. But it would clean up the experience for anyone who
has not.

I am not proposing on changing the source directory, as that's Nicolas'
bag really.

https://ftp.gnu.org/pub/gnu/emacs/

Thoughts?

Phil




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 10:59 re-organising Emacs FTP Phillip Lord
@ 2018-04-09 12:21 ` Stefan Monnier
  2018-04-09 13:23   ` Phillip Lord
  2018-04-09 15:55   ` Yuri Khan
  2018-04-09 14:10 ` Nicolas Petton
  1 sibling, 2 replies; 14+ messages in thread
From: Stefan Monnier @ 2018-04-09 12:21 UTC (permalink / raw)
  To: emacs-devel

> Thoughts?

I don't really have an opinion, but for the liveliness of the
discussion, I'll propose some alternatives:

- Move all but the latest to a subdirectory `old`.
- Add a symlink to the latest with a name such that it comes first in
  the list.
  Since the sort is "alphabetical" based on ASCII, there aren't many
  chars that get sorted before "-" so I'm not sure which would be the
  best choice in this regard.

The problem I see with your proposal is that the latest releases as well
as the `latest` link will still appear last,


        Stefan




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 12:21 ` Stefan Monnier
@ 2018-04-09 13:23   ` Phillip Lord
  2018-04-09 13:53     ` Stefan Monnier
  2018-04-09 15:55   ` Yuri Khan
  1 sibling, 1 reply; 14+ messages in thread
From: Phillip Lord @ 2018-04-09 13:23 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Thoughts?
>
> I don't really have an opinion, but for the liveliness of the
> discussion, I'll propose some alternatives:
>
> - Move all but the latest to a subdirectory `old`.
> - Add a symlink to the latest with a name such that it comes first in
>   the list.
>   Since the sort is "alphabetical" based on ASCII, there aren't many
>   chars that get sorted before "-" so I'm not sure which would be the
>   best choice in this regard.
>
> The problem I see with your proposal is that the latest releases as well
> as the `latest` link will still appear last,


Yes, I saw that as a problem. We could perhaps rename "emacs" to
"xemacs", then it will always appear after "latest". What do you think?

I quite like the idea of "old", but it has two problems. First, it means
links will change routinely as new releases appear; while this would at
least be predictable, it might still cause issues. Second, as far as I
can tell, the FTP Upload directives do not have a "move" option, so
practically, this is a pain to achieve.

Having directories would at least reduce the problem, in that the last
would be only a few places down the directory listing. Other
possibilities would be to use "current" rather than "latest". Or, get
the ftp.gnu.org to show symlinks first.

I'd like to have a symlink there anyway, because it would mean the
Windows version of Emacs could notify people when updates are available.

Phil



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 13:23   ` Phillip Lord
@ 2018-04-09 13:53     ` Stefan Monnier
  2018-04-09 14:12       ` Nicolas Petton
                         ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Stefan Monnier @ 2018-04-09 13:53 UTC (permalink / raw)
  To: Phillip Lord; +Cc: emacs-devel

> Yes, I saw that as a problem. We could perhaps rename "emacs" to
> "xemacs", then it will always appear after "latest". What do you think?

Ah, now you're talking!

> I quite like the idea of "old", but it has two problems. First, it means
> links will change routinely as new releases appear; while this would at
> least be predictable, it might still cause issues. Second, as far as I
> can tell, the FTP Upload directives do not have a "move" option, so
> practically, this is a pain to achieve.

We'd have to perform a one-time move of everything to "old" (asking the
sysadmins to do it by hand for us) and after that, all uploads would
need to go to `old` and the main directory would only contain symlinks.

> Other possibilities would be to use "current" rather than "latest".

Nah.... too easy.  Changing to `xemacs` is a lot more exciting.


        Stefan



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 10:59 re-organising Emacs FTP Phillip Lord
  2018-04-09 12:21 ` Stefan Monnier
@ 2018-04-09 14:10 ` Nicolas Petton
  2018-04-10 11:42   ` Phillip Lord
  1 sibling, 1 reply; 14+ messages in thread
From: Nicolas Petton @ 2018-04-09 14:10 UTC (permalink / raw)
  To: Phillip Lord, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

Phillip Lord <phillip.lord@russet.org.uk> writes:

> I am not proposing on changing the source directory, as that's Nicolas'
> bag really.

I don't see anything wrong with the way it is currently, but I wouldn't
mind if we changed it.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 13:53     ` Stefan Monnier
@ 2018-04-09 14:12       ` Nicolas Petton
  2018-04-09 14:17         ` Stefan Monnier
  2018-04-10  2:33       ` Richard Stallman
  2018-04-10  8:54       ` Robert Pluim
  2 siblings, 1 reply; 14+ messages in thread
From: Nicolas Petton @ 2018-04-09 14:12 UTC (permalink / raw)
  To: Stefan Monnier, Phillip Lord; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> Nah.... too easy.  Changing to `xemacs` is a lot more exciting.

Can we make a symlink for each one of the Emacsen in the wild?

Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 14:12       ` Nicolas Petton
@ 2018-04-09 14:17         ` Stefan Monnier
  2018-04-09 14:58           ` Drew Adams
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Monnier @ 2018-04-09 14:17 UTC (permalink / raw)
  To: emacs-devel

>> Nah.... too easy.  Changing to `xemacs` is a lot more exciting.
> Can we make a symlink for each one of the Emacsen in the wild?

You mean we could resurrect Epoch?
Yes++


        Stefan




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: re-organising Emacs FTP
  2018-04-09 14:17         ` Stefan Monnier
@ 2018-04-09 14:58           ` Drew Adams
  0 siblings, 0 replies; 14+ messages in thread
From: Drew Adams @ 2018-04-09 14:58 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

> >> Nah.... too easy.  Changing to `xemacs` is a lot more exciting.
> > Can we make a symlink for each one of the Emacsen in the wild?
> 
> You mean we could resurrect Epoch?
> Yes++

1+  ;-)



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 12:21 ` Stefan Monnier
  2018-04-09 13:23   ` Phillip Lord
@ 2018-04-09 15:55   ` Yuri Khan
  2018-04-09 16:14     ` Eli Zaretskii
  1 sibling, 1 reply; 14+ messages in thread
From: Yuri Khan @ 2018-04-09 15:55 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs developers

On Mon, Apr 9, 2018 at 7:21 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> - Add a symlink to the latest with a name such that it comes first in
>   the list.
>   Since the sort is "alphabetical" based on ASCII, there aren't many
>   chars that get sorted before "-" so I'm not sure which would be the
>   best choice in this regard.

You mean, like, emacs!latest? That will sort before emacs-*.

Another alternative is to double the dash: emacs--latest. The second
dash will sort before all digits.

However bear in mind the following nuisance: unless the server is
taught to supply an alternative download name, the user will save it
as “emacs--latest-<arch>.zip” and will not be easily able to tell
which version that is.

More practically, the main page should probably link to the most
relevant download(s) of the latest version. That way, only those who
really need something special will have to look at the listing of all
versions, all flavors.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 15:55   ` Yuri Khan
@ 2018-04-09 16:14     ` Eli Zaretskii
  2018-04-10 11:45       ` Phillip Lord
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2018-04-09 16:14 UTC (permalink / raw)
  To: Yuri Khan; +Cc: monnier, emacs-devel

> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Mon, 9 Apr 2018 22:55:27 +0700
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> You mean, like, emacs!latest? That will sort before emacs-*.
> 
> Another alternative is to double the dash: emacs--latest. The second
> dash will sort before all digits.

Maybe a better alternative is to capitalize LATEST-VERSION or some
such.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 13:53     ` Stefan Monnier
  2018-04-09 14:12       ` Nicolas Petton
@ 2018-04-10  2:33       ` Richard Stallman
  2018-04-10  8:54       ` Robert Pluim
  2 siblings, 0 replies; 14+ messages in thread
From: Richard Stallman @ 2018-04-10  2:33 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel, phillip.lord

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Yes, I saw that as a problem. We could perhaps rename "emacs" to
  > > "xemacs", then it will always appear after "latest". What do you think?

  > Ah, now you're talking!

If we want to be sure it comes last, we should use zzzz-emacs.  Or
maybe aaaa-emacs to put it at the front.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 13:53     ` Stefan Monnier
  2018-04-09 14:12       ` Nicolas Petton
  2018-04-10  2:33       ` Richard Stallman
@ 2018-04-10  8:54       ` Robert Pluim
  2 siblings, 0 replies; 14+ messages in thread
From: Robert Pluim @ 2018-04-10  8:54 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel, Phillip Lord

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> Yes, I saw that as a problem. We could perhaps rename "emacs" to
>> "xemacs", then it will always appear after "latest". What do you think?
>
> Ah, now you're talking!

XEmacs, surely?



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 14:10 ` Nicolas Petton
@ 2018-04-10 11:42   ` Phillip Lord
  0 siblings, 0 replies; 14+ messages in thread
From: Phillip Lord @ 2018-04-10 11:42 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

Nicolas Petton <nicolas@petton.fr> writes:

> Phillip Lord <phillip.lord@russet.org.uk> writes:
>
>> I am not proposing on changing the source directory, as that's Nicolas'
>> bag really.
>
> I don't see anything wrong with the way it is currently, but I wouldn't
> mind if we changed it.


Just that the listing is a big long. It's much less of a problem with
the source.

Phil



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: re-organising Emacs FTP
  2018-04-09 16:14     ` Eli Zaretskii
@ 2018-04-10 11:45       ` Phillip Lord
  0 siblings, 0 replies; 14+ messages in thread
From: Phillip Lord @ 2018-04-10 11:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel, monnier, Yuri Khan

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Yuri Khan <yuri.v.khan@gmail.com>
>> Date: Mon, 9 Apr 2018 22:55:27 +0700
>> Cc: Emacs developers <emacs-devel@gnu.org>
>> 
>> You mean, like, emacs!latest? That will sort before emacs-*.
>> 
>> Another alternative is to double the dash: emacs--latest. The second
>> dash will sort before all digits.
>
> Maybe a better alternative is to capitalize LATEST-VERSION or some
> such.

Yeah, that's true. That would be a very simple thing to add.

I am getting no overwhelming feeling that this is a bad idea, so I will
see if we can make the change.

Phil



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-10 11:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 10:59 re-organising Emacs FTP Phillip Lord
2018-04-09 12:21 ` Stefan Monnier
2018-04-09 13:23   ` Phillip Lord
2018-04-09 13:53     ` Stefan Monnier
2018-04-09 14:12       ` Nicolas Petton
2018-04-09 14:17         ` Stefan Monnier
2018-04-09 14:58           ` Drew Adams
2018-04-10  2:33       ` Richard Stallman
2018-04-10  8:54       ` Robert Pluim
2018-04-09 15:55   ` Yuri Khan
2018-04-09 16:14     ` Eli Zaretskii
2018-04-10 11:45       ` Phillip Lord
2018-04-09 14:10 ` Nicolas Petton
2018-04-10 11:42   ` Phillip Lord

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).