Christophe BLAESS
Christophe BLAESS
I think that if you implement the `post-fetch` hook to run a script that applies a patch, you will need to implement `pre-fetch` to run a script that executes `patch...
BTW `cooker mirror` looks interesting to me too.
First of all I totally agree with the need for refactoring and splitting the `cooker.py` file, it starts to be a bit long to read and understand. Concerning the hooks,...
> Fetch? The cooker-command for that is update. > Yes, sorry, it was late... > > In this example the very first time pre-fetch (`pre-update`) will fail, how is this...
> If we inspire us by git, its hooks are just files with a filename. If we chose this, then no changes are needed for the menu at all, but...
I like the idea that depending on local configuration (the `hook-dir` option during `cooker init`) the behaviour of a menu could be different. This could be a way to handle...
Fun fact, I suggested quite the same feature last week during a meeting with Patrick :-)
There are other ways to support the `site.conf`equivalent : - add a command-line option (`--site-specific `) that copy the given file into `conf/site.conf` before the build(s); - add a `site-specific`...
I don't use this feature yet. IIRC, the idea is to add in your menu file a section like this (at the same level than "sources"): ``` "override_distro": { "build-script":...
Did you use the latest `master` version? The commit implementing `override_distro` is from 2023/02/23 (not in latest release)