On Sat, Mar 20, 2010 at 10:31:36PM +0100, Benoit Chesneau wrote:
> Hi all,
> 
> does anyone manage ports via git ? I'm looking for info on how to do
> it or better if it exist a repository somewhere ?

I have a script that runs via cron, doing cvsync, cvs up, git add, git
commit, git push for all trees. CVS directories are not imported into
git as they slow down too much.

I've failed numerous times to convert src to git, mostly because it
takes ages, the conversion tools are not made to scale to that many
commits and they use cvs log, which makes it impossible to distinguish
between commits and cvs log fragments in the commit message.

The exception might be Keith Packards parsecvs, but that has its own
problems. Last time I've tried there was a huge memory leak in gits
libgit.a.

I'm curious how http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/ is
made. It's very slow to clone.

Back to topic, having the files in git allows to create a branch for
every independent changeset (I leave "master" untouched). Rebasing and
reorganising patches gets easy as pie. You have to be comfortable with
gits rebase features and interactive modes, otherwise it's not going to
be of much help IMHO.

So there, quick version of how I use git ;)

See http://gitorious.org/openbsd-ports-wip for yet another way to use
git.

> 
> - benoit

Reply via email to