[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587377: debian-policy: Decide on arbitrary file/path names limit



Jonathan Nieder <jrnieder@gmail.com> writes:

> This is a hard one.  I agree that dpkg shouldn't enforce this (though
> perhaps it could recover better).

That's fair.

> To throw out a strawman, I suppose 256 characters should be a reasonable
> maximum for paths in Debian packages.

Running a variant of your script (modified to consult $1 rather than $0
and account for leading slashes) against uncompressed amd64 Contents
files gives a maximum length of 211 characters at present for testing
and unstable, corresponding to

/usr/share/eclipse/dropins/rse/eclipse/plugins/org.eclipse.rse.core.source_3.1.1.201006121442-7a7CEw7sReRSjesfJIs/src/org.eclipse.rse.subsystems.files.core_3.1.1.201006121442/.settings/org.eclipse.jdt.core.prefs

so it looks like a limit of 256 should indeed be ample.

Thanks for taking the time to revisit this issue, BTW.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



Reply to: