Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 15:15:13 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: docsnap lives!
Message-ID:  <1124370913.43883.10.camel@pav.hide.vol.cz>
In-Reply-To: <43048956.3070609@centtech.com>
References:  <1124370276.43883.7.camel@pav.hide.vol.cz> <43048956.3070609@centtech.com>

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

[-- Attachment #1 --]
Eric Anderson píše v čt 18. 08. 2005 v 08:12 -0500:
> Pav Lucistnik wrote:
> > What is Docsnap?
> > 
> > Docsnap is a new rsync repository for easy updating of installed FreeBSD
> > documentation (/usr/share/doc). The files there are a little different
> > then the files built as part of www build (static URLs). Content is
> > updated hourly.
> > 
> > Why rsync?
> > 
> > To use the main advantage of rsync - to only transfer the differences!
> > 
> > How do I use it?
> > 
> > rsync -rltvz docspan.sk.FreeBSD.org::docsnap /usr/share/doc/
> 
> I think that's a typo there - it probably should be:
> rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/
> 
> > Rsync lives in net/rsync port.
> > 
> > Want more info?
> > 
> > http://docsnap.sk.freebsd.org/
> > 
> > What's there left to do?
> > 
> > Perhaps a FreeBSD port that would install some simple script called
> > "docsnap" to call the rsync line above? Feels too trivial to me -
> > comments?
> > 
> > Perhaps adding a few lines about this to official docs once the bugs are
> > ironed out. Comments?
> 
> Do you want the --delete option to rsync to remove files locally that 
> don't exist on the remote side?

You can't use --delete because installworld places some files
under /usr/share/doc which would get removed by rsync like this. Check
the webpage above for example how to workaround this.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

May your arrow always find its mark.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDBInhntdYP8FOsoIRAn2cAKCE9NOjasH1vW9rwG9qiQqPln+fhQCZAXzy
v6digCKdpAGR4kgj3GBjNWA=
=tryj
-----END PGP SIGNATURE-----
home | help

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