[med-svn] [Debian Wiki] Update of "DebianMed/MoM" by AndreasTille

Debian Wiki wiki at debian.org
Sun Apr 5 21:40:20 BST 2020


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianMed/MoM" page has been changed by AndreasTille:
https://wiki.debian.org/DebianMed/MoM?action=diff&rev1=102&rev2=103

   1. So far for the preparation of the {{{debian/}}} dir.  Now we create the actual packaging git.  Now it becomes obvious why in the beginning the '_' was attached to the package name.  We need a fresh directory with the package name now.  This is the way how you can create the repository and import the source tarball
       mkdir PACKAGE && cd PACKAGE && git init && gbp import-orig --pristine-tar --no-interactive ../PACKAGE_VERSION.orig.tar.gz
   1. Finally move over you prepared {{{debian/}}} dir and commit it
-      mv PACKAGE_/debian PACKAGE && cd PACKAGE && git add debian && commit -a -m"Initial packaging"
+      mv PACKAGE_/debian PACKAGE && cd PACKAGE && git add debian && git commit -a -m"Initial packaging"
   1. For injection into salsa.debian.org we have a helper script.  Go somewhere else (may be close to the package_template git and do
       git clone https://salsa.debian.org/med-team/community/helper-scripts
   1. Now inject your initial repository by going back to your packaging Git.  The script will tell you that you need to create a SALSA_TOKEN and how to do this.  Just do what the script tells you to do and than call again
-      PATH_TO_package_template_CLONE/inject-into-salsa-git
+      PATH_TO_helper-scripts_CLONE/inject-into-salsa-git
   1. When intending to create package this should be announced in an so called Intent To Package (ITP) bug report.  Usually this should be the first step before starting a package to avoid race conditions between developers preventing two people working on the same software.  Since we have not so popular software chances are low that this is happening.  Thus we are using a script that automatically drains all information from our work above and issues the ITP bug automatically.  This script was initially used in the pkg-r team so you do
     apt-get source dh-r
      or alternatively



More information about the debian-med-commit mailing list