all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Fidler, Matt" <matt.fidler@alcon.com>
To: Glenn Morris <rgm@gnu.org>
Cc: "13136@debbugs.gnu.org" <13136@debbugs.gnu.org>
Subject: bug#13136: 24.2; tar-ball packages created on windows do not work
Date: Tue, 11 Dec 2012 14:18:26 +0000	[thread overview]
Message-ID: <6FA09CD345DDA74CAB37B48415C54FF8DBB1@023-CH1MPN1-004.023d.mgd.msft.net> (raw)
In-Reply-To: <56fw3dp4ut.fsf@fencepost.gnu.org>

Glenn,

I'm sorry, I wasn't as clear as I could have been.  

The directory structure is actually

Org-readme-0.11
Org-readme-0.11/org-readme.pkg.el

The issue is that the directory entry does not include this forward slash when using bsdtar or 7zip under windows.  It doesn't matter if you include the forward slash in the tar command or 7zip command.

Matt.

-----Original Message-----
From: Glenn Morris [mailto:rgm@gnu.org] 
Sent: Monday, December 10, 2012 10:53 PM
To: Fidler, Matt
Cc: 13136@debbugs.gnu.org
Subject: Re: bug#13136: 24.2; tar-ball packages created on windows do not work

"Fidler, Matt" wrote:

> Any tar-ball package created with 7zip or with bsdtar includes the
>
> directory structure of a package as follows:
>
>
>
> org-readme-0.11
>
> org-readme-0.11\org-readme-pkg.el

Thanks for the report. Is this a valid tar file?
The zip format explicitly requires forward slashes [1], but I could not
find a clear answer one way or the other for tar.

http://www.gnu.org/software/tar/manual/html_node/Portable-Names.html#SEC137

says:

   Use portable file and member names. A name is portable if it contains
   only ASCII letters and digits, `/', `.', '_', and '-' [...]

http://www.gnu.org/software/tar/manual/html_node/Standard.html#SEC182

just says

   The name field is the file name of the file, with directory names (if
   any) preceding the file name, separated by slashes.

which is annoyingly vague.

Anyway, none of that really helps you...


[1] http://www.pkware.com/documents/casestudies/APPNOTE.TXT
  
  4.4.17.1 The name of the file, with optional relative path.
  
    The path stored MUST not contain a drive or device letter, or a
    leading slash. All slashes MUST be forward slashes '/' as opposed
    to backwards slashes '\' for compatibility with Amiga and UNIX
    file systems etc.





  reply	other threads:[~2012-12-11 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 16:27 bug#13136: 24.2; tar-ball packages created on windows do not work Fidler, Matt
2012-12-11  4:52 ` Glenn Morris
2012-12-11 14:18   ` Fidler, Matt [this message]
2012-12-29 10:29     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6FA09CD345DDA74CAB37B48415C54FF8DBB1@023-CH1MPN1-004.023d.mgd.msft.net \
    --to=matt.fidler@alcon.com \
    --cc=13136@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.