All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>,
	zorun@bitsofnetworks.org, Christian Hesse <mail@eworm.de>,
	Christophe Fergeau <cfergeau@gmail.com>,
	zx2c4@gentoo.org
Cc: wireguard@lists.zx2c4.com
Subject: Re: [WireGuard] The Distro Package Maintainers Thread
Date: Thu, 30 Jun 2016 11:03:12 -0400	[thread overview]
Message-ID: <87furu3ej3.fsf@alice.fifthhorseman.net> (raw)
In-Reply-To: <CAHmME9oiTG6Hfps0ZqJFJ13UxappXk3TyoLWWu0AZ_G_A65bxQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3183 bytes --]

On Thu 2016-06-30 08:52:04 -0400, Jason A. Donenfeld wrote:
> So it looks like we're the distro people downstream of WireGuard:

hi all!

> Option a) monolithic:
>     Package name: wireguard
>
> Option b) split:
>     Tools package name: wireguard-tools
>     Module package name: wireguard _or_ wireguard-${SUFFIX},
>        where SUFFIX is modules, or dkms, or whatever the convention in
> your OS is

I prefer option (b)

> Zero dot zero. But it'd be nice to further specify that these are
> pre-release or experimental:
>
>     0.0.20160701_pre
>     0.0.20160701_experimental
>     0.0.20160701_killskittens
>
> Any preference on pre vs experimental vs killskittens vs something
> else? I'm open to anything here.
>
> The _suffix notation works well with how Gentoo does package versions.
> What about the rest of you? For example, I think this might pose
> problems:
>
>     0.0.20160701.pre
>     0.0.20160701.experimental
>     0.0.20160701.killskittens
>
> Or, if anyone has another idea for injecting a label like this into
> the snapshot revision, speak up.
>
> Overall, at the moment I'm leaning toward  0.0.20160701_experimental.
> But I'll wait for responses before deciding anything.

debian can't include an underscore (_) in the version number:

 https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

and while debian policy suggests that in some circumstances hyphen (-)
and colon (:) are OK, they really shouldn't be used either, so i'd
prefer the dot (.) or plus (+) as a delimiter.

For release candidates: on debian, we can use the ~ character to mean
"just before" -- so if you want a pre-release version (say "release
candidate 1 for 0.1") i'd normally declare the upstream version as
0.1~rc1, which will sort as "earlier" than 0.1 itself.

anyway, i won't lose much sleep over it -- i can translate whatever you
decide makes sense as an upstream version to whatever fits in debian,
with as minimal a change as possible.

One question though: how will the release version relate to
PACKAGE_VERSION in src/dkms.conf?  do we expect those to track each
other or are they separable?

> Regarding the topic of building infrastructure, it seems like with the
> exception of OpenWRT and Gentoo, everyone else is converging on DKMS?
> Is this right? If so, it appears that Christian's dkms.conf file is a
> good start for this, and I'll consider putting it directly in the repo
> at some point. Is anybody here well versed with DKMS? Does it have a
> way of expressing and warning about dependencies?

DKMS works fine for me; i'm sorting out some minimalist debian
packaging, and will start with Christian's dkms.conf, though i'm curious
how other folks would approach the module versioning, as i mentioned
above.

> === 5. Current Status ===
>
> In public repositories there are currently these:
>   https://aur.archlinux.org/cgit/aur.git/tree/?h=wireguard-git
>   https://gitweb.gentoo.org/repo/gentoo.git/tree/net-misc/wireguard/

I'm going to be publishing debian packaging at:

  https://anonscm.debian.org/git/collab-maint/wireguard.git

I don't have anything to show there yet, but hopefully later today i'll
have something.

     --dkg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 948 bytes --]

  parent reply	other threads:[~2016-06-30 15:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 12:52 [WireGuard] The Distro Package Maintainers Thread Jason A. Donenfeld
2016-06-30 13:28 ` Christian Hesse
2016-06-30 14:45 ` Bruno Wolff III
2016-06-30 15:03 ` Daniel Kahn Gillmor [this message]
2016-07-01 16:40   ` [WireGuard] debian packaging [was: Re: The Distro Package Maintainers Thread] Daniel Kahn Gillmor
2016-07-01 21:05     ` Jason A. Donenfeld
2016-07-01 21:11       ` Jason A. Donenfeld
2016-07-02 12:38         ` Daniel Kahn Gillmor
2016-07-06 22:34     ` Jason A. Donenfeld
2016-07-08 21:20       ` Daniel Kahn Gillmor
2016-06-30 15:30 ` [WireGuard] The Distro Package Maintainers Thread Baptiste Jonglez
2016-06-30 18:32 ` Jason A. Donenfeld
2016-06-30 18:42   ` Jason A. Donenfeld
2016-06-30 19:27   ` Christian Hesse
2016-06-30 19:34     ` Jason A. Donenfeld
2016-07-01  2:41       ` Jason A. Donenfeld
2016-07-01 12:26         ` Daniel Kahn Gillmor
2016-07-01 21:28 ` Jason A. Donenfeld
2016-07-01 21:45   ` Christian Hesse
2016-07-02 12:39   ` Daniel Kahn Gillmor
2016-07-02 15:55     ` Daniel Kahn Gillmor
2016-07-04 15:50 ` Jason A. Donenfeld
2016-07-04 22:57   ` Phillip Smith
2016-07-04 23:46     ` Jason A. Donenfeld
2016-07-05  1:15       ` Phillip Smith
2016-07-05  1:23         ` Jason A. Donenfeld
2016-07-05 19:05         ` Christian Hesse
2016-07-11 17:51 ` Jason A. Donenfeld
2016-07-11 21:20   ` Baptiste Jonglez
2016-07-11 22:34     ` Jason A. Donenfeld
2016-07-12 10:59   ` Daniel Kahn Gillmor
2016-07-12 15:27     ` Jason A. Donenfeld
2016-07-13 14:29       ` Jason A. Donenfeld
2016-07-13 16:35         ` Jason A. Donenfeld
     [not found]           ` <CAHmME9qQ=46ZyPLPAw8sDb1bhwWGdEcxoFpof3meV+WUKHrMfg@mail.gmail.com>
2016-07-13 16:42             ` Jason A. Donenfeld
2016-07-13 16:49               ` Baptiste Jonglez
2016-07-13 17:58                 ` Jason A. Donenfeld
2016-07-13 18:15                   ` Martin Hauke
2016-07-13 21:57               ` Daniel Kahn Gillmor
2016-07-14 14:27                 ` Jason A. Donenfeld
2016-07-14 14:30                   ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87furu3ej3.fsf@alice.fifthhorseman.net \
    --to=dkg@fifthhorseman.net \
    --cc=Jason@zx2c4.com \
    --cc=cfergeau@gmail.com \
    --cc=mail@eworm.de \
    --cc=wireguard@lists.zx2c4.com \
    --cc=zorun@bitsofnetworks.org \
    --cc=zx2c4@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.