Item11171: Build tools tied to svn - can't easily build Foswiki release from a git checkout

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: BuildContrib, SCM
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
  • tools/check_manifest.pl uses svn ls to list repo contents.

-- GeorgeClark - 06 Oct 2011

  • tools/build.pl issues a propset LASTBUILD This svn command cannot be issued using git. The other svn commands used to list existing tags, and to commit a modified Foswiki.pm could be done under git.

-- GeorgeClark - 07 Oct 2011

Checked in changes to build.pl - it will build and name a Foswiki release under git, with a couple of limitations:
  • It does not propset LASTBUILD. This would have to be done under svn.
  • It does not do the final git svn dcommit to push the named Foswiki back to svn. It's possible to "revert" the build by issuing git reset HEAD~ to drop the commit.
  • It does not maintain $Rev$ and $Date$ keywords in files. This needs to be addressed before building a real release!

It also does some additional repository checking. It will not allow the build:
  • If any tracked files have not been committed (new, modified or deleted).
  • If the top log record does not have an svn commit id.

-- GeorgeClark - 09 Oct 2011

I've built Foswiki 1.1.8 and 1.1.9 exclusively from a git-svn checkout. This task can be closed.

-- GeorgeClark - 20 Dec 2013
 
Topic revision: r16 - 20 Dec 2013, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy