chaotic-aur / kde-git-WIP-ALPHA

kde-git very WIP and very alpha
GNU General Public License v3.0
3 stars 1 forks source link

Create hooks.d for hooks #7

Open alexjp opened 10 months ago

alexjp commented 10 months ago

Seeing that the functionality difference between chaotic builder and using makepkg is increasing, and will probably increase more, delegate that functionality for hooks (calling external script/executable files).

The hooks would be designated on the settings.toml file.

Probably each hook would have an exit status, of failure or success.

Could this be handy @fan-zhuyifan ?

fanzhuyifan commented 10 months ago

Sure -- hooks should be extremely flexible.

dr460nf1r3 commented 7 months ago

As a side note: this whole thing will eventually (soon ™️) be moved to Gitlab CI, based on infra 4.0. Definitely a plus for every "non-maintainer": all the things happening to packages/repo/build logs will actually be accessible by everyone via pipeline logs and commit history.