Date: Thu, 28 Jun 2012 15:33:16 +0300 From: mbsd <mbsd@isgroup.com.ua> To: freebsd-ports@freebsd.org Subject: Re: [HEADS UP] Ports tree migration to Subversion Message-ID: <1340886796.24395.9.camel@localhost> In-Reply-To: <20120627173011.GA50088@freefall.freebsd.org> References: <20120627173011.GA50088@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi list. It will be wonderful. When src had moved to svn, nobody cared about make update command. I wish to had this in ports makefile: --- /usr/ports/Makefile 2012-06-07 09:26:08.983664775 +0300 +++ /tmp/Makefile 2012-06-28 15:25:03.000000000 +0300 @@ -153,6 +153,7 @@ CVS?= cvs SUP?= csup +GIT?= git PORTSNAP?= portsnap PORTSNAP_FLAGS?= -p ${.CURDIR} .if defined(SUPHOST) @@ -170,6 +171,15 @@ @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} @echo "--------------------------------------------------------------" cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I! +.elif defined(GIT_UPDATE) + @echo "--------------------------------------------------------------" + @echo ">>> Updating ${.CURDIR} from GIT+SVN repository" ${CVSROOT} + @echo "--------------------------------------------------------------" +.if !exists(${PORTSDIR}/.git) + cd ${.CURDIR}; ${GIT} svn rebase +.else + ${GIT} svn clone -$(svn log -q --limit 1 $SVN_ROOT | awk '/^r/{print $1}') $SVN_ROOT +.endif .else @echo "--------------------------------------------------------------" @echo ">>> Running ${PORTSNAP}" On Wed, 2012-06-27 at 17:30 +0000, Thomas Abthorpe wrote: > The FreeBSD ports tree will migrate from CVS to Subversion soon. The > anticipated date for the migration is July 14th. This will have no impact > for ports tree users as there will be a SVN to CVS exporter. > > Please note that cvsup will still work after the migration. Nevertheless > c(v)sup is pretty dated so you may want to see if portsnap(8) will fit your > needs. > > Beat and Thomas > on behalf of portmgr@ > > http://blogs.freebsdish.org/portmgr/2012/06/27/ports-tree-migration-to-subversion/ > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1340886796.24395.9.camel>