[Pkg-javascript-devel] Bug#934456: Bug#934456: further automation ideas for add-node-component
Xavier
yadd at debian.org
Sun Aug 11 11:28:51 BST 2019
Le 11/08/2019 à 12:08, Pirate Praveen a écrit :
> On 11/08/19 3:30 pm, Xavier wrote:
>> Then:
>> * -d (download) launches uscan -dd
>> * -s (source) launches uscan + dpkg-source -b . and (quilt pop -a &&
>> rm -rf .pc)
>> * -i (import) uscan + dpkg-source + git tag -d upstream/<version>
>> if exists + gbp import-dsc ...
>> OR (I prefer this way):
>> * -d launches uscan
>> * -i launches uscan + git tag -d upstream/<version> if exists +
>> gbp import-orig ../newtar.org.tar.gz
>>
>> Also:
>> * -f launches also a "git push origin -d upstream/<version>" to clean
>> upstream repo if needed (fix upstream tag)
>>
>> dpkg-source does not read debian/gbp.conf, then some unwanted files may
>> be imported (upstream .gitignore,...). Also "dpkg-source + gbp
>> import-dsc" needs to clean repo, a "git reset --hard" will not work for
>> new files, then if repo is not clean, gbp will fail
>>
>> Agree ?
>
> In principle, but in practice gbp import-orig does not work with
> multiple tarballs. See #934200 gbp import-dsc always worked.
I used gbp import-orig every day with this. Note that pkg-js-tools
rename component with characters that does not match /^[\w\-]$/ to
workaround this bug. Since links are automatically fixed by pkg-js-tools
auto_configure, this works fine ;-)
I suggest also to import auto build in unstable: I think it is low risky
and could only add some warnings during build. Then instead of writing
an override_dh_auto_build, just to add a debian/nodejs/build or
debian/nodejs/<component>/build
No change for package that have already an override_auto_build.
More information about the Pkg-javascript-devel
mailing list