Package: git-buildpackage
Version: 0.4.53
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hiya,

as '~' is a special character wrt git and references, it's currently
being replaced by '.' when git-buildpackage generates tags.

this is not ideal because:
 * '.' is already a valid character and not distinct from a "real" '.'
 * '.' does not sort equivalently to ~

while i'm not sure there's anything we could do about the latter (thus
the output of git tag will never be correctly sortable), i think for
the former you could use a character which is not a valid character in a
"debian version", such that someone could pipe their list of tags through
a sed expression and get something that sorts correctly.  

for example, you could use '_', '#', or '/' (a similar technique could
be used with a second "alternate" character to solve the same problem
for epochs).

my personal preference is to use '_' in place of '~' because it's the most
readable and pleasant on the eyes, and maybe '#' for epochs.

        sean

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.50     scripts to make the life of a Debi
ii  git-core                     1:1.6.3.1-1 fast, scalable, distributed revisi
ii  python                       2.5.4-2     An interactive high-level object-o
ii  python-dateutil              1.4.1-3     powerful extensions to the standar
ii  python-support               1.0.3       automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.00       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKQo9zynjLPm522B0RAuV0AJ9OxO0ZSAzKZICibl9oPRC9zzi5cwCfQpjF
bFy5ocFzF4OjJ2YEVCUdC7k=
=HD/e
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to