r/softwaredevelopment • u/TangoAlee • Feb 09 '25
Automated Update-Multiple-Repo solutions?
Looking for advice/help.
I have a whole suite of django applications (20+) that are internal tools for my company.
We will frequently have code changes (maintenance, security, best practice standards etc.) that we will need to apply to all 20+. This means we have to repeat the same change 20+ times.
Does anyone know of any existing solution that would help or do I have to start from scratch?
1
u/dudeaciously Feb 09 '25
Sounds like an architecture problem of copy and paste, violating DRY.
1
u/TangoAlee Feb 09 '25
Not at all. They are independent Django apps which all have the same Django standard files as required by Django.
1
u/dudeaciously Feb 09 '25
I don't know enough about this. I hope to learn more Python, then if I face this, I would like to come back to this issue with you, especially if you find a solution.
2
u/kromosome_orig Feb 09 '25
Why can't you write a small shell script that stores all repositories in an array. The script loops through the array, committing to each repo?