dunetna

[debian] [free software] [free knowledge] [sharing]


Non-DD to DD steps

Description: If you've been collaborating to Debian as a non-DD and then you become a DD with uploading rights, you have to do some changes in all your configurations. Here you have the changes I did.

Language(s): English

Mail

Create a new identity in your mail client with the appropiate From: header. For example, if you use mutt, in .mutt/muttrc:

set from="ddnick@debian.org"

GPG key

Add an id to your gpg key:

$ gpg --edit-key your_key
...
gpg> adduid
Real name: your_real_name
Email address: ddnick@debian.org
Comment: 
...
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
...
gpg> save

If you wish, set primary uid:

$ gpg --edit-key your_key
...
gpg> uid id_of_the_primary_key
...
gpg> primary
...
gpg> save

Send key to key server:

$ gpg --keyserver pgp.mit.edu --send-key your_key

DEBEMAIL

Update .bashrc:

export DEBEMAIL=ddnick@debian.org

Send RSA key

First, maybe you want to generate a new RSA pair of keys:

$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/name/.ssh/id_rsa): /home/name/.ssh/id_rsa.debian
...

Then send it to changes@db.debian.org :

$ cat .ssh/id_rsa.debian.pub | gpg --clearsign | mail -s "Sending RSA key" changes@db.debian.org -- -f ddnick@debian.org

You'll receive a confirmation mail.

See https://db.debian.org/doc-mail.html for more info.

If you want that id_rsa.debian is the key by default:

mv id_rsa id_rsa.other
mv id_rsa.pub id_rsa.other.pub
cp id_rsa.debian id_rsa
cp id_rsa.debian.pub id_rsa.pub

When you connect to Debian machines, the fingreprint of the machine will be shown and you must check it in: https://db.debian.org/machines.cgi. Click on the machine you're interested in to see more details.

Alioth

VCS repos

If you had a good config like this in .ssh/config:

Host git.debian.org svn.debian.org alioth.debian.org
User nick-guest

You only have to change your debian nick:

Host git.debian.org svn.debian.org alioth.debian.org
User ddnick

If not, do previous config and change your remote branches. If you use git:

$ git remote -v
alioth ssh://nick-guest@git.debian.org/git/collab-maint/your_package.git (fetch)
alioth ssh://nick-guest@git.debian.org/git/collab-maint/your_package.git (push)
$ git remote rm alioth
$ git remote add alioth ssh://git.debian.org/git/collab-maint/xsol.git
$ git remote -v
alioth ssh://git.debian.org/git/collab-maint/your_package.git (fetch)
alioth ssh://git.debian.org/git/collab-maint/your_package.git (push)

Update .gitconfig:

[user]
      name = Your Name
      email = ddnick@debian.org

If you don't want this mail as the global one, see http://stackoverflow.com/questions/9063176/git-multiple-user-names-for-the-different-projects-within-the-same-system

Lists

if you want, subscribe with your new mail and unsubscribe with the other one, but it's not necessary as lists.d.o are open.

First uploads

debian/control: change the Maintainer field with your new mail.

debian/changelog: Annotate the debian/control change :-)

No more:

dput mentors package*.changes

Now:

dput package*.changes