darcs

Issue 2733 Darcs dist fails on long filename

Title Darcs dist fails on long filename
Priority bug Status needs-implementation
Milestone Resolved in
Superseder Nosy List alexdarcy
Assigned To
Topics

Created on 2024-09-09.14:28:03 by alexdarcy, last changed 2024-10-14.09:51:46 by bfrk.

Messages
msg24080 (view) Author: alexdarcy Date: 2024-09-09.14:27:52
1. darcs dist by default failt with filenames 188 characters long. darcs 
dist --zip works

Minimal working example :

dars init
mkdir -p
touch ./org/notes/biblio/20240718T144533--frequency-based-rare-
diagnoses-as-a-novel-and-accessible-approach-for-studying-rare-diseases-
in-large-datasets-a-cross-sectional-study__bib_facebook.org
d add org/notes/biblio/20240718T144533--frequency-based-rare-diagnoses-
as-a-novel-and-accessible-approach-for-studying-rare-diseases-in-large-
datasets-a-cross-sectional-study__bib_facebook.org
darcs record -am "test"
d dist

Error message: File name too long


Tested on 2.18.3 on Ubuntu 22.
Thanks
msg24085 (view) Author: bfrk Date: 2024-10-14.09:51:45
Confirmed. Docs for tar-0.6.3.0 say

"""
GnuFormat

The GNU tar implementation also extends the classic V7 format, though in 
a slightly different way from the USTAR format. This is the only format 
supporting long file names.
"""

I guess we'll have to specify GnuFormat explicitly. It may also be 
necessary to fiddle with the file path conversion functions in 
Codec.Archive.Tar.Entry.
History
Date User Action Args
2024-09-09 14:28:03alexdarcycreate
2024-09-09 14:28:24alexdarcysettitle: Darcs disti fails on long fileramn -> Darcs dist fails on long filename
2024-10-14 09:51:46bfrksetstatus: unknown -> needs-implementation
priority: bug
messages: + msg24085