Re: rsync mirror script for pools - first pre alpha release

2001-01-06 Thread Goswin Brederlow
> " " == esoR ocsirF <[EMAIL PROTECTED]> writes:

 > I would like to set up our local partial mirror to run without
 > attendance through multiple releases. If I hard code the
 > release candidate name into the mirror script, wont it just
 > break when testing goes stable?

The problem is that those are links and rsync can eigther keep links
or follow them.

At the moment there are a lot for links in potato/woody so I can't
follow links, so no mirroring of stable/unstable/testing.

I could check what stable/testing/unstable is and then mirror what
they point to, but who cares. In a year or so an update or
debian-mirror will ask you weather you want to start mirroring the new
unstable and weather to drop the old stable.

MfG
Goswin




Re: rsync mirror script for pools - first pre alpha release

2001-01-05 Thread esoR ocsirF
On Wed, Jan 03, 2001 at 08:13:26PM +0100, Goswin Brederlow wrote:
> 
> Suggestions to the script are welcome, esspecially: How do I make
> debconf popup a checklist like:
> 
> ++
> | What distributions should be mirrored? |
> ||
> | [ ] potato |
> | [ ] woody  |
> | [ ] sid|
> ||
> |   < OK>|
> ++
> 
Maybe I am stupid. Wouldn't it be more reasonable to ask for 
> ++
> | What distributions should be mirrored? |
> | Dist. Code Name|
> | [ ] Stable(potato) |
> | [ ] Testing   (woody)  |
> | [ ] Unstable  (sid)|
> ||
> |   < OK>|
> ++

I would like to set up our local partial mirror to run without
attendance through multiple releases. If I hard code the release
candidate name into the mirror script, wont it just break when testing
goes stable?

-- 
Frisco Rose "By any other name, I would smell the same"
E.O.U. Stud. [EMAIL PROTECTED] [EMAIL PROTECTED]
Physics  Mathematics  Computer Science

INTACT Director




Re: rsync mirror script for pools - first pre alpha release

2001-01-03 Thread Joey Hess
Goswin Brederlow wrote:
> Suggestions to the script are welcome, esspecially: How do I make
> debconf popup a checklist like:

Multiselect data type.

-- 
see shy jo




rsync mirror script for pools - first pre alpha release

2001-01-03 Thread Goswin Brederlow
> " " == Goswin Brederlow <[EMAIL PROTECTED]> writes:

 > Hi, I've been asked about my rsync mirror script, which is an
 > extension from Joey Hess's one, on irc and here several times.

 > So would there be intrest in a deb of the script coming with a
 > debconf interface for configuration, cronjob or ip-up support
 > and whatever else is needed to keep an uptodate mirror.

 > Or do you all prefer to do it your own way? I don't want to
 > package something just for 2 or 3 people.

 > MfG Goswin

 > PS: Just send me a yes I want privately if you want such a
 > package.

So here it is. The script works fine, but you need to configure
/etc/debian-mirror.conf manually at the moment. Once configured it
works fine for me.

On install it will ask you about debian-mirror being run in cron.daily
via debconf and all the other option will be asked there as well in
the future.

It will create a user mirror when installed and runs as mirror:nogroup
when started from /etc/cron.daily/debian-mirror.

The package is called debian-mirror and is available from:

deb ftp://rut.informatik.uni-tuebingen.de unstable main
deb-src ftp://rut.informatik.uni-tuebingen.de unstable main

Suggestions to the script are welcome, esspecially: How do I make
debconf popup a checklist like:

++
| What distributions should be mirrored? |
||
| [ ] potato |
| [ ] woody  |
| [ ] sid|
||
|   < OK>|
++

Happy testing,
Goswin