]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: add helper script to update mkosi hash
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Sep 2024 08:49:41 +0000 (10:49 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Sep 2024 08:52:52 +0000 (10:52 +0200)
commite31134b5f2a10fb61b09075b8629a626cc3eb328
tree59b22d91309e85bf1bffbfa32e2e7b3573ae4ffa
parentc3563dc6d999cbc0da30c15e6e9d109021d2bd8e
mkosi: add helper script to update mkosi hash

This is very similar to tools/fetch-distro.py. The idea is that we extend the
commit to update the mkosi hash with a git log --pretty=oneline output, so that
the reader can know what changes were actually included.

The motivation is that I'm always wondering what changed in mkosi when I see a
commit updating the hash, and it's nicer to have this information shown
directly in the commit.

The script does _not_ pull changes from upstream, on the assumption that the
person doing the commit always has a fresh checkout and that they tested with
that checkout.
tools/fetch-mkosi.py [new file with mode: 0755]