[tools] mrepo seems to ignore lftp-mirror-options
Dean Troyer
dtroyer+tools at gmail.com
Thu Mar 29 19:03:05 CEST 2007
[dang GMail extension addresses...]
On 3/29/07, Dean Troyer <dtroyer at gmail.com> wrote:
> On 3/29/07, Brian C. Hill <bchill at bch.net> wrote:
> > It would be nice to have a way to mirror only part of a site. We
> > only use 20-30 packages from rpmforge and would prefer not to have to
> > mirror all 5000. I don't think any of the command line stuff fed to either
> > ftp or rsync via the -mirror-options variables will accomplish this.
>
> Brian, I'm in the same boat and solved it with rsync and an
> include-file listing the packages I want:
>
> rsync --include-from rf-mirror.lst -avHL
> rsync://apt.sw.be/pub/freshrpms/pub/dag/ /rpmforge
>
> rf-mirror-list:
> # rpmforge mirror list
>
> # Select fc3 and fc6 only
> + fedora
> + fedora/3
> + fedora/6
> + fedora/*/en
> + fedora/*/en/i386
> + fedora/*/en/*/dries
> + fedora/*/en/*/dries/RPMS
>
> # Select RHEL 3,4,5 both i386 and x86_64
> + redhat
> + redhat/el3
> + redhat/el4
> + redhat/el5
> + redhat/el*/en
> + redhat/el*/en/i386
> + redhat/el*/en/x86_64
> + redhat/el*/en/*/dag
> + redhat/el*/en/*/dag/RPMS
>
> # Select source too
> + source
>
> # Select individual packages
> + clearsilver*
> + createrepo*
> + mrepo*
> + python-clearsilver*
> + python-elementtree*
> + python-sqlite*
> + python-urlgrabber*
> + sqlite*
> + trac*
> + yum-*
>
> # Default exclude everything else
> - *
>
>
>
> The idea is you first limit the distribution trees to search, then
> only grab the packages from that list that you want. The downside is
> you get the union of the combinations rather than the intersection,
> but it is still leaps better than getting the whole thing.
>
> dt
>
> --
>
> Dean Troyer
> dtroyer at gmail.com
>
--
Dean Troyer
dtroyer at gmail.com
More information about the tools
mailing list