Mail archive

Re: [alpine-devel] Alpine ports layout

From: William Pitcock <>
Date: Fri, 1 Sep 2017 19:10:31 -0500


On Fri, Sep 1, 2017 at 2:36 PM, Cág <> wrote:
> Timo Teras wrote:
>> New aports should start in 'testing'. We don't usually accept direct
>> contributions to 'main' or 'community'. In most cases 'community' will
>> be the right place for package, and I suspect this will be datamash's
>> place when matured. Packages in 'main' are expected to have long
>> maintained stable release branches.
> I think that these conditions are vague. When should a testing port
> become a community one and a community one become main?

The testing repository is really similar in spirit to pkgsrc's "wip" repository.
Packages leave testing when a developer decides to sponsor a changeset
that moves it to community or main (usually community).
In some cases, packages move from testing to main, but moving a
package to main implies that the core team has more authority over the
package, so usually packages that are from contributors stay in
Another difference between community and main is that adding packages
to main is restricted to developers, while instead, community packages
can be maintained directly by maintainers (which have only a limited
subset of commit rights and no other rights that developers get).
We hope to make this, as well as the procedures for contributing
packages as a contributor, gaining maintainer rights, and becoming a
developer, in a developer's manual shortly.

> How about splitting ports into categories, so gcc would be lang/gcc,
> vim would be editors/vim and firefox would be www/firefox? Those that
> aren't stable could land in wip, like in pkgsrc.

This type of layout is very BSD/Gentoo-like. Alpine is not either of
these things.

A better system would be to attach metadata to packages, which would
allow us to tag them.
So, a package could have in it's metadata:

   scope="browser toolkit:gtk3"

Or similar. Then we could use something like "apk search
--field=scope browser" to list the packages that are tagged as


Received on Fri Sep 01 2017 - 19:10:31 UTC