Skip to content
Snippets Groups Projects
Commit 1588bc10 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Add the new mandatory flag --reason in scripts from tests/

parent fabf8356
Branches apertis/v2025pre apertis/v2026dev0
Tags apertis/0.2024.15
1 merge request!56import-debian-package: add a mandatory flag --reason
......@@ -4,7 +4,7 @@ set -ex
: Import dash: this checks basic bits are working
$BASE/import-debian-package --upstream buster --downstreams apertis/v2020:apertis/v2021 --component target --package dash --version 0.5.10.2-5
$BASE/import-debian-package --upstream buster --downstreams apertis/v2020:apertis/v2021 --component target --package dash --version 0.5.10.2-5 --reason "This import is for checking basic bits"
cd dash/
pristine-lfs -v checkout -o .. --auto
dgit --gbp build-source
......
......@@ -4,7 +4,7 @@ set -ex
: Import dash, but do not add the version suffix — so that we do not ship dead code
$BASE/import-debian-package --upstream buster --downstream apertis/v2021 --component target --package dash --version 0.5.10.2-5 --local-version-suffix=
$BASE/import-debian-package --upstream buster --downstream apertis/v2021 --component target --package dash --version 0.5.10.2-5 --local-version-suffix= --reason "This import is for checking basic bits"
cd dash/
pristine-lfs -v checkout -o .. --auto
dgit --gbp build-source
......
......@@ -4,7 +4,7 @@ set -ex
: Import dash, but verify no extra files are added
$BASE/import-debian-package --cache ../cache --upstream buster --downstream apertis/v2021 --component target --package dash --version 0.5.10.2-5
$BASE/import-debian-package --cache ../cache --upstream buster --downstream apertis/v2021 --component target --package dash --version 0.5.10.2-5 --reason "This import is for verifying no extra files are added"
cd dash/
pristine-lfs -v checkout -o .. --auto
dgit --gbp build-source
......
......@@ -5,7 +5,7 @@ set -ex
: PHP 7.3 ships files with CR+LF line endings and .gitattributes
: We need to check we can actually deal with those
$BASE/import-debian-package --cache ../cache --upstream buster --downstream apertis/v2021 --component target --package php7.3 --version '7.3.19-1~deb10u1'
$BASE/import-debian-package --cache ../cache --upstream buster --downstream apertis/v2021 --component target --package php7.3 --version '7.3.19-1~deb10u1' --reason "This import is for checking we can deal with CR+LF line endings and .gitattributes"
cd php7.3/
pristine-lfs -v checkout -o .. --auto
dgit --gbp build-source
......
......@@ -8,7 +8,7 @@ cd ..
dget -q -u -d http://snapshot.debian.org/archive/debian/20190117T211539Z/pool/main/d/dash/dash_0.5.10.2-5.dsc
cd $OLDPWD
$BASE/import-debian-package --upstream buster --downstreams apertis/v2020:apertis/v2021 --component target --package dash --version 0.5.10.2-5 --import-local-dsc ../dash*.dsc
$BASE/import-debian-package --upstream buster --downstreams apertis/v2020:apertis/v2021 --component target --package dash --version 0.5.10.2-5 --import-local-dsc ../dash*.dsc --reason "This import is for checking basic bits"
cd dash/
pristine-lfs -v checkout -o .. --auto
dgit --gbp build-source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment