[elbe-devel] [PATCH] quickstart: add section about custom repos with reprepro

Yegor Yefremov yegorslists at googlemail.com
Tue Jul 11 08:43:03 CEST 2017


On Tue, Jul 11, 2017 at 8:25 AM, Andrey Skvortsov
<andrej.skvortzov at gmail.com> wrote:
> On 17-07-11 08:15, Manuel Traut wrote:
>> Hi,
>>
>> > > > +ELBE replaces the string `LOCALMACHINE` with the ip address of your machine. If
>> > > > +you use an external machine as webserver you need to replace `LOCALMACHINE` with
>> > > > +the name or the ip of it.
>> > > > +
>> > > > +You need to sign your repository (see `SignWith` in the
>> > > > +link:https://mirrorer.alioth.debian.org/reprepro.1.html[reprepro manpage]), or
>> > > > +you may set <noauth/> in your xml file. If you don't sign your repository you
>> > > > +don't need the `<key>` tag.
>> > > > +
>> > > > +Now you can install packages from your custom repository the same way you can
>> > > > +install from any other repository.
>> > >
>> > > reprepro is not that flexible. AFAIK you cannot manage both jessie and
>> > > stretch in one reprepro instance. Have you already tried freight?
>> >
>> > Phillipp, thanks. Nice to have reprepro how-to in quickstart.
>> >
>> > Yegor, I see it's possible to create repo for several suites using reprepro.
>> > See section 'First steps' at [1]. I've setup basic repo structure for
>> > jessie and stretch. Seems to work.
>> >
>> > One downside of freight is that it's not available in Debian archive
>> > now.
>>
>> Limitations of reprepro are: only one version per package/suite is allowed and
>>   there is no integrated webserver.
>
> By the way, freight doesn't have integrated webserver either. It handles
> only repo structure, like reprepro. So external webserver is still needed.
> Manual from visionsystems just uses python module SimpleHTTPServer for that.
> IMHO, this is the simplest way to run web-server on a local directory
> without root privileges with simple python 'oneliner'.

I'm for adding SimpleHTTPServer example to the quickstart.

>> If you need those features you could use 'aptly' it is also packaged in debian
>> but IMHO more complex to use.

I just find freight more intuitive for beginners, but it is important,
that we have a quick manual for any solution for own repository at
all.

Yegor




More information about the elbe-devel mailing list