Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 14:18:19 -0800 (PST)
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Cronjob Cvsup -> What?
Message-ID:  <1359325099.95581.YahooMailClassic@web164003.mail.gq1.yahoo.com>
In-Reply-To: <20130127150530.5b083a04@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help


..........
>Thomas Mueller wrote:> I've always used "portsnap fetch update" after the =
initial "portsnap> fetch" and "portsnap extract".=A0 What would be the adve=
rse side effect> of using svn instead?In general it's best to avoid mixing =
update tools unless you fullyunderstand all the corner cases and know it's =
safe. The most significant=A0 problem is they can lose track of what filesn=
eed to be deleted, which can lead to obsolete patch files being leftin the =
tree. One of the functions of "portsnap extract" is to eliminateextra files=
 in port directories to avoid this >problem.
.........
Svn has a a few drawbacks vs csup (space required, longer backups without
- .svn=A0=A0 # or equiv=20
in an exclude file, maybe others...)

however it may be more advantageous if one understands its use cases and th=
e
consequences of each one.=A0 Someone would someday maybe be resourceful
enough to write one up and post it somewhere in a flowchart...
(the "revert" "up" "svnweb"=20
script -a a.log svn up /usr/ports=20
(the intitial creation of it with the long CLI in the forum...)
# port # svn revert Makefile
# port # svn -R revert .
# svn up /usr/ports/multimedia/mplayerxp
.... etc etc...=20
As a newbie, those are all I know so far .=A0 And one can use workarounds i=
f
a disk is short on space,=20
mount -t ufs -o union(fs) /dev/da0 /usr=20
and even
svn -up /usr/ports=A0=A0 # after it mounts correctly
... to update the thumbdrive before port updates on the low-disk-space mach=
ine.
(that is the procedure as I recollect it anyway.=A0 Something could be slig=
htly
different.)
(if /ports in on the thumbdrive)=A0 (that syntax is probably correct, but I=
 am at another CPU and cannot check it right away.)



J. Bouquet
(Sorry for the post formatting and any typos...)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359325099.95581.YahooMailClassic>