Skip to content

Debian - Import a new package into Salsa

Install required packages

Packages that need to be installed on your system are git and git-buildpackage.

Create Project

Create an empty Salsa project for your package.

Note:
Be sure to deselect '''Initialize repository with a README'''.

Clone Project

Clone the created empty Salsa repository.

git clone git@salsa.debian.org:SALSA_USER/PACKAGE.git


Import Project

cd into the directory of the salsa project you created and just cloned. Now import your package into the newly created Salsa repository (local).

gbp import-dsc --pristine-tar PATH_TO_PACKAGE_DSC_FILE


Push Project

Push your package with branches and tags to Salsa (remote).

git push -u --all --follow-tags