[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get wrapper for maintaining Partial Mirrors



Joseph Rawson <umeboshi3@gmail.com> writes:

> On Sunday 21 June 2009 03:33:33 Goswin von Brederlow wrote:
> <snip>
>> > The Release could be signed using an rsign method with the machine(s)
>> > that manage the repository, or it could be done locally on the server
>> > using gpg-agent, or an unencrypted private key, depending on how the
>> > administrator prefers to manage it.
>>
>> The simplest implementation would be a tiny proxy applet that, when a
>> deb file is requested, checks if the file is in the local
>> archive. If it is then send it. If not then request file from
>> upstream and pipe it to apt (no latency) and a tempfile. When the
>> download has finished then reprepro --include suite deb. Doing the
>> same for source is a little more tricky as you needs the dsc and
>> related files as a group.
>>
> I don't understand the tempfile part.  Otherwise, that's a better idea, since 
> my idea depended on running reprepro update, then sending the appropriate 
> debs.

A tempfile so after download the proxy can run:
  reprepro include sid foo.deb

MfG
        Goswin


Reply to: