1
0
mirror of https://passt.top/passt synced 2024-07-01 23:42:41 +00:00
passt/contrib
Stefano Brivio 41b5ff0a14 fedora: Introduce own rpkg macro for changelog
git_dir_changelog is useful in theory, but it requires pairs of
annotated tags, which should be generated by rpkg itself to make any
sense, implying a relatively heavyweight interaction whenever I want
to push a new package version.

Also, the default content of the changelog entries include the full
list of changes, but the Fedora Packaging Guidelines specifically
mention that:

  [t]hey must never simply contain an entire copy of the source
  CHANGELOG entries.

We don't have a CHANGELOG file, but the full git history is
conceptually equivalent for this purpose, I guess.

Introduce our own passt_git_changelog() rpkg macro, building
changelog entries, using tags in the form DATE-SHA, where DATE
is an ISO 8601 date representation, and SHA is a short (7-digits)
form of the head commit at a given moment (git push).

These changelog entries mention, specifically, changes to the
packaging information itself (entries under contrib/fedora), and
simply report a link to cgit for the ranges between tags.

Reported-by: Benson Muite <benson_muite@emailplus.org>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-08-20 19:07:12 +02:00
..
apparmor passt, pasta: Add examples of AppArmor policies 2022-03-29 15:35:38 +02:00
debian contrib: Add example of Debian package files 2022-03-30 05:52:39 +02:00
fedora fedora: Introduce own rpkg macro for changelog 2022-08-20 19:07:12 +02:00
kata-containers Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
libvirt libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
podman contrib, test: Rebase Podman patch, enable three-way merge on git am in demo 2022-08-01 12:45:05 +02:00
qemu libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
selinux passt, pasta: Add examples of SELinux policy modules 2022-03-29 15:35:38 +02:00