On Mon, 4 Oct 2010 11:01:37 -0400 Joey Hess <[email protected]> wrote:
> Karl Goetz wrote:
> > Please allow excluding with --exclude-from for rsync. When
> > excluding lots of files (eg, nexuiz-data and other huge game
> > datasets) it gets irritating to list them one after the other.
I should say up front I'm assuming that the entries in the file will be
matched against the directory in (say) pool/main/t/, so all of
texlive-extra would get excluded. If that assumption is wrong, Feel
free to ignore all of this.
> Doesn't this work?
>
> --rsync-options="-aIL --partial --exclude-from=file"
>
Doesn't appear to.
When the exclude file has 'texlive-extra' uncommented, all hits to the
mirror are 'missing' if the packages are not downloaded yet.
eg:
pool/main/t/texlive-extra/texlive-bibtex-extra_2009-10_all.deb missing
Unless they are already downloaded, in which case it just leaves them
there.
It doesn't appear to delete the packages if they are already downloaded
(I've shortened these lists)
\ls
/home/debian-cd/debian/pool/main/{t/texlive-extra,t/teeworlds,v/vrms,b/blobandconquer}
/home/debian-cd/debian/pool/main/b/blobandconquer:
blobandconquer_1.07-dfsg-1_amd64.deb
blobandconquer_1.07-dfsg-1_i386.deb
/home/debian-cd/debian/pool/main/t/teeworlds:
teeworlds_0.5.2-2_amd64.deb
teeworlds_0.5.2-2_mipsel.deb
/home/debian-cd/debian/pool/main/t/texlive-extra:
texlive-bibtex-extra_2009-10_all.deb
texlive-games_2009-10_all.deb
texlive-plain-extra_2009-10_all.deb
/home/debian-cd/debian/pool/main/v/vrms:
vrms_1.15_all.deb vrms_1.15.dsc vrms_1.15.tar.gz
I've attached .debmirror.conf and my basic exclude file.
My debmirror is from the debian packaging git.
thanks,
kk
--
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group
.debmirror.conf
Description: Binary data
signature.asc
Description: PGP signature

