Domain: polstra.com
Stories and comments across the archive that link to polstra.com.
Comments · 9
-
Re: csup
With 6.2, csup is even better...
To elaborate
CVSup is *the* way to update the software and the OS on FreeBSD. You keep your /usr/ports tree and src distribution of the OS in sync with the official repositories using it. It is very similar to rsync, but takes advantage of CVS source code repositories (FreeBSD is stored in CVS).
It is a great tool, and really the only downside to using it is that it was written in Modula-3. Building CVSup from sources required a *lot* of time and was unnecessarily complex. To remedy this, the author of CVSup released a language called ezm3, which is basically a stripped down version of the Modula-3 source base that "contains only those components which are required for building and running CVSup". So to build CVSup, you first built ezm3.
As you can imagine, getting Modula-3 compiled on your system (even if it is a stripped down version of Modula-3), just to run CVSup was seen as overkill. But what really prompted work on csup (according to the authors) was because "the Modula-3 runtime environment was not ported to all the architectures supported by the various *BSD projects, and it was becoming increasingly harder to find people for maintaining the code."
csup is a rewrite of the CVSup software in C. I It is pretty fast, but currently supports checkout mode only -- not that big a deal, since most people only us CVSup to keep their ports and OS src trees in sync with the upstream repositories. Furthermore, since it is written in C, this has allowed them to put it in the base FreeBSD distribution instead of shipping it as a separate package. -
cvsup
I use cvsup on all of my production boxes. I've wrapped it up in some scripts (using ssh with authorized-keys) such that the developers can issue a single command and *poof* the production server is updated with the code tagged as PRODUCTION. It's my life as sysadmin/cvs lackey a lot simpler.
What, specifically, were you looking for as far as server configuration was concerned? -
Re:The real problem
kernel.org may be better off not providing a tarball for each release, instead providing some kind of utility that downloads the latest available full kernel, but only if necessary, plus patches
I agree, that's a great idea. But it needs a good name... how about calling it CVSup? -
Re:CVSOr even better, use CVSup. See the CVSup official site for more info.
Regards, Tommy
-
Re:SCM software
no disconnected operations on the repository(e.g. checking the file history when you are on a laptop in a plane)
If this is a frequent problem for you, you might want to consider doing what FreeBSD committers generally do: mirroring the repository on your laptop (or development box, whatever). John Polstra wrote CVSup to do this efficiently over the network. -
Perhaps this will help
I haven't had a chance to try this out myself, but you may want to look into something called CVSup
-
Why reinvent the wheel???...if there is a already a good tool out there to do this sort of thing? Check out CVSUP, used to replicate all web resources of FreeBSD as well as the online newspaper DaemonNews.
Can anyone here say NIH?
-
FreeBSD & Modula-3
Modula-3 is not part of the FreeBSD base install. You are probably getting confused with the fact that a lot of FreeBSD users rely on CVSup, which is used for source-code updates and is written in Modula-3. Most of the time, you don't even need to install Modula-3 at all, you can just use the pre-built binaries of CVSup.
OBTroll: If you're thinking of Modula-3, look at Python
:-) -
Consider CVSup
Whilst optimised for use with CVS repositories, you might want to consider CVSup.