Skip to contentSkip to conversation

Separate apt repositories for 2.4-alpha/beta/rc releases?

Openvpn-devel Samuli Seppänen 4 participants 9 messages Oct 14, 2016 – Oct 25, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

Should we have a separate apt repository for "unstable" apt packages? Right now our apt repositories hold 2.3.x packages, meaning that upgrades have historically been fairly minor.

That said, users who use _our_ apt repositories have expressed interest in using something newer than what is available in their distribution's repositories.

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Am 14.10.2016 um 17:28 schrieb Samuli Seppänen:

Quoted 6 lines

Hi,

Should we have a separate apt repository for "unstable" apt packages? Right now our apt repositories hold 2.3.x packages, meaning that upgrades have historically been fairly minor.

Quoted 6 lines

That said, users who use _our_ apt repositories have expressed interest in using something newer than what is available in their distribution's repositories.

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Yes, definitely. Please create a separate distribution for .deb packages derived from pre-releases.

#2 lore raw
Quoted 8 lines · Matthias Andree

Am 14.10.2016 um 17:28 schrieb Samuli Seppänen:

Quoted 6 lines

Hi,

Should we have a separate apt repository for "unstable" apt packages? Right now our apt repositories hold 2.3.x packages, meaning that upgrades have historically been fairly minor.

Quoted 8 lines
Quoted 6 lines

That said, users who use _our_ apt repositories have expressed interest in using something newer than what is available in their distribution's repositories.

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Yes, definitely. Please create a separate distribution for .deb packages derived from pre-releases.

Indeed. We shouldn't upgrade people who are expecting stable releases to alpha versions.

-Steffan

#3 lore raw

Am 14.10.2016 um 21:51 schrieb Steffan Karger:

Quoted 6 lines
Quoted 2 lines · On 14 Oct 2016 9:14 p.m., "Matthias Andree" <[email protected]...…

Am 14.10.2016 um 17:28 schrieb Samuli Seppänen:

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Yes, definitely. Please create a separate distribution for .deb packages derived from pre-releases.

Indeed. We shouldn't upgrade people who are expecting stable releases to alpha versions.

One more somewhat more constructive note:
Oracle have been naming their VirtualBox packages such that they included the minor version in the NAME.
So the package name would be openvpn-2.3 or openvpn-2.4 for us, which creates redundancy as the actual version is added (openvpn-2.3-2.3.12), but it prevents moving users between release branches.

Alpha/beta releases and perhaps the early release candidates should still also be marked in a separate "unstable" 'distribution'.

#4 lore raw
Quoted 22 lines · Matthias Andree

Am 14.10.2016 um 21:51 schrieb Steffan Karger:

Quoted 6 lines
Quoted 2 lines · On 14 Oct 2016 9:14 p.m., "Matthias Andree" <[email protected]...…

Am 14.10.2016 um 17:28 schrieb Samuli Seppänen:

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Yes, definitely. Please create a separate distribution for .deb packages derived from pre-releases.

Indeed. We shouldn't upgrade people who are expecting stable releases to alpha versions.

One more somewhat more constructive note:
Oracle have been naming their VirtualBox packages such that they included the minor version in the NAME.
So the package name would be openvpn-2.3 or openvpn-2.4 for us, which creates redundancy as the actual version is added (openvpn-2.3-2.3.12), but it prevents moving users between release branches.

Quoted 2 lines

Alpha/beta releases and perhaps the early release candidates should still also be marked in a separate "unstable" 'distribution'.

That's a clever thing, and is also done in the Fedora/RHEL world too. However there are some pitfalls which is needed to beware of.

You either need to

a) have the files installed in a way so they don't collide. Then use some tools (like 'alternatives' in the Fedora/RHEL world) to switch between which version being system default

or

b) Have the package exclude each other to block both being installed at the same time.

Signature · 3 lines
kind regards,

David Sommerseth
#5 lore raw
Quoted 26 lines · David Sommerseth
Quoted 22 lines · Matthias Andree

Am 14.10.2016 um 21:51 schrieb Steffan Karger:

Quoted 6 lines
Quoted 2 lines · On 14 Oct 2016 9:14 p.m., "Matthias Andree" <[email protected]...…

Am 14.10.2016 um 17:28 schrieb Samuli Seppänen:

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Would 2.3.12 -> 2.4-alpha1 be too big an upgrade?

Yes, definitely. Please create a separate distribution for .deb packages derived from pre-releases.

Indeed. We shouldn't upgrade people who are expecting stable releases to alpha versions.

One more somewhat more constructive note:
Oracle have been naming their VirtualBox packages such that they included the minor version in the NAME.
So the package name would be openvpn-2.3 or openvpn-2.4 for us, which creates redundancy as the actual version is added (openvpn-2.3-2.3.12), but it prevents moving users between release branches.

Quoted 2 lines

Alpha/beta releases and perhaps the early release candidates should still also be marked in a separate "unstable" 'distribution'.

Quoted 8 lines

That's a clever thing, and is also done in the Fedora/RHEL world too. However there are some pitfalls which is needed to beware of.

You either need to

a) have the files installed in a way so they don't collide. Then use some tools (like 'alternatives' in the Fedora/RHEL world) to switch between which version being system default

Yes, this is great. Quite a few packages in the debian/ubuntu world do this too. Particularly handy if there's also a virtual package that just installs the most recent stable version, so that I don't end up with an eol version without noticing. (E.g. there are packages openvpn-2.3, openvpn-2.4 and openvpn, where openvpn is a dummy that right now depends on openvpn-2.3, and as soon as 2.4 becomes stable depends on openvpn-2.4.)

Quoted 2 lines

b) Have the package exclude each other to block both being installed at the same time.

Slightly easier for the maintainer, but a lot less useful than a) for the user.

-Steffan

#6 lore raw
In reply to David Sommerseth

Am 15.10.2016 um 12:11 schrieb David Sommerseth:

Quoted 2 lines

b) Have the package exclude each other to block both being installed at the same time.

That's the path normally chosen and that I'd recommend for DEB/APT-based packages because solvers can usually figure that part out. I think the RPM world needs some support from the dependency solvers, too. Not sure what dnf is up to these days, but it - as its predecessor yum - seemed to do the right thing for the limited exposure I gave them in my Fedora installations, and I stopped caring about other RPM-based distros years ago.

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#8 lore raw

Il 17/10/2016 11:50, Ralf Hildebrandt ha scritto:

Quoted 10 lines

* Samuli Seppänen <[email protected]...>:

Quoted 3 lines

Hi,

Should we have a separate apt repository for "unstable" apt packages?

Yes please. Do have a look at how dovecot does it:
http://wiki2.dovecot.org/PrebuiltBinaries#Debian

there is "stable" and "testing"

Thanks to all for the feedback. Based on it the most flexible approach would probably be to have four different repositories:

"testing": tracks latest release, including all alphas/beta/rcs "stable": tracks latest stable release (2.3.x/2.4.x) "release/2.3": tracks latest 2.3.x release
"release/2.4": tracks latest 2.4 release (including alphas/beta/rcs)

The current apt repository would become "release/2.3" to minimize surprises. In all cases the package name would be "openvpn". A user could have several of these repositories enabled at the same time - apt would then just default to the latest version.

Right now Debian package building is not fully automated, but when it is, having a "snapshots" repository would make sense.

I'd rather not allow several different OpenVPN packages to co-exist on a single computer (e.g. "openvpn-2.3" and "openvpn-2.4"): that tends to complicate packaging without any significant benefits. I believe this approach is mostly used in cases where different application versions are (protocol)incompatible, and users need to be able to use both simultaneously.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#9 lore raw

Il 17/10/2016 13:58, Samuli Seppänen ha scritto:

Quoted 28 lines

Il 17/10/2016 11:50, Ralf Hildebrandt ha scritto:

Quoted 10 lines

* Samuli Seppänen <[email protected]...>:

Quoted 3 lines

Hi,

Should we have a separate apt repository for "unstable" apt packages?

Yes please. Do have a look at how dovecot does it:
http://wiki2.dovecot.org/PrebuiltBinaries#Debian

there is "stable" and "testing"

Thanks to all for the feedback. Based on it the most flexible approach would probably be to have four different repositories:

"testing": tracks latest release, including all alphas/beta/rcs "stable": tracks latest stable release (2.3.x/2.4.x) "release/2.3": tracks latest 2.3.x release
"release/2.4": tracks latest 2.4 release (including alphas/beta/rcs)

The current apt repository would become "release/2.3" to minimize surprises. In all cases the package name would be "openvpn". A user could have several of these repositories enabled at the same time - apt would then just default to the latest version.

Right now Debian package building is not fully automated, but when it is, having a "snapshots" repository would make sense.

Quoted 7 lines

I'd rather not allow several different OpenVPN packages to co-exist on a single computer (e.g. "openvpn-2.3" and "openvpn-2.4"): that tends to complicate packaging without any significant benefits. I believe this approach is mostly used in cases where different application versions are (protocol)incompatible, and users need to be able to use both simultaneously.

Hi all,

The four new apt repositories described above are now available. Instructions for setting them up are here:

<https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos>

OpenVPN 2.4_alpha2 is available in "release/2.4" and "testing"
OpenVPN 2.3.12 is available in "release/2.3" and "stable

Once the new repos have been online for a while and are proven to work, I will look into redirecting requests to the old swupdate repository to the new "release/2.3" repository.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock