docsnap lives!

Pav Lucistnik pav at FreeBSD.org
Thu Aug 18 13:15:18 UTC 2005


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 at oook.cz>
              <pav at FreeBSD.org>

May your arrow always find its mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20050818/438197ba/attachment.sig>


More information about the freebsd-doc mailing list