[Pkg-javascript-devel] Using GroupedSources for gulp

Xavier yadd at debian.org
Mon May 20 20:25:18 BST 2019


Le 20/05/2019 à 21:23, Xavier a écrit :
> Le 20/05/2019 à 20:47, Utkarsh Gupta a écrit :
>> Hey,
>>
>> On 20/05/19 11:28 pm, Xavier wrote:
>>> Le 20/05/2019 à 19:24, Pirate Praveen a écrit :
>>>> version=4
>>>>
>>>> opts=\
>>>> dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
>>>> filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-gulp-$1.tar.gz/ \
>>>> https://github.com/gulpjs/gulp/tags .*/archive/v?([\d\.]+).tar.gz group
>>>>
>>>> opts="searchmode=plain,pgpmode=none,component=gulp-cli" \
>>>> https://registry.npmjs.org/gulp-cli \
>>>>
>>>> https://registry.npmjs.org/gulp-cli/-/gulp-cli-(\d[\d\.]*)@ARCHIVE_EXT@
>>>> ignore
>>> Replace "group" by "debian" here. Attached file works fine
>>
>> Though the attached watch file works when there's no changelog entry,
>> but it fails to create `node-gulp_4.0.2.orig-gulp-cli.tar.gz` when
>> there's a changelog entry.
>>
>> Steps to reproduce:
>>
>> 1. Import the changes and make a changelog entry.
>> 2. Try `uscan --download-current-version`. It fails there :(
>>
>>
>>
>> Best,
>> Utkarsh
> 
> Unable to reproduce, still works fine:
> 
> $ head debian/changelog -n 2
> node-gulp (4.0.2-1) unstable; urgency=medium
> 
> $ uscan -dd
> Successfully symlinked ../node-gulp-4.0.2.tar.gz to
> ../node-gulp_4.0.2.orig.tar.gz.
> uscan: Newest version of node-gulp on remote site is 2.2.0, ignore local
> version
> Successfully symlinked ../gulp-cli-2.2.0.tgz to
> ../node-gulp_4.0.2.orig-gulp-cli.tar.gz.
> 
> $ ls -l ../*gulp*z
> -rw-r--r-- 1 xavier xavier  15724 mai   20 21:21 ../gulp-cli-2.2.0.tgz
> lrwxrwxrwx 1 xavier xavier     18 mai   20 21:21
> ../node-gulp_4.0.2.orig-gulp-cli.tar.gz -> gulp-cli-2.2.0.tgz
> lrwxrwxrwx 1 xavier xavier     22 mai   20 21:21
> ../node-gulp_4.0.2.orig.tar.gz -> node-gulp-4.0.2.tar.gz
> -rw-r--r-- 1 xavier xavier 262028 mai   20 21:21 ../node-gulp-4.0.2.tar.gz

Note that you must clean ../node-gulp*gz if you downloaded it without
new component, else download stops



More information about the Pkg-javascript-devel mailing list