Hello,
On 11 Jul 2021, at 17:53, Valters Jansons valter.jansons@gmail.com wrote:
On Mon, Jun 14, 2021 at 12:36 PM Michael Tremer michael.tremer@ipfire.org wrote:
Since we have a number of packages that we package for Debian, is it a good strategy to add so many scripts and replicate them across the different repositories? It seems that this will get complicated in the future where improvements might not be copied to all repositories, etc.
How can we combat that?
Hard question to answer directly, as I am not 100% sure about the other projects you are dealing with. However, I would as a general suggestion propose a common repository with dev/build-scripts.
And then? Copy and paste or do this “git submodule” theatre?
Both don’t feel like a very good solution. I am very close to require packaging pakfire and it probably wouldn’t be a bad idea if you had a look at fireperf:
* https://git.ipfire.org/?p=pakfire.git;a=summary * https://git.ipfire.org/?p=fireperf.git;a=summary
This shifts all scripts to an external repository, outside of the project-specific one. Of course, care has to be taken, to make the actual scripts project-insensitive, to run in any project.
--Valters
-Michael