[debian-lan-devel] git repository

Jonas Smedegaard dr at jones.dk
Fri Nov 18 10:10:10 UTC 2011


On 11-11-14 at 06:25pm, Andreas B. Mundt wrote:
> I'm not yet familiar with the alioth git stuff and collab-maint, can 
> you recommend how to proceed?  (Feel free to change what is needed, if 
> you have time).
> 
> As soon as we have the git repository the way we want it, we should 
> upload the stuff I have so far and then discuss how to proceed best.

Instead of me doing the preparation stuff, I find it better that one of 
you do it, which ensures (by discussing the process here) that it 
becomes shared knowledge among us how it works :-)

So...

Each of us needs to have write access to collab-maint area at Alioth.  
That requires a) an account at Alioth, and b) membership of debian-lan 
and collab-maint groups, and c) actual ssh access.

That last part is done using ssh keys (not password).  More info here: 
http://wiki.debian.org/Alioth/SSH

When done, each of us should be able to do "ssh git.debian.org", even 
now before the git exists yet!


Then you, Andreas, whould create the shared git at alioth, and push your 
local work onto that git, suing something like this:

  ssh git.debian.org
  cd /git/collab-maint
  ./setup-repository debian-lan 'debian-lan development and packaging."
  exit
  cd whereveryouhaveyourlocalgit/debian-lan
  git remote add debian git.debian.org:/git/collab-maint/debian-lan
  git push --all debian
  cd ..
  mv debian-lan debian-lan.old
  git clone git.debian.org:/git/collab-maint/debian-lan

Last two lines are not strictly needed but makes sure to treat Alioth as 
your main remote both for pull and push.

When done, the rest of us can do last line, and hack on the code. :-)



Hope that makes sense,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-lan-devel/attachments/20111118/7844edbb/attachment.pgp>


More information about the debian-lan-devel mailing list