Once you are done with all the steps of packaging the gem, it is time to add it to the pkg-ruby-extras git repo at alioth. For that you will have to request for a membership in the pkg-ruby-extras team from here:
It may take a while to get it approved. Once you get added to the team you can add your package to the debian git repository directly using your login name and following the steps below.
You will find more detailed information about this here:
To create a repository at debian git you have to login to alioth via ssh. Add your ssh public key to your alioth user page. It may take around an hour to get activated. Now login to git.debian.org (vasks) as follows:
For more info on ssh access refer Alioth/SSH.
Creating a pkg-ruby-extras git repo
Once you are logged in on git.debian.org, go to the directory /git/pkg-ruby-extras and create the new repository there.
cd /git/pkg-ruby-extras/ ./setup-repository <ruby-timecop>
ruby-timecop being a pattern. The last command will create an empty git repository named ruby-timecop at git.debian.org.
Adding your package to the repo
Now clone this empty repository on your local machine. Go to some new directory in your local machine and clone this repo as follows:
git clone firstname.lastname@example.org:/git/pkg-ruby-extras/ruby-timecop.git
This should give you some errors as the repo is empty. So ignore them.
Assuming that you have an up-to-date gitlab repo for the current package, pull all the branches from gitlab repo to the cloned one in your local machine.
git pull address_of_gitlab_repo git fetch address_of_gitlab_repo upstream:upstream git fetch address_of_gitlab_repo pristine-tar:pristine-tar
Now it's time to push it to the repo at git.debian.org. Before that make sure that you have all the three branches, which are:
You can also use any git visualization tool like gitg (for Gnome), qgit (for KDE) or tig (for terminal) for verification.
Once you have made sure that all is well, go ahead and push everything to the repo at debian git.
git push --all git push --tags
Commits are sent by email to the email@example.com mailing list. These messages from people not subscribed to that list are moderated. Please subscribe to the list with the email address you used to configure Git, so that these emails go through directly.