[BUGS] Australian FreeBSD Subversion Repository Mirror

Perry, Andrew perrya at shoalhaven.nsw.gov.au
Tue Aug 14 22:23:51 EST 2012


thanks John,
yes i do find it useful. 
had the opportunity to get FreeBSD into a few key roles at my work and this will help me get up to speed

regards
andrew

-----Original Message-----
From: bugs-bounces at bugs.au.freebsd.org [mailto:bugs-bounces at bugs.au.freebsd.org] On Behalf Of John Marshall
Sent: Tuesday, 14 August 2012 10:13 PM
To: BSD Users' Group Sydney
Subject: [BUGS] Australian FreeBSD Subversion Repository Mirror

G'day,

We are now hosting mirrors of the FreeBSD Subversion repositories on a
server in a Brisbane datacentre.  These local mirror repositories are
being synchronized hourly with svn.FreeBSD.org

  src	--> svn://svn.au.FreeBSD.org/base
  doc	--> svn://svn.au.FreeBSD.org/doc
  ports	--> svn://svn.au.FreeBSD.org/ports

I have also made the repositories available for web browsing via ViewVC
(devel/viewvc).

  src	--> http://svn.au.FreeBSD.org/viewvc/base/
  doc	--> http://svn.au.FreeBSD.org/viewvc/doc/
  ports	--> http://svn.au.FreeBSD.org/viewvc/ports/

The CVS repository mirror is still available and is being synchronized
hourly with cvsup-master.FreeBSD.org.  Commits to the src and ports
Subversion repositories are being exported periodically to their
historical trees in the CVS repository, so current versions of src and
ports are still available from the mirrored CVS repository.  Please
note, however, that commits to the doc Subversion repository (which now
also includes the www source) are NOT being exported to CVS.  THE DOC
AND WWW TREES IN CVS ARE STALE.

  cvsup.au.FreeBSD.org


GETTING STARTED WITH SUBVERSION

You'll need a Subversion client.  You'll find devel/subversion in the
FreeBSD ports collection or as a package.

To checkout files from a particular branch in the CVS src tree, you
would point at the src tree in all instances but select a different
branch tag (e.g. RELENG_8).  With Subversion, each branch has a
different path.  Here are some comparisons:

  Branch	CVS				SVN

  9-STABLE	src RELENG_9			/base/stable/9
  9.0-RELEASE	src RELENG_9_0_0_RELEASE	/base/release/9.0.0
  9.1		src RELENG_9_1			/base/releng/9.1

To become familiar with the repository paths, point 'svn list' at a
repository or poke around with the ViewVC links above.

So, if you want to use Subversion to checkout and track FreeBSD for the
9.1 release candidates:

  $ mkdir src
  $ svn checkout svn://svn.au.freebsd.org/base/releng/9.1 src

Now, suppose you've built a system from the src tree, run it for a few
days, and now you want to see what src changes there have been since
your checkout - without updating your copy.  The following will list
which files have changed in the repository since your checkout.

  $ cd src
  $ svn -u status

See how you didn't have to specify the URL for the repsitory?  When you
did the checkout, Subversion created a src/.svn directory which contains
metadata which includes your source repository URL.  To see a summary of
that information:

  $ svn info

So now you've decided that you want to update your src tree with the
latest updates from the branch you are tracking in the repository.

  $ svn update

Your tree is once again syncronized with the repository branch which you
checked out (/base/releng/9.1) but you've seen email about some really
exciting update which won't make it into 9.1 but is now available in
9-STABLE.  You're suddenly tired of waiting for the 9.1 release and want
to switch back to 9-STABLE and rebuild your system.  'svn switch' will
re-focus the update branch used by your local tree, and will download
any updates necessary to align your local tree with the newly-selected
branch.  Only changes are downloaded.

  $ svn switch svn://svn.au.freebsd.org/base/stable/9

Your ISP has just fallen in love with FreeBSD and is now offering a
FreeBSD Subversion Mirror.  He's made it available to the public and it
has been allocated the domain name svn2.au.freebsd.org.  Obviously you
want to use the new local mirror now. 'svn relocate' does that for you.

  $ svn relocate svn://svn.au.freebsd.org/ svn://svn2.au.freebsd.org/

I hope some of you might find the above ramblings useful.

Regards,

-- 
John Marshall




This message may contain both confidential and privileged information intended only for the addressee named above.
If you have received this email in error, please notify the sender immediately then destroy the original message.




More information about the BUGS mailing list