Skip to content
Snippets Groups Projects
Commit 9dcb31c8 authored by Dylan Aïssi's avatar Dylan Aïssi Committed by Emanuele Aina
Browse files

Clarify the use of the --version option for import-debian-package


This option is not commonly used for the Apertis maintenance, but
very useful in some specific cases. Add a concrete example of how
to use it.

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 728a73a0
No related branches found
No related tags found
1 merge request!529Clarify the use of the --version option for import-debian-package
Pipeline #565829 passed with warnings
......@@ -87,10 +87,6 @@ have access to the Apertis Gitlab server, see
$ import-debian-package --upstream buster --downstream apertis/v2021 --component target --package hello --push-remote
To fetch a specific version, add the `--version` option:
$ import-debian-package --upstream buster --downstream apertis/v2021 --component target --package hello --push-remote --version 2.10-2
* The argument to `--component` reflects the repository component it is part
of (for instance, `target`); it will be stored in
`debian/apertis/component`.
......@@ -115,6 +111,18 @@ have access to the Apertis Gitlab server, see
branches based on the freshly imported Debian package.
{{% /notice %}}
Occasionally, we may need to import a specific version not available anymore
in the official Debian archive. By passing the `--version` option to
`import-debian-package`, it will fetch the given version from the official
Debian snapshot archive: [snapshot.debian.org](https://snapshot.debian.org/).
Let's take the example of `pipewire` version `0.3.10-1`. This version is not
available anymore in the main archive since Debian 10 provides `0.2.5-1`
whereas Debian 11 provides `0.3.19-4`. Thus, we can import this version
by passing `--version 0.3.10-1`:
$ import-debian-package --upstream snapshot --downstream apertis/v2021 --component target --package pipewire --version 0.3.10-1
## Adding New Packages from Upstream Sources
There are likely to be instances where it is desirable to import the latest
......
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