D.4. How to add a new package

Let's take dose2 as an example. The following command (the new-d-o-m-git-repo is available at the same location of checkout-d-o-m-git-repo):

  new-d-o-m-git-repo dose2 /some/where/dose2-1.2.tar.gz
will create the remote repository on Alioth, set up notifications, and inject the given tarball in the repository in the upstream branch (using pristine-tar). More details there. You can then check it out and start using it.

If the tarball name is missing, new-d-o-m-git-repo will check that the current directory is a git repository, and then push it to Alioth. This allows you to create the repository locally, work on it, and only push it when it is in good shape. It is recommended to check it out after, and use the checked out version, to make sure everything went well, and to have local branches tracking remote ones.