GNU bug report logs - #22935
W32 Binaries should have a top-level directory

Previous Next

Package: emacs;

Reported by: phillip.lord <at> russet.org.uk (Phillip Lord)

Date: Mon, 7 Mar 2016 21:14:02 UTC

Severity: minor

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22935 in the body.
You can then email your comments to 22935 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22935; Package emacs. (Mon, 07 Mar 2016 21:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phillip.lord <at> russet.org.uk (Phillip Lord):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 07 Mar 2016 21:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: bug-gnu-emacs <at> gnu.org
Subject: W32 Binaries should have a top-level directory
Date: Mon, 07 Mar 2016 21:12:48 +0000

I've just noticed that between 24.3 and 24.4 the directory structure of
the W32 binaries has changed significantly, and now lacks a top-level
directory. Instead, they have the unix style /var, /share, /bin
directories.

I have discussed the issue with Eli who thinks this is right, and
briefly summarise the reasons and my objections here.

1) It's a standard way of distributing MinGW binaryes

2) You can unpack a latter version on top of an existing version, and
run multiple versions without fiddling with PATH.


My counter is:

1) Having no top-level directory is fairly unexpected for software
containing zip file (outside of a package management system). For
example, the Emacs W-64 binaries on Sourceforge have a top-level Emacs
directory.

2) A top-level directory makes it easily to remove things again
afterwards.

3) The windows Emacs distribution now has no obvious README or COPYING
notice -- this cannot go top-level, without a top-level directory.


I would suggest that future Emacs zip files contain a top-level
directory with the same name as the zip file, underneath which comes
/var, /share, /bin, plus README.W32, plus COPYING. This still makes it
easily to install over an existing distribution with a copy command.








Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22935; Package emacs. (Tue, 08 Mar 2016 18:53:01 GMT) Full text and rfc822 format available.

Message #8 received at 22935 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: phillip.lord <at> russet.org.uk (Phillip Lord)
Cc: 22935 <at> debbugs.gnu.org
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
Date: Tue, 08 Mar 2016 20:52:32 +0200
> From: phillip.lord <at> russet.org.uk (Phillip Lord)
> Date: Mon, 07 Mar 2016 21:12:48 +0000
> 
> I would suggest that future Emacs zip files contain a top-level
> directory with the same name as the zip file, underneath which comes
> /var, /share, /bin, plus README.W32, plus COPYING. This still makes it
> easily to install over an existing distribution with a copy command.

I don't quite agree with the last sentence.  There's no 'cp' on
Windows out of the box, so either people will use XCOPY or the Windows
Explorer.  Both will by default nag users about overwriting existing
files in the destination, and not everyone will know how to work
around that.

Besides, I think most people will simply leave the files in the
directory where they were unpacked, and will then have to play with
their PATH or rename the top-level directory.

By contrast, if the zip archive does NOT have a top-level directory,
it is easy to create one upon unpacking: the 'unzip' command has the
"-d" switch for that, and unpacking from Explorer will actually
suggest a separate directory by default.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22935; Package emacs. (Tue, 08 Mar 2016 19:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 22935 <at> debbugs.gnu.org (full text, mbox):

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22935 <at> debbugs.gnu.org
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
Date: Tue, 08 Mar 2016 19:35:59 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: phillip.lord <at> russet.org.uk (Phillip Lord)
>> Date: Mon, 07 Mar 2016 21:12:48 +0000
>> 
>> I would suggest that future Emacs zip files contain a top-level
>> directory with the same name as the zip file, underneath which comes
>> /var, /share, /bin, plus README.W32, plus COPYING. This still makes it
>> easily to install over an existing distribution with a copy command.
>
> I don't quite agree with the last sentence.  There's no 'cp' on
> Windows out of the box, so either people will use XCOPY or the Windows
> Explorer.  Both will by default nag users about overwriting existing
> files in the destination, and not everyone will know how to work
> around that.

Windows explorer is out-of-the-box, and it asks once whether to merge
the contents. I'm not sure how the windows explorer "extract" option
behaves

My own feeling is that most of the people who are worried about a
top-level directory will be power users and will work around the
problem. Probably by using "cp" from cygwin or msys.

> Besides, I think most people will simply leave the files in the
> directory where they were unpacked, and will then have to play with
> their PATH or rename the top-level directory.

I think most people will navigate to "bin", then short-cut
"runemacs.exe" to desktop.

> By contrast, if the zip archive does NOT have a top-level directory,
> it is easy to create one upon unpacking: the 'unzip' command has the
> "-d" switch for that, and unpacking from Explorer will actually
> suggest a separate directory by default.

Using the "-d" switch requires you to name the directory, which is
slightly irritating. And reversing the unpack if you forget is either
irritating (requiring three directory deletes) or very difficult (if you
already have any of the existing directories where you are unpacking.

My own archives without a top-level directory are for package management
systems, not for users. There is a reason archives like this are called
tarbombs.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22935; Package emacs. (Tue, 08 Mar 2016 20:02:02 GMT) Full text and rfc822 format available.

Message #14 received at 22935 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: phillip.lord <at> russet.org.uk (Phillip Lord)
Cc: 22935 <at> debbugs.gnu.org
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
Date: Tue, 08 Mar 2016 22:01:42 +0200
> From: phillip.lord <at> russet.org.uk (Phillip Lord)
> Cc: 22935 <at> debbugs.gnu.org
> Date: Tue, 08 Mar 2016 19:35:59 +0000
> 
> Windows explorer is out-of-the-box, and it asks once whether to merge
> the contents.

Depends on how you copy.

> I think most people will navigate to "bin", then short-cut
> "runemacs.exe" to desktop.

Yes, and lose emacsclient, and then come back crying.

Anyway, it's clear we disagree, so I might as well stop arguing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22935; Package emacs. (Sun, 15 Aug 2021 12:46:02 GMT) Full text and rfc822 format available.

Message #17 received at 22935 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22935 <at> debbugs.gnu.org, Phillip Lord <phillip.lord <at> russet.org.uk>
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
Date: Sun, 15 Aug 2021 14:44:47 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Anyway, it's clear we disagree, so I might as well stop arguing.

I think the conclusion here was that we're not going to change the
layout of the .zip files on Windows, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 15 Aug 2021 12:46:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 22935 <at> debbugs.gnu.org and phillip.lord <at> russet.org.uk (Phillip Lord) Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 15 Aug 2021 12:46:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Sep 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.