:: Re: [DNG] Mirroring Devuan
Pàgina inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
A: dng
Assumpte: Re: [DNG] Mirroring Devuan
Hi Hendrik,

I just started working on that. But just started.

The following script generates the pool and dists folders:

find ./DEBIAN -name "*.dsc" -exec reprepro --ask-passphrase -b . -V -C
main includedsc jessie {} \;
find ./DEBIAN -name "*.deb" -exec reprepro --ask-passphrase -b . -V -C
main includedeb jessie {} \;
find ./DEBIAN -name "*.udeb" -exec reprepro --ask-passphrase -b . -V -C
main includeudeb jessie {} \;

from the content of ./DEBIAN folder, searching all the 'deb', 'udeb' and
'dsc' located in it.

One of the issues arising is how to automatize the signing proccess, if
it is possible.

Aitor.

El 27/08/15 a las 16:36, Hendrik Boom <hendrik@???> escribió:
> On Tue, Aug 25, 2015 at 10:34:42PM +0200, karl@??? wrote:
>> > Jaromil:
>>> > > we haven't yet worked on the mirroring mechanism, but we will
>>> > >
>>> > > once done, there will be a script and it will be easy
>>> > > I guess it will be a sort of amprolla satellite process
>>> > > so that the mirror redirection will be handled by nextime's software
>> > ...
>> >
>> > I would be good if one could have a local mirror with just file://
>> > entries i sources.list.
>> >
>> > It would be a great overhead if I needed apache at.al. when accessing
>> > files on the local disk.
>> >
>> > ///
>> >
>> > According to amprolla/nginx/rewrites.conf:
>> >
>> > rewrite /merged/pool/DEVUAN/(.*) http://packages.devuan.org/devuan/pool/$1;
>> > rewrite /merged/pool/DEBIAN/(.*) http://http.debian.net/debian/pool/$1;
>> > rewrite /merged/pool/MARILLAT/(.*) http://www.deb-multimedia.org/pool/$1;
>> > rewrite /merged/dists/(.*)/main/(installer-.*)/(.*) /devuan/dists/$1/main/$2/$3;
>> >
>> > I guess that this means that if the file is in devouan, use it,
>> > else use the debian one etc. That could be handled by using the
>> > right order in sources.list something in preferences.
>> > So if I have a copy of http://packages.devuan.org/devuan/ and
>> > a debian mirror, all I need is to prioritize them, am I right ?
> If you carefully order the sources.list entries,
> might there wtill be a problem if the debian package is slightly more
> up-to-date than the devuan one?
>
> -- hendrik
>
>> >
>> > Regards,
>> > /Karl Hammar