F39 proposal: libsoup 3: Part two (System-Wide Change proposal)

2022-08-23 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/libsoup_3:_Part_Two

This document represents a proposed Change. As part of the Changes
process, proposals are publicly announced in order to receive
community feedback. This proposal will only be implemented if approved
by the Fedora Engineering Steering Committee.


== Summary ==

libsoup 3 is a new API version of libsoup that provides support for
HTTP/2. We will remove libsoup 2 and all packages that still depend on
it.

== Owner ==
* Name: [[User:catanzaro|Michael Catanzaro]]
* Email: 


== Detailed Description ==

[[Changes/libsoup_3:_Part_One|We previously introduced libsoup 3 to
Fedora 37.]] Because applications will crash on startup if linked to
both libsoup 2 and libsoup 3 at the same time, and because many
libraries depend on libsoup, and because applications therefore have
limited control over which libsoup they link to transitively, this
transition was quite tricky and caused several serious problems during
the Fedora 37 development cycle. Fortunately, the trickiest part of
the migration to libsoup 3 is now behind us.

The next step is to remove libsoup 2 from Fedora. We propose to do
this for Fedora 39. This should happen sooner rather than later
because libsoup is a security-sensitive networking library and
maintaining an old version in Fedora indefinitely is inadvisable. We
know from experience that a deadline will be required in order to
ensure applications and libraries make the transition; otherwise, we
will wind up maintaining libsoup 2 indefinitely. Removing libsoup 2
from Fedora 38 seems too soon: applications need a little more time to
smoothly transition. Accordingly, we propose to remove libsoup 2 from
Fedora 39. The package will be retired in rawhide shortly after Fedora
38 is branched in February 2023. At this point, all packages that
still depend on it will break in rawhide. This  rest of the year will
be available to fix broken packages before Fedora 39 is released to
users in October 2023.

This will likely cause some temporary problems and force some
compromises. E.g. we may have to drop software like ABRT or geoclue
from composes if not ported in time.


== Benefit to Fedora ==

Removing libsoup 2 ensures Fedora does not package an obsolete version
of a security-sensitive networking library. It will also eliminate the
possibility of linkage conflicts between libsoup 2 and libsoup 3,
which have been extremely annoying during the Fedora 37 development
cycle and will continue to plague us during Fedora 38 development.

== Scope ==
* Proposal owners: we will ensure the package is retired

* Other developers: software must be ported from libsoup 2 to libsoup
3. This may require substantial upstream effort.

* Release engineering: [https://pagure.io/releng/issue/10985 #10985]

* Policies and guidelines: no new policies needed

* Trademark approval: N/A (not needed for this Change)

* Alignment with Objectives: no alignment with objectives

== Upgrade/compatibility impact ==

Software that still depends on libsoup 2 will break.

== How To Test ==

Fortunately not much testing is needed. The main challenge of the
transition to libsoup 3 was testing applications to ensure they do not
crash on startup due to libsoup 2 vs. libsoup 3 conflicts. Such
conflicts will no longer occur once this change is implemented,
because libsoup 2 won't exist anymore. Of course, it's also good to
test applications to ensure they still work properly after being
ported to libsoup 3.

== User Experience ==

Applications that use libsoup 3 will support HTTP/2, which multiplexes
multiple HTTP requests over a single connection. Users may notice
significant performance improvements.

== Dependencies ==

 $ dnf repoquery --whatdepends libsoup --latest-limit 1 --arch
'noarch,x86_64' --disablerepo='*' --enablerepo=rawhide
 Fedora - Rawhide - Developmental packages for t  18 MB/s |  64 MB 00:03
 Last metadata expiration check: 0:00:15 ago on Tue 23 Aug 2022 11:17:32 AM CDT.
 abrt-retrace-client-0:2.15.1-4.fc37.x86_64
 badwolf-0:1.2.2-3.fc37.x86_64
 bookworm-0:1.1.3-0.8.20200414git.c7c3643.fc37.x86_64
 cawbird-0:1.4.2-4.fc37.x86_64
 cinnamon-0:5.4.11-1.fc38.x86_64
 claws-mail-plugins-fancy-0:4.1.0-5.fc37.x86_64
 claws-mail-plugins-gdata-0:4.1.0-5.fc37.x86_64
 coin-0:1.3.0-7.fc37.x86_64
 cutter-0:1.2.7-7.fc37.x86_64
 darktable-0:4.0.0-3.fc37.x86_64
 dino-0:0.3.0-4.fc37.x86_64
 dleyna-renderer-0:0.6.0-15.fc37.x86_64
 dleyna-server-0:0.6.0-14.fc37.x86_64
 dmapd-0:0.0.91-4.fc37.x86_64
 elementary-calendar-0:6.1.1-1.fc37.x86_64
 elementary-code-0:6.2.0-2.fc37.x86_64
 elementary-mail-0:6.4.0-1.fc36.x86_64
 elementary-photos-0:2.7.5-2.fc37.x86_64
 elementary-planner-1:3.0.7-1.fc37.x86_64
 elementary-tasks-0:6.3.0-1.fc37.x86_64
 emacs-1:28.1-3.fc37.x86_64
 ephemeral-0:7.1.0-4.fc37.x86_64
 exfalso-0:4.5.0-3.fc37.noarch
 flatpak-builder-0:1.2.2-4.fc37.x86_64
 fondo-0:1.6.1-3.fc37.x86_64
 frogr-0:1.6-5.fc35.x86_64
 gajim-0:1.4.7-1.fc37.noarch
 

F39 proposal: libsoup 3: Part two (System-Wide Change proposal)

2022-08-23 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/libsoup_3:_Part_Two

This document represents a proposed Change. As part of the Changes
process, proposals are publicly announced in order to receive
community feedback. This proposal will only be implemented if approved
by the Fedora Engineering Steering Committee.


== Summary ==

libsoup 3 is a new API version of libsoup that provides support for
HTTP/2. We will remove libsoup 2 and all packages that still depend on
it.

== Owner ==
* Name: [[User:catanzaro|Michael Catanzaro]]
* Email: 


== Detailed Description ==

[[Changes/libsoup_3:_Part_One|We previously introduced libsoup 3 to
Fedora 37.]] Because applications will crash on startup if linked to
both libsoup 2 and libsoup 3 at the same time, and because many
libraries depend on libsoup, and because applications therefore have
limited control over which libsoup they link to transitively, this
transition was quite tricky and caused several serious problems during
the Fedora 37 development cycle. Fortunately, the trickiest part of
the migration to libsoup 3 is now behind us.

The next step is to remove libsoup 2 from Fedora. We propose to do
this for Fedora 39. This should happen sooner rather than later
because libsoup is a security-sensitive networking library and
maintaining an old version in Fedora indefinitely is inadvisable. We
know from experience that a deadline will be required in order to
ensure applications and libraries make the transition; otherwise, we
will wind up maintaining libsoup 2 indefinitely. Removing libsoup 2
from Fedora 38 seems too soon: applications need a little more time to
smoothly transition. Accordingly, we propose to remove libsoup 2 from
Fedora 39. The package will be retired in rawhide shortly after Fedora
38 is branched in February 2023. At this point, all packages that
still depend on it will break in rawhide. This  rest of the year will
be available to fix broken packages before Fedora 39 is released to
users in October 2023.

This will likely cause some temporary problems and force some
compromises. E.g. we may have to drop software like ABRT or geoclue
from composes if not ported in time.


== Benefit to Fedora ==

Removing libsoup 2 ensures Fedora does not package an obsolete version
of a security-sensitive networking library. It will also eliminate the
possibility of linkage conflicts between libsoup 2 and libsoup 3,
which have been extremely annoying during the Fedora 37 development
cycle and will continue to plague us during Fedora 38 development.

== Scope ==
* Proposal owners: we will ensure the package is retired

* Other developers: software must be ported from libsoup 2 to libsoup
3. This may require substantial upstream effort.

* Release engineering: [https://pagure.io/releng/issue/10985 #10985]

* Policies and guidelines: no new policies needed

* Trademark approval: N/A (not needed for this Change)

* Alignment with Objectives: no alignment with objectives

== Upgrade/compatibility impact ==

Software that still depends on libsoup 2 will break.

== How To Test ==

Fortunately not much testing is needed. The main challenge of the
transition to libsoup 3 was testing applications to ensure they do not
crash on startup due to libsoup 2 vs. libsoup 3 conflicts. Such
conflicts will no longer occur once this change is implemented,
because libsoup 2 won't exist anymore. Of course, it's also good to
test applications to ensure they still work properly after being
ported to libsoup 3.

== User Experience ==

Applications that use libsoup 3 will support HTTP/2, which multiplexes
multiple HTTP requests over a single connection. Users may notice
significant performance improvements.

== Dependencies ==

 $ dnf repoquery --whatdepends libsoup --latest-limit 1 --arch
'noarch,x86_64' --disablerepo='*' --enablerepo=rawhide
 Fedora - Rawhide - Developmental packages for t  18 MB/s |  64 MB 00:03
 Last metadata expiration check: 0:00:15 ago on Tue 23 Aug 2022 11:17:32 AM CDT.
 abrt-retrace-client-0:2.15.1-4.fc37.x86_64
 badwolf-0:1.2.2-3.fc37.x86_64
 bookworm-0:1.1.3-0.8.20200414git.c7c3643.fc37.x86_64
 cawbird-0:1.4.2-4.fc37.x86_64
 cinnamon-0:5.4.11-1.fc38.x86_64
 claws-mail-plugins-fancy-0:4.1.0-5.fc37.x86_64
 claws-mail-plugins-gdata-0:4.1.0-5.fc37.x86_64
 coin-0:1.3.0-7.fc37.x86_64
 cutter-0:1.2.7-7.fc37.x86_64
 darktable-0:4.0.0-3.fc37.x86_64
 dino-0:0.3.0-4.fc37.x86_64
 dleyna-renderer-0:0.6.0-15.fc37.x86_64
 dleyna-server-0:0.6.0-14.fc37.x86_64
 dmapd-0:0.0.91-4.fc37.x86_64
 elementary-calendar-0:6.1.1-1.fc37.x86_64
 elementary-code-0:6.2.0-2.fc37.x86_64
 elementary-mail-0:6.4.0-1.fc36.x86_64
 elementary-photos-0:2.7.5-2.fc37.x86_64
 elementary-planner-1:3.0.7-1.fc37.x86_64
 elementary-tasks-0:6.3.0-1.fc37.x86_64
 emacs-1:28.1-3.fc37.x86_64
 ephemeral-0:7.1.0-4.fc37.x86_64
 exfalso-0:4.5.0-3.fc37.noarch
 flatpak-builder-0:1.2.2-4.fc37.x86_64
 fondo-0:1.6.1-3.fc37.x86_64
 frogr-0:1.6-5.fc35.x86_64
 gajim-0:1.4.7-1.fc37.noarch