Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]CALLING ALL GURU's!

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "Nathan Doss" <ndoss AT mtlaurel.org>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]CALLING ALL GURU's!
  • Date: Wed, 21 Aug 2002 12:34:56 -0400


Geoffrey writes:

> 1. One of the spells I have in my section pulls from CVS. The
> actual download happens in the PRE_BUILD file. Now because CVS is
> constantly changing, I initially didn't see a way to MD5 sum this
> one. It was suggested to me a couple days ago to set a specific date
> revision, so I'll give that a try. But this brings me to my
> question. In sorcery, the devel version has the ability to download
> from CVS urls. Does sorcery pull a specific date revision, which can
> be checksumed, or does it pull the current version, which because of
> it's dynamic nature can not be checksumed? If it pulls the current
> version, how are we supposed to checksum it?

The code currently only allows you to check out the latest version
or a tagged version. It probably wouldn't be all that difficult to
support dates but they are not currently supported.

Included below is a a description pulled from the header of the sorcery
CVS module.
--
Nathan Doss ndoss AT mtlaurel.org


... For cvs urls so we use a source mage specific format:

cvs://CVSROOT:MODULE_NAME

The above url will download the latest version of the specified
module (i.e., the HEAD revision). To specify a specific revision,
the following format can be used:

cvs://CVSROOT:MODULE_NAME:REVISION_TAG

The CVSROOT portion of the url may include information such as type
of cvs server, port number for the server, user name, password, cvs
repository directory, etc. The CVSROOT syntax is defined by cvs and
is as follows:

:method:[[user][:password]@]hostname[:[port]]/path/to/repository

For more details, see the CVS manual at
http://www.cvshome.org/docs/manual/cvs.html


EXAMPLES

Suppose we want to download the latest version of the sorcery
scripts from cvs. We'd use the following url:

cvs://:pserver:anoncvs AT subversions.gnu.org:/cvsroot/sorcerer:sorcery

If we want the 0.1.4 release instead (i.e., those files tagged with
release-0_1_4, we would use the following url:


cvs://:pserver:anoncvs AT subversions.gnu.org:/cvsroot/sorcerer:sorcery:release-0_1_4

Some cvs repositories require passwords. One such repository is the
cvs repository for the ROOT package (an object-oriented data analysis
framework, see L<http://root.cern.ch/root/>). The CVSROOT, without
the password, would look like this:

:pserver:cvs AT root.cern.ch:/user/cvs

The password for their cvs repository is I<cvs>. Adding the password
would make the CVSROOT look like this:

:pserver:cvs:cvs AT root.cern.ch:/user/cvs

Thus, the full cvs url, including the password, would be:

cvs://:pserver:cvs:cvs AT root.cern.ch:/user/cvs:root




Archive powered by MHonArc 2.6.24.

Top of Page