From owner-freebsd-ports@FreeBSD.ORG Thu Jun 28 12:33:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7C54106566B for ; Thu, 28 Jun 2012 12:33:35 +0000 (UTC) (envelope-from mbsd@isgroup.com.ua) Received: from mail.standard.com.ua (mail.isgroup.com.ua [46.229.54.104]) by mx1.freebsd.org (Postfix) with ESMTP id 23B658FC0A for ; Thu, 28 Jun 2012 12:33:34 +0000 (UTC) Received: from [192.168.0.2] (unused-213.111.71.69.bilink.ua [213.111.71.69] (may be forged)) (authenticated bits=0) by mail.standard.com.ua (8.14.3/8.14.3) with ESMTP id q5SCQB8o036384 for ; Thu, 28 Jun 2012 15:26:11 +0300 (EEST) (envelope-from mbsd@isgroup.com.ua) From: mbsd To: freebsd-ports@freebsd.org In-Reply-To: <20120627173011.GA50088@freefall.freebsd.org> References: <20120627173011.GA50088@freefall.freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 28 Jun 2012 15:33:16 +0300 Message-ID: <1340886796.24395.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=9.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.isgroup.com.ua Subject: Re: [HEADS UP] Ports tree migration to Subversion X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2012 12:33:35 -0000 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"