Skip to content
Snippets Groups Projects
Unverified Commit e0b093b8 authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf
Browse files

Add step about d/apertis/component file


This file is used throughout our Apertis packaging repositories by all
packages. It specifies which repository component a package is part of

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
parent e5b3753a
No related branches found
No related tags found
1 merge request!49Add step about d/apertis/component file
Pipeline #143897 passed
...@@ -209,6 +209,11 @@ This is the process to import a new package from Debian to Apertis: ...@@ -209,6 +209,11 @@ This is the process to import a new package from Debian to Apertis:
* don't use `import-debian-package` on existing repositories, it does not * don't use `import-debian-package` on existing repositories, it does not
attempt to merge `apertis/*` branches and instead it re-sets them to new attempt to merge `apertis/*` branches and instead it re-sets them to new
branches based on the freshly imported Debian package branches based on the freshly imported Debian package
* Add a `debian/apertis/component` file reflecting the repository component it is part of (for instance, `target`)
* check out the apertis repository: `git checkout apertis/v2021dev0`
* add the component file: `echo target > debian/apertis/component`
* add the component file to git: `git add debian/apertis/component`
* commit the file: `git commit -m "Add d/apertis/component file pointing to target" debian/apertis/component`
* create an empty project on GitLab under the `pkg/*` namespaces (for instance, `pkg/target/hello`) * create an empty project on GitLab under the `pkg/*` namespaces (for instance, `pkg/target/hello`)
* configure the origin remote on your local git: `git remote add origin git@gitlab.apertis.org:pkg/target/hello` * configure the origin remote on your local git: `git remote add origin git@gitlab.apertis.org:pkg/target/hello`
* push your local git contents to the newly created GitLab project: `git push --all --follow-tags origin` * push your local git contents to the newly created GitLab project: `git push --all --follow-tags origin`
......
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