The latest git change breaks some CICD
Hi guys!
It seems like apline recently introduced some updates in the git apk: https://git.alpinelinux.org/aports/commit/main/git/APKBUILD?id=81e0ab5e96559a2d77cc45cff3defe7ee8ef358e. And I noticed this change was suppose to install templates only when git-doc installed: !59248 (merged). This new behaviour will generate a very slim .git
folder because all default templates were removed from the clean installation.
This will actually break some CICD systems. We noticed this because we have a pipeline that exported some exclusion rules using: echo "rules" >> .git/info/exclude"
. This is not working now as info
won't be created from the empty templates. (Default template includes some comments inside the exclude
file even though it doesn't has any rule). I know it's easy to fix by just create the folder using mkdir -p .git/info
. However, I feel this improvements will break lots of images out there because of the lacking of some empty files. Do you think it's a good idea to do so? I know the concept of alpine is to deliver a small, clean and easy to use baseos, but isn't it a bit too opinionated in this case?