#1018261 confmodule should be distributed separately from debconf

Package:
debconf
Source:
debconf
Submitter:
Gioele Barabucci
Date:
2024-03-19 15:00:03 UTC
Severity:
normal
Tags:
#1018261#5
Date:
2022-08-28 06:56:18 UTC
From:
To:
Dear debconf maintainers,

could you please ship `/usr/share/debconf/confmodule{,.sh}` in a
separate package, for example debconf-common?

Having a separate, shared confmodule is a necessary step in enabling the
transition towards cdebconf.

Patches to create a separate `debconf-common` package, and to adjust
confmodule to be debconf-implementation agnostic, are available at

https://salsa.debian.org/gioele/debconf/-/commits/debconf-common-pkg

Regards,

#1018261#12
Date:
2024-03-19 14:57:48 UTC
From:
To:
In the same spirit, I think Debconf::Client::ConfModule should also be
split into its own package, as it seems entirely distinct from debconf
itself, and similar to e.g. python3-debconf in that sense.

Per established Perl conventions, perhaps something like
libdebconf-client-confmodule-perl?

The dependency transition is going to be an interesting challenge. I see
Giole has resorted to (Pre-)Depends, for the Shell part, which makes
sense given its size, and could work for Perl as well.
Debconf::Client::ConfModule is used by a tiny minority of packages
though, so perhaps something more creative can be used in the long-term,
like perhaps dh_installdebconf getting taught to add the appropriate
dependencies if necessary.

Faidon