[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debian Packaging
From: |
Pavel Roskin |
Subject: |
Re: Debian Packaging |
Date: |
Mon, 07 Jan 2008 20:03:14 -0500 |
On Tue, 2008-01-08 at 11:26 +1300, Centurion Computer Technology (2005)
Ltd wrote:
> Hopefully Pavel can enlighten us on how this relates to CVS. I thought
> everything was/had moved to git. I assume that if youa dd it to CVS
> then it will be magically replicated in the git repository
There is no magic here. I just run a simple script from time to time
(it's not even a cron job). I cannot promise that it will happen
forever.
I suggest that you don't rely on the git repository as it is now. I
don't want to be in the position that others depend on me running
something every day or on my machine being up and running.
If you really need a git repository, I suggest that you make your own
mirror or take over the mirroring process on repo.or.cz and make it
automatic. You'll need a user account on repo.or.cz for the later.
Just in case, that's the script I'm using:
#!/bin/sh
GRUB2_GIT_DIR=/home/proski/src/grub2-git
GRUB2_CVS_AUTHORS=/home/proski/local/grub-cvs-authors
GRUB2_CVS_ROOT=:pserver:address@hidden:/cvsroot/grub
GRUB2_GIT_REPO=git+ssh://repo.or.cz/srv/git/grub2.git
cd "$GRUB2_GIT_DIR"
git-cvsimport -d "$GRUB2_CVS_ROOT" -C "$GRUB2_GIT_DIR" -k -u -A \
"$GRUB2_CVS_AUTHORS" -a grub2
git-update-server-info
git-gc --prune
git-push --all "$GRUB2_GIT_REPO"
--
Regards,
Pavel Roskin