Public bug reported:

## FFe ##

[Rationale]
I am requesting a Feature Freeze Exception to enable Conda repository support 
in libsolv for the Stonking cycle.

The change consists of a single-line addition to
override_dh_auto_configure in debian/rules to add the -DENABLE_CONDA=1
CMake flag. This addition is necessary to build mamba, which is a
prerequisite for packaging and supporting tools in the Conda ecosystem
(such as conda-libmamba-solver) in Ubuntu.

[Impact & Regression Potential]
The regression potential is extremely low.

Enabling Conda support in libsolv merely builds and exposes additional
repository semantics and parser functions within the library. It does
not alter or interfere with the default behavior of the existing Debian,
RPM, or standard repository parsers.

The reverse dependencies for libsolv are primarily components of the dnf
and zypper ecosystems:

libsolv1 reverse dependencies: libbssolv-perl, libdnf2t64, libdnf5-2,
libsolv-dev, libsolv-perl, libsolv-tools, libsolvext1, libzypp1735,
python3-hawkey, python3-solv

libsolv-dev reverse dependencies: libdnf-dev, libdnf5-dev, libzypp-dev

Because these existing reverse dependencies do not invoke the Conda-
specific API endpoints, their behavior will remain completely unchanged.

[Testing]

libsolv builds successfully with the new flag:
https://launchpad.net/~vmpyr/+archive/ubuntu/conda/+packages

[Proposed Change]

--- debian/rules
+++ debian/rules
@@ -19,6 +19,7 @@
   -DENABLE_MDKREPO=1 \
   -DENABLE_ARCHREPO=1 \
   -DENABLE_CUDFREPO=1 \
+               -DENABLE_CONDA=1 \
   -DCMAKE_VERBOSE_MAKEFILE=ON \
   -DENABLE_LZMA_COMPRESSION=1 \
   -DENABLE_BZIP2_COMPRESSION=1 \

--- a/debian/libsolv-dev.install
+++ b/debian/libsolv-dev.install
@@ -1,5 +1,6 @@
 usr/include/solv/bitmap.h
 usr/include/solv/chksum.h
+usr/include/solv/conda.h
 usr/include/solv/dataiterator.h
 usr/include/solv/dirpool.h
 usr/include/solv/evr.h

** Affects: libsolv (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  ## FFe ##
  
  [Rationale]
  I am requesting a Feature Freeze Exception to enable Conda repository support 
in libsolv for the Stonking cycle.
  
  The change consists of a single-line addition to
  override_dh_auto_configure in debian/rules to add the -DENABLE_CONDA=1
  CMake flag. This addition is necessary to build mamba, which is a
  prerequisite for packaging and supporting tools in the Conda ecosystem
  (such as conda-libmamba-solver) in Ubuntu.
  
  [Impact & Regression Potential]
  The regression potential is extremely low.
  
  Enabling Conda support in libsolv merely builds and exposes additional
  repository semantics and parser functions within the library. It does
  not alter or interfere with the default behavior of the existing Debian,
  RPM, or standard repository parsers.
  
  The reverse dependencies for libsolv are primarily components of the dnf
  and zypper ecosystems:
  
  libsolv1 reverse dependencies: libbssolv-perl, libdnf2t64, libdnf5-2,
  libsolv-dev, libsolv-perl, libsolv-tools, libsolvext1, libzypp1735,
  python3-hawkey, python3-solv
  
  libsolv-dev reverse dependencies: libdnf-dev, libdnf5-dev, libzypp-dev
  
  Because these existing reverse dependencies do not invoke the Conda-
  specific API endpoints, their behavior will remain completely unchanged.
  
  [Testing]
  
  libsolv builds successfully with the new flag:
  https://launchpad.net/~vmpyr/+archive/ubuntu/conda/+packages
  
  [Proposed Change]
  
  --- debian/rules
  +++ debian/rules
  @@ -19,6 +19,7 @@
-               -DENABLE_MDKREPO=1 \
-               -DENABLE_ARCHREPO=1 \
-               -DENABLE_CUDFREPO=1 \
+    -DENABLE_MDKREPO=1 \
+    -DENABLE_ARCHREPO=1 \
+    -DENABLE_CUDFREPO=1 \
  +             -DENABLE_CONDA=1 \
-               -DCMAKE_VERBOSE_MAKEFILE=ON \
-               -DENABLE_LZMA_COMPRESSION=1 \
-               -DENABLE_BZIP2_COMPRESSION=1 \
+    -DCMAKE_VERBOSE_MAKEFILE=ON \
+    -DENABLE_LZMA_COMPRESSION=1 \
+    -DENABLE_BZIP2_COMPRESSION=1 \
+ 
+ --- a/debian/libsolv-dev.install
+ +++ b/debian/libsolv-dev.install
+ @@ -1,5 +1,6 @@
+  usr/include/solv/bitmap.h
+  usr/include/solv/chksum.h
+ +usr/include/solv/conda.h
+  usr/include/solv/dataiterator.h
+  usr/include/solv/dirpool.h
+  usr/include/solv/evr.h

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166441

Title:
  [FFe] Enable Conda support in libsolv for stonking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsolv/+bug/2166441/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to