Differences between revisions 1 and 2
Revision 1 as of 2013-01-19 18:40:11
Size: 2459
Editor: ?NandajaVarma
Comment:
Revision 2 as of 2013-01-19 18:46:43
Size: 2523
Editor: ?NandajaVarma
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
For that you will have to request for a membership in the pkg-ruby-extras team from [[https://alioth.debian.org/projects/pkg-ruby-extras/]]. 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. For that you will have to request for a membership in the pkg-ruby-extras team from here:
*
[[https://alioth.debian.org/projects/pkg-ruby-extras/]].
t 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.
Line 28: Line 30:

== Adding the package to the repo ==
Line 32: Line 37:
Line 37: Line 43:
Line 38: Line 45:
*master
*pristine-tar
*upstream
* master
* pristine-tar
* upstream
Line 42: Line 50:
Line 47: Line 56:

Translation(s): none


Introduction

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: * https://alioth.debian.org/projects/pkg-ruby-extras/. t 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.

Alioth SSH

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 alioth as follows:

ssh alioth-user@alioth.debian.org

For more info on ssh access refer http://wiki.debian.org/Alioth/SSH

Creating a pkg-ruby-extras git repo

Once you are logged in, 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 the 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:

gbp-clone --pristine-tar alioth-login@git.debian.org:/git/pkg-ruby-extras/ruby-timecop

This should give you some errors as the repo is empty. So ignore them. Assuming that you have an up-to-date gitorious repo for the current package, pull all the branches from gitorious repo to the cloned one in your local machine.

git pull address_of_gitorious_repo

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: * master * pristine-tar * upstream

You can also use any git visualization tools 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

You'll soon receive a mail saying that your package is being held until the list moderator can review it for approval.