Changeset 22648


Ignore:
Timestamp:
Mar 9, 2007, 4:46:13 AM (13 years ago)
Author:
jmpp@…
Message:

We don't always want the "distfromsvn" target of the main Makefile to build the full archive tarballs
(the ones including the dports tree), for instance when testing rc's we may only want base tarballs, so
lets add a conditional there.

I'm also updating the ReleaseProcess file to reflect this change and to use the recommended URL -> URL syntax
for the copy command when branching and tagging.

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Makefile.in

    r22641 r22648  
    6969_dopkg: _gettag _pkgdist
    7070
    71 # This target fetches a tagged distribution from cvs, and generates tarballs and checksums for it
     71# This target fetches a tagged distribution from svn, and generates tarballs and checksums for it
    7272distfromsvn:
    7373        @[ -n "${DISTVER}" ] || ( echo Must specify DISTVER, like: make DISTVER=1.4 dist; exit 1 )
     
    7575        rm -f ${DISTDIR}/${DISTNAME}.chk.txt
    7676        ${MAKE} PKGNAME=${DISTNAME} REPOPATH=macports/base SVNTAG=${DISTTAG} _dopkg
     77ifeq ($(ARC),yes)
    7778        ${MAKE} PKGNAME=${DISTARCNAME} REPOPATH=macports SVNTAG=${DISTARCTAG} _dopkg
     79endif
    7880
    7981test::
  • trunk/base/ReleaseProcess

    r22641 r22648  
    3636* Create the branch (e.g. release_1_4) through the svn "copy" command for history preservation:
    3737
    38  svn copy -r<rev> http://svn.macports.org/repository/macports/trunk/base/ http://svn.macports.org/repository/macports/branches/release_1_4
     38 svn cp -r<rev> http://svn.macports.org/repository/macports/trunk/base/ http://svn.macports.org/repository/macports/branches/release_1_4
    3939
    4040The actual release, alpha or beta releases, release candidates, and any point releases will all live on this branch, and tagged appropriately and if necessary (a must for the actual releases, optional for beta snapshots) into the /tags svn directory.
     
    6767We first tag the branched base directory for the release
    6868
    69  svn copy branches/release_1_4 http://svn.macports.org/repository/macports/tags/release_1_4_0
     69 svn cp http://svn.macports.org/repository/macports/branches/release_1_4 http://svn.macports.org/repository/macports/tags/release_1_4_0
    7070
    7171Although only the base subdirectory is branched and tagged for a given major release, we also create a seperate tag for the entire tree (base sources and full ports tree) at the time a release tag is created, in order to provide a stake in the ground that specifies a set of ports intended to work with that release. Note that this tag incorporates the entire svn trunk directory at TOT (top of tree), except for the base directory which is kept at the point of the release.
     
    9494 make DISTVER=1.4 DISTTAG=release_1_4_0 distfromsvn
    9595
    96 Note that DISTTAG is generated from DISTVER automatically. But our naming convention drops the last .0 in the DISTNAME, so for x.y.0 releases, you want to specify these distinctly, as above.
     96Note that DISTTAG is generated from DISTVER automatically. But our naming convention drops the last .0 in the DISTNAME, so for x.y.0 releases, you want to specify these distinctly, as above. Also, you need to pass the "ARC=yes" flag on the command line to the "distfromsvn" target if you wish to produce tarballs for the full archive.
    9797
    9898These tarballs are uploaded via svn to http://svn.macports.org/repository/macports/downloads/MacPorts-1.4/ directory.
Note: See TracChangeset for help on using the changeset viewer.