Date: Fri, 1 Feb 2008 04:11:58 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-hackers@freebsd.org Subject: Re: [OT] Q: what would you choose for a VCS today Message-ID: <20080201021158.GA5671@kobe.laptop> In-Reply-To: <20080201000047.GA2452@kobe.laptop> References: <78cb3d3f0801302245v2183c613t6ecdd9acebbe9ef7@mail.gmail.com> <20080131203705.GB1674@ted.stsp.name> <20080201000047.GA2452@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-02-01 02:00, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote: > You can keep 'importing' snapshots of the src tree from any arbitrary > CVS branch, if you are willing to wait until CVS checks out the first > copy of the snapshot. > > This is how we 'resync' with the official doc/ tree changes in the Greek > translation team: > > (a) We keep a Mercurial workspace which is read-only to everyone > else, except the importer. > > (b) The importer checks outs doc/ snapshots and commits them as > 'vendor code drops' in http://hg.hellug.gr/freebsd/doc/ > > (c) I pull changes from the 'import tree' into my own personal > workspace, and merge them with the latest translation effort text. > > (d) Then the merged tree is pushed to a second 'workspace', 'branch' > or whatever you prefer calling it, at http://hg.hellug.gr/freebsd/doc-el/ > > The whole process of importing clean snapshots is automated in a shell > script, which I manually kick off at this point: An much improved snapshot import script is now finished (for some odd definition of `improved' I guess), even thought it is still a bit ugly for my taste. http://people.freebsd.org/~keramida/scripts/bsd-doc-import.ksh.txt I'd probably prefer Perl for some of the stuff done in ksh(1) there, but no time for that tonight, and it seems to work as a 'proof of concept' of importing partial checkouts from CVS to Hg without having to go through all the hoops of converting the *full* history. The cron job entry which runs this is: # Try to import a snapshot of the BSD doc/ tree once an hour. @hourly $HOME/bsd-doc-import.sh $HOME/hg/doc/bsd-import This is getting pretty off-topic for freebsd-hackers though, so it's probably time for me to shuttup and go do something useful :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080201021158.GA5671>