]> git.ipfire.org Git - thirdparty/systemd.git/commit - .gitmodules
mkosi: Introduce packaging sources as submodules 31673/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 8 Mar 2024 10:33:25 +0000 (11:33 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 13 Mar 2024 11:07:49 +0000 (12:07 +0100)
commit37bd860c22b60d6d389ebf1a27c93a32d4af9bc1
treedd6c29ba5cb740c137f60ccc06b01e0138112a28
parentd008a9cfad2ccd582129179ccb76c74a5e4a7adb
mkosi: Introduce packaging sources as submodules

By always cloning the latest branch commit, we can't bisect properly
using mkosi as when bisecting wildly different packaging sources will
be used compared to when the commit was merged. By using submodules, we
track individual commits which means when bisecting the same packaging
sources will be used.

We use git submodules as dependabot has support for automatically making
PRs to update git submodules. This commit also includes the necessary
dependabot configuration to enable this.

We make ubuntu/debian use the same submodule instead of adding the debian
packaging sources twice by introducing a new $PKG_SUBDIR environment variable
and using it instead of $DISTRIBUTION.
13 files changed:
.github/dependabot.yml
.gitmodules [new file with mode: 0644]
mkosi.images/base/mkosi.conf.d/10-arch/mkosi.conf
mkosi.images/base/mkosi.conf.d/10-centos/mkosi.conf
mkosi.images/base/mkosi.conf.d/10-debian-ubuntu/mkosi.conf
mkosi.images/base/mkosi.conf.d/10-fedora/mkosi.conf
mkosi.images/base/mkosi.conf.d/10-opensuse/mkosi.conf
mkosi.images/base/mkosi.sync
pkg/arch [new submodule]
pkg/centos [new submodule]
pkg/debian [new submodule]
pkg/fedora [new submodule]
pkg/opensuse [new submodule]