[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] 6 commits: libvirt-doc: Take over sysctl examples

Andrea Bolognani (@abologna) gitlab at salsa.debian.org
Thu May 11 20:55:36 BST 2023



Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt


Commits:
2414749e by Andrea Bolognani at 2023-05-06T18:24:56+02:00
libvirt-doc: Take over sysctl examples

These examples are currently part of the libvirt-daemon-system
package, but this split goes against our goal of unifying and
simplifying things.

Gbp-Dch: Ignore

- - - - -
9e337c33 by Andrea Bolognani at 2023-05-06T18:24:56+02:00
NEWS: Merge all NEWS files

Right now this results in some duplication, but after some
upcoming changes it will produce the exact opposite outcome.

Gbp-Dch: Ignore

- - - - -
4e3ec2ac by Andrea Bolognani at 2023-05-07T11:49:53+02:00
links: Link /usr/share/doc/* to /usr/share/doc/libvirt0

Instead of needlessly shipping the same files over and over
again, just ship them once as part of the libvirt0 package and
have all the other packages point to that.

This approach is explicitly allowed by Policy.

Ideally we'd implement this using dh_installdocs' --link-doc
option, but the tool refuses to create symlinks between
arch:any and arch:all packages. My understanding is that
having an arch:any -> arch:all symlink would cause issues
with binNUMs, but our case (arch:all -> arch:any) should be
fine.

The only package for which we don't do this is libvirt-doc,
since we ship a bunch of additional documentation files in
that one and so it needs to have its own /usr/share/doc
directory.

- - - - -
0d16a185 by Andrea Bolognani at 2023-05-07T11:49:56+02:00
maintscript: Add dir_to_symlink migration code

dpkg refuses to automatically replace a directory with a symlink,
so for upgrades to work correctly we need some special handling
in maintainer scripts. Luckily, dpkg-maintscript-helper provides
a ready to use implementation of the necessary code and we just
need to make sure it gets invoked.

Gbp-Dch: Ignore

- - - - -
5368293b by Andrea Bolognani at 2023-05-07T11:49:56+02:00
rules: Only install changelogs and docs for libvirt0

Now that all the other packages are linking back to
/usr/share/doc/libvirt0, we need to make sure we don't try to
install files into the corresponding directories.

Gbp-Dch: Ignore

- - - - -
f6187b48 by Andrea Bolognani at 2023-05-10T22:54:07+02:00
control: Make all packages depend on libvirt0

This is already the case for basically all packges, except
it happens indirectly so Lintian can't figure out that's the
case. Making the dependency explicit solves that issue.

libvirt0 is an arch:any package, which poses a challenge when
it comes making it a dependency of arch:all packages.

In general, we want all libvirt packages installed on a
system to have the same version, and that's exactly why we
already have a bunch of '(= ${binary:Version})' type
dependencies. See #981435 for additional information.

However, since binNMUs are a thing, we could end up in a
situation where ${binary:Version} is increased without the
arch:all packages being rebuilt.

This is why we need to use, for arch:all packages, the
slightly more cumbersome version constraints that are based
off ${source:Version} instead of ${binary:Version}. See the
not-binnmuable-all-depends-any Lintian tag for more
information.

Gbp-Dch: Ignore

- - - - -


30 changed files:

- debian/libvirt-daemon.NEWS → debian/NEWS
- debian/control
- + debian/libnss-libvirt.links
- + debian/libnss-libvirt.maintscript
- − debian/libvirt-clients-qemu.docs
- + debian/libvirt-clients-qemu.links
- + debian/libvirt-clients-qemu.maintscript
- − debian/libvirt-clients.NEWS
- − debian/libvirt-clients.docs
- + debian/libvirt-clients.links
- + debian/libvirt-clients.maintscript
- + debian/libvirt-daemon-config-network.links
- + debian/libvirt-daemon-config-network.maintscript
- + debian/libvirt-daemon-config-nwfilter.links
- + debian/libvirt-daemon-config-nwfilter.maintscript
- − debian/libvirt-daemon-driver-lxc.docs
- + debian/libvirt-daemon-driver-lxc.links
- + debian/libvirt-daemon-driver-lxc.maintscript
- − debian/libvirt-daemon-driver-qemu.docs
- + debian/libvirt-daemon-driver-qemu.links
- + debian/libvirt-daemon-driver-qemu.maintscript
- − debian/libvirt-daemon-driver-storage-gluster.docs
- + debian/libvirt-daemon-driver-storage-gluster.links
- + debian/libvirt-daemon-driver-storage-gluster.maintscript
- − debian/libvirt-daemon-driver-storage-iscsi-direct.docs
- + debian/libvirt-daemon-driver-storage-iscsi-direct.links
- + debian/libvirt-daemon-driver-storage-iscsi-direct.maintscript
- − debian/libvirt-daemon-driver-storage-rbd.docs
- + debian/libvirt-daemon-driver-storage-rbd.links
- + debian/libvirt-daemon-driver-storage-rbd.maintscript


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/ef50c8c7a2f99f96b73c4791402f17108097d43b...f6187b48f8b7d1e129b8e49f24e024d1b01e33ab

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/ef50c8c7a2f99f96b73c4791402f17108097d43b...f6187b48f8b7d1e129b8e49f24e024d1b01e33ab
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20230511/5a88fff3/attachment.htm>


More information about the Pkg-libvirt-commits mailing list