Re: svn - but smaller?
On Tue, 9 Apr 2013 17:05:28 +0200
=A0"Patrick M. Hausen" <hausen@punkt.de> wrote:
> Hi, all,
> =
> first a big big thank you to John an all others involved =
>for all the work.
> =
> A bit more slowly than cvsup but definitely a lot more =
>convenient than
> using plain subversion. Part of the slow performance may =
>be due to the
> fact that there is no local German svn mirror, yet. I'll =
>try with my own mirror
> in a couple of days.
> =
> I immediately asked myself: how can I set this up so I =
>can use "make update"
> like I'm used to? SVN_UPDATE looks for a .svn directory, =
>so it cannot work with
> svnup.
> =
> Here's how:
> =
> root@gordon:/ # cat /etc/make.conf =
> SUP_UPDATE=3D yes
> SUP=3D /usr/local/bin/svnup
> SUPHOST=3D svn0.us-east.freebsd.org
> SUPFLAGS=3D
> SUPFILE=3D -b base/stable/9 -l /usr/src
> PORTSSUPFILE=3D -b base/head -l /usr/ports
> =
> OK, this gives a big warning banner and it's an abuse of =
>a mechanism intended
> for another utility =85 but it works nonetheless ;-)
> =
> I therefore propose an extension to =
>/usr/src/Makefile.inc1 like this:
> =
> update:
> .if defined(SVNUP_UPDATE)
>=A0=A0=A0=A0=A0=A0=A0=A0@echo =
>"--------------------------------------------------------------"
>=A0=A0=A0=A0=A0=A0=A0=A0@echo ">>> Running ${SVNUP}"
>=A0=A0=A0=A0=A0=A0=A0=A0@echo =
>"--------------------------------------------------------------"
> .if defined(SVNUPFLAGS)
>=A0=A0=A0=A0=A0=A0=A0=A0@${SVNUP} ${SVNUPFLAGS} -h ${SVNUPHOST}
> .endif
> =85
> =
> Just a rough sketch - I can put more thought into this =
>if nobody else is already
> working on it.
> =
> Best regards,
> Patrick M. Hausen
> Leiter Netzwerke und Sicherheit
> -- =
> punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
> Tel. 0721 9109 0 * Fax 0721 9109 100
> info@punkt.de=A0=A0=A0=A0=A0=A0 http://www.punkt.de
> Gf: J=FCrgen Egeling=A0=A0=A0=A0=A0=A0AG Mannheim 108285
> =
> =
> =
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to =
>"freebsd-stable-unsubscribe@freebsd.org"
> =
Hello,
I've added support for a configuration/preferences file to =
store commonly used settings for an arbitrary number of =
branches (ports, stable, current, etc.).=A0 For the default =
groups, they can easily be synchronized by executing =
"svnup ports", "svnup stable", etc.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 135 之 145 篇):