Bug#987241: uscan: Use version from package.json when mode=git and type=nodejs for multi tar sources

2021-04-24 Thread Mattia Rizzolo
On Wed, Apr 21, 2021 at 11:02:42PM +0530, Pirate Praveen wrote: > >This is not the spirit of HEAD/pretty mode: the goal is to pick commits > >after last tag. Upstream did a strange thing in this repo: set a tag > >outside any named branch. I'm not sure we should modify uscan because of > >an

Bug#987241: uscan: Use version from package.json when mode=git and type=nodejs for multi tar sources

2021-04-21 Thread Pirate Praveen
Control: reopen -1 On 2021, ഏപ്രിൽ 21 9:32:52 PM IST, Yadd wrote: >Le 21/04/2021 à 17:23, Pirate Praveen a écrit : >> On Wed, 21 Apr 2021 15:48:14 +0200 Yadd wrote: >>> Hi, >>> >>> `pretty=describe` uses the result of `git describe`. You got a >>> "4.17.4.20" because this is the last tag on the

Bug#987241: uscan: Use version from package.json when mode=git and type=nodejs for multi tar sources

2021-04-21 Thread Yadd
Le 21/04/2021 à 17:23, Pirate Praveen a écrit : > On Wed, 21 Apr 2021 15:48:14 +0200 Yadd wrote: >> Hi, >> >> `pretty=describe` uses the result of `git describe`. You got a >> "4.17.4.20" because this is the last tag on the branch you tried to >> clone. The "4.17.5" tag is attached to a different

Bug#987241: uscan: Use version from package.json when mode=git and type=nodejs for multi tar sources

2021-04-21 Thread Pirate Praveen
On Wed, 21 Apr 2021 15:48:14 +0200 Yadd wrote: > Hi, > > `pretty=describe` uses the result of `git describe`. You got a > "4.17.4.20" because this is the last tag on the branch you tried to > clone. The "4.17.5" tag is attached to a different branch (unnamed). > > So uscan is right here ;-) I

Bug#987241: uscan: Use version from package.json when mode=git and type=nodejs for multi tar sources

2021-04-20 Thread Pirate Praveen
Package: devscripts Severity: wishlist Currently pretty=describe takes latest tag and the commit hash, but sometimes the tags are not updated but version is updated in package.json. Example lodash-cli https://github.com/bnjmnt4n/lodash-cli Current version in archive is 4.17.5 but git mode