MantisBT - Doomseeker
View Issue Details
0003236Doomseeker[All Projects] Suggestionpublic2017-09-01 12:422018-10-27 22:55
WubTheCaptain 
Blzut3 
lowtrivialalways
closedfixed 
x86_64 (really cross-platform)Debian GNU/Linuxbuster/sid
1.1 
1.21.2 
0003236: Source archive and extracted directory should be renamed to doomseeker-<version>
I wish to package Doomseeker for Debian GNU/Linux and meet Debian's policies/standards for high quality packaging.

Ideally, Doomseeker's source archive would be named "doomseeker-1.1.tar.bz2" and would extract a directory named "doomseeker-1.1" with source contained inside.

Currently, the source archive is named "doomseeker-1.1_src.tar.bz2" and extracts a directory named "doomseeker-1.1_src".

To comply with Debian's packaging policies(?), the downloaded archive name needs to be mangled to doomseeker-1.1 and something to be done to the extracted archive name (perhaps manually repackaged by the package maintainer). Avoiding these steps would make a Debian package porter's life easier.
<package>-<version> (proposed here) matches git-archive(1) behavior (although I acknowledge Mercurial is Doomseeker's choice of revision control).

'https://www.debian.org/doc/manuals/maint-guide/ [^]'

'https://www.debian.org/doc/debian-policy/ [^]'
No tags attached.
child of 0003246acknowledged  Debian packaging 
Issue History
2017-09-01 12:42WubTheCaptainNew Issue
2017-09-01 12:44WubTheCaptainNote Added: 0018207
2017-09-01 16:30ZalewaRelationship addedchild of 0003246
2017-11-04 02:09WubTheCaptainSeveritytweak => trivial
2018-03-04 09:04Blzut3Target Version => 1.2
2018-03-04 09:04Blzut3Assigned To => Blzut3
2018-03-04 09:04Blzut3Statusnew => assigned
2018-03-04 09:18Blzut3Note Added: 0019128
2018-03-04 09:18Blzut3Statusassigned => resolved
2018-03-04 09:18Blzut3Fixed in Version => 1.2
2018-03-04 09:18Blzut3Resolutionopen => fixed
2018-03-04 10:22WubTheCaptainNote Added: 0019129
2018-10-27 22:55WubTheCaptainStatusresolved => closed

Notes
(0018207)
WubTheCaptain   
2017-09-01 12:44   
I don't know if Mercurial has similar functionality of git-archive(1).

I note myself I'm not yet very experienced with Debian's packaging to meet their standards.

The step to reproduce is also incorrect on extracting the archive, the command should be "tar xvfj doomseeker-1.1_src.tar.bz2" for Bzip2 archives.
(0019128)
Blzut3   
2018-03-04 09:18   
Can't find this in the policies linked, but I suppose we can do that. This change is captured in'https://bitbucket.org/Doomseeker/doomseeker/commits/f9a3f83d268484152f216b1592eeb68052e7abdf [^]'
(0019129)
WubTheCaptain   
2018-03-04 10:22   
If I recall correctly, it was an issue with default usage of dh_make expecting a certain format. Otherwise the -f command line option had to be used and/or the directory renamed manually, but I don't remember the details.