Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 3265] cvs export ability

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 3265] cvs export ability
  • Date: Thu, 8 May 2003 12:59:56 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=3265





------- Additional Comments From ashaman AT flyingtemple.com 2003-05-08 12:59
-------
I had to modify that diff just a bit to get md5s to work perfectly.

< message "${MESSAGE_COLOR}Running cvs checkout...${DEFAULT_COLOR}"
< cvs $CVS_COMPRESSION -q -d$CVS_ROOT checkout -r $CVS_TAG -d $S_FILE
$CVS_MODULE
> if [ "$CVS_TAG" == 'HEAD' -o "$CVS_TAG" == 'MAIN' ] ; then
> message "${MESSAGE_COLOR}Running cvs checkout...${DEFAULT_COLOR}"
> cvs $CVS_COMPRESSION -q -d$CVS_ROOT checkout -r $CVS_TAG -d $S_FILE
$CVS_MODULE
> else
> # if CGS_TAG is not HEAD or MAIN, use export, losing ability to update,
> # but allowing MD5s to work on static releases.
> message "${MESSAGE_COLOR}Running cvs export...${DEFAULT_COLOR}"
> cvs $CVS_COMPRESSION -q -d$CVS_ROOT export -r $CVS_TAG -d $S_FILE
> $CVS_MODULE
> message "${MESSAGE_COLOR}Removing extraniou cvs files${DEFAULT_COLOR}"
> rm -v `find $S_FILE -name ".cvsignore"`
> rm -v `find $S_FILE -name ".todo"`
> fi

That completely removed all cvs files that changed for me and thusfar seems to
be working. I did run into one problem though. One of the things I had done
in
my experimental spell, since I noticed the line

if [ -f $SOURCE_CACHE/$S_FILE.tar.bz2 ]; then

I was hoping to set the compression / extention for the exports to a tar.gz so
that it wouldn't find the bz2 file and try and update on future downloads.
The
problem I ran into, is that's not going to work because the url_cvs forces it
to
be a tar.bz2 and I'm not sure what would need to change to allow a spell to
sett
a SUFFIX like I was trying to do.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page