Subject: hellish symlinks in archive

From: "Nathan O. Siemers" <[email-masked]>
Date: Fri, 06 Sep 1996 19:39:26 -0700

Zoikes.

You know, it is not straightforward to keep *only* the intel binaries
mirrored on another machine. I did write a preliminary mirror config file:

package=debian
site=ftp.caldera.com
remote_dir=/pub/mirrors/debian
local_dir=/usr3/people/nathan/src/debian
get_patt=(binary-all/|non-free/binary-i386/|non-free/binary/|contrib\
/binary-i386/|contrib/binary/|buzz/binary/|buzz/binary-i386/|buzz-updates\
/binary/|buzz-updates/binary-i386/|buzz-fixed/binary/|buzz-fixed/\
binary-i386/|rex/binary-i386/|rex/binary/)

Does anyone have a better config file for this purpose?

I then used dselect to install some new files from
buzz-fixed. However, despite the seemingly infinite number of symbolic
links in the archive, certain things (like
binary/devel/kernel-source...) have *not* been linked here. Should
they be?

Help! (and thanks)

nathan

---

From: "Brian C. White" <[email-masked]>
Date: Sat, 07 Sep 1996 01:04:48 -0400

> Does anyone have a better config file for this purpose?

Here is mine:  (symlinks to nonexistant files/dirs are not made by mirror)

  package=defaults
        site=ftp.debian.org
        remote_dir=/debian
        local_dir=linux/debian
        local_ignore+|^local/
        exclude_patt+|(^|/)(ls-|.ls-|source/|\..*|.*\.tar\.gz$|.*\.diff\.gz$|
  WebPages|debian-bugs/|debian-manual/|debian-lists/|kernel/|
  Packages$|Contents$|md5sums$|Maintainers$|Packages-|buzz|
  [Ii]ncoming|.*-alpha|.*-sparc|.*-m68k|.*-ppc|\ )

  package=debian
        use_files=true

(The "exclude_patt" is all on one line, actually.)
                                             
                                          Brian
                                 ( [email-masked] )
                                             
-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're not.

---

From: Lars Wirzenius <[email-masked]>
Date: Sat, 07 Sep 1996 09:57:33 +0300

> mirrored on another machine. I did write a preliminary mirror config file:
...
> Does anyone have a better config file for this purpose?

Here's a sanitized version of mine:

package=debian-rex
site=ftp.lh.umu.se
remote_dir=/pub/linux/debian/rex/
local_dir=/x/mirror/debian/rex/
get_newer=false
max_delete_files=50%
max_delete_dirs=10%
exclude_patt=(&
^buzz&
|^unstable&
|^upgrades&
|^project/experimental/dpkg&
|^debian-lists&
|^Incoming&
|ls-lR&
|(^|/)disks-&
|^WebPages&
|^debian-bugs&
|^indices/\.&
|^indices/md5sums$&
|[^be]/binary/&
|binary-[^ia]&
|binary-alpha&
|msdos&
|ms-dos&
|m68k&
)

It's full of old cruft, but perhaps it workable. My actual
rule is about three times longer, because I exclude a number
of packages I'm not interested in.

OTOH, using dpkg-ftp or dftp might be a better alternative.

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: me when replying to my message on a mailing list.