[Pkg-leofs-devel] Bug#858803: Bug#858803: erlang-cowboy: Cowboy 2.0 != Cowboy 1.0

Chris Pacejo chris at pacejo.net
Tue Apr 25 16:07:46 UTC 2017


Top posting because I'm mobile. In short, you're confusing API changes with ABI changes. ABI is irrelevant for Erlang since it's interpreted.

I'll reply more in depth later the exact API changes that break existing code. But frankly anything written for Cowboy 1.0 will NOT work for Cowboy 2.0 and thus they need to have different version numbers. As-is the package is useless for me and may as well not exist.


-------- Original Message --------
From: Balint Reczey <balint.reczey at canonical.com>
Sent: April 25, 2017 10:32:54 AM EDT
To: Chris Pacejo <chris at pacejo.net>, 858803 at bugs.debian.org, 858803-done at bugs.debian.org
Subject: Re: [Pkg-leofs-devel] Bug#858803: erlang-cowboy: Cowboy 2.0 != Cowboy 1.0

Control: notfound -1 2.0.0~pre.1+dfsg1-2

Dear Chris,

On 03/27/2017 04:49 AM, Chris Pacejo wrote:
> Package: erlang-cowboy
> Version: 2.0.0~pre.1+dfsg1-2
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> For some reason, erlang-cowboy source has been updated to point at Cowboy
> 2.0.  This renders the package unusable, since Cowboy 2.0 is a

The package does not seem to be unusable, I see for example the averell
package which depends on erlang-cowboy and does not have any open bug.

The version of the cowboy application is 2.0.0-pre.1, thus the version
of the package is correct.

> backward-incompatible API rework (even the name of the "start library"

Debian follows the convention of bumping binary package names for major
shared library ABI changes but this practice does not cover Erlang
modules thus bumping the binary package name is not warranted here.

> function has changed).  This package should be reverted to point at the
> latest Cowboy 1.x release, and a separate "erlang-cowboy2" package should be
> made to track the Cowboy 2.x releases.

Debian also provides multiple versions of gcc for example in separate
source packages but gcc is one of the most central and widely used
packages but it is not the established practice for Erlang packages and
I don't think the case for erlang-cowboy is strong enough to start
shipping two variants.

This pre-release was uploaded on 2015-05-05 and we are too deep in the
freeze to either revert to 1.x or upload a new pre-release thus most
likely Stretch will be released with the current version.
After the release I  will update the package to latest 2.x pre-release
and will stay with stable updates in unstable.

If you need a packaged erlang-cowboy for Stretch you can ask for
backporting it to stretch-backports after the release.

Cheers,
Balint

> 
> Furthermore, the release that this package currently points at is a 2.0
> prerelease, which is missing major changes present in the latest 2.0
> prerelease.  So, it is not usable even by code expecting Cowboy 2.0.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-leofs-devel/attachments/20170425/574f13d1/attachment-0001.html>


More information about the Pkg-leofs-devel mailing list