[csw-maintainers] experimental: subversion --> git, mercurial

Ben Walton bwalton at opencsw.org
Sun Jul 17 13:20:03 CEST 2011


Excerpts from rupert THURNER's message of Sun Jul 17 07:15:53 -0400 2011:

> when building libserf, not using a standard svn working copy but a git
> checkout, it gives:
> * Platform solaris9-i386 (built on host 'current9x')
> Use of uninitialized value $REVISION in sprintf at gar//bin/mkpackage line
> 31.
> Use of uninitialized value $REVISION in sprintf at gar//bin/mkpackage line
> 31.
>   CSWlibserf0-0
>  /home/rupert/pkgs/17.Jul.2011/libserf0_0_stub-1.0.0,REV=2011.07.17-SunOS5.9-all-NOTVERSIONED.pkg.gz
>   CSWlibserf1-0
>  /home/rupert/pkgs/17.Jul.2011/libserf1_0-1.0.0,REV=2011.07.17-SunOS5.9-i386-NOTVERSIONED.pkg.gz

This is something we'd need to work out if switching to git.  Most
like, we'd want to substitue the first 7/8 chars of the sha1
representing the HEAD commit that you build from.  We'd also need to
ensure that the sha1 was containined in the set of commit referenced
by the origin/master remote references.  This is because in git, a
committed set of files does not mean a publicly available set of
files/commits.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the maintainers mailing list