Bug#841526: pristine-tar: please use natural ordering when listing
On Sun, Feb 26, 2017 at 08:33:33PM +0100, Tomasz Buchert wrote: > After having some reservations about this, I decided to introduce it > in the next release of pristine-tar (to be released after the release > of stretch). However, this is "unofficial" in a sense that, yes, it's > going to sort using "sort -Vr", but you should not rely on this in > scripts, for example. Hope this works for you. :) Yeah, it works just great for me indeed! Thank you! -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#841526: pristine-tar: please use natural ordering when listing
On 23/10/16 19:24, Mattia Rizzolo wrote: > On Sun, Oct 23, 2016 at 09:09:53PM +0200, Tomasz Buchert wrote: > > What about piping "pristine-tar list" to "sort -V"? > > Sure, that works, but IMHO this should be done by pristine-tar itself. > Actually I've never been so bothered to pipe it through `sort -V`, and I > filed this bug just to ease a itch, but I do think it would be an > improvement :) > After having some reservations about this, I decided to introduce it in the next release of pristine-tar (to be released after the release of stretch). However, this is "unofficial" in a sense that, yes, it's going to sort using "sort -Vr", but you should not rely on this in scripts, for example. Hope this works for you. :) Tomasz signature.asc Description: PGP signature
Bug#841526: pristine-tar: please use natural ordering when listing
On Sun, Oct 23, 2016 at 09:09:53PM +0200, Tomasz Buchert wrote: > What about piping "pristine-tar list" to "sort -V"? Sure, that works, but IMHO this should be done by pristine-tar itself. Actually I've never been so bothered to pipe it through `sort -V`, and I filed this bug just to ease a itch, but I do think it would be an improvement :) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#841526: pristine-tar: please use natural ordering when listing
On 21/10/16 11:06, Mattia Rizzolo wrote: > package: pristine-tar > version: 1.37 > severity: wishlist > > % pristine-tar list > setuptools-scm_1.10.1.orig.tar.bz2 > setuptools-scm_1.15.0.orig.tar.gz > setuptools-scm_1.7.0.orig.tar.gz > setuptools-scm_1.8.0.orig.tar.bz2 > > I'd prefer if it would use natural ordering¹ while sorting, so that > version 1.7 and 1.8 are listed before 1.10. > > TIA. What about piping "pristine-tar list" to "sort -V"? Tomasz signature.asc Description: PGP signature
Bug#841526: pristine-tar: please use natural ordering when listing
package: pristine-tar version: 1.37 severity: wishlist % pristine-tar list setuptools-scm_1.10.1.orig.tar.bz2 setuptools-scm_1.15.0.orig.tar.gz setuptools-scm_1.7.0.orig.tar.gz setuptools-scm_1.8.0.orig.tar.bz2 % I'd prefer if it would use natural ordering¹ while sorting, so that version 1.7 and 1.8 are listed before 1.10. TIA. ¹ https://en.wikipedia.org/wiki/Natural_sort_order -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature