-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for the best way to manage a high number of OCA repositories #575
Comments
So because I was looking for a way to manage this, I just went ahead and wrote a little phyton script as a tool. perhaps its useful to add to the oca maintainer tool. Maybe now i have done this, i should convert this over to a pull request or something? Forgive me, I am very new to this. This script is a very basic utility tool designed to allow users to interactively select directories from a predefined base directory. When the script is run it:
The script also checks and prompts the user to install required Python libraries if they are not already present. Future plans: Attached is the py file (as a txt, because I don't know how to upload a py file) and a brief readme. |
pro-tip: https://github.com/acsone/git-aggregator this is the basis. Atop of this you could use extra layers such as Doodba or Docky (and specially akretion/ak) but git-aggregator is definitely the basis. And yes to survive with Odoo, like it or not, you should have a pretty advanced git skills first. |
I’m not sure that’s effective with a huge number of repos? Like if you were to clone all. Could you give an example? Say I have a dodo instance, I want to clone all the OCA repos so they are available in Odoo. How would I manage it with git aggregator? I wouldn’t say I have advanced git skills. I guess I could write a script that would create the yml file. |
That's not a real need. You don't need to clone the 200+ repos for any project. |
Why does the clone-all script exist? For me when I’m developing and testing - Building for different scenarios - I do want to be able to just have it there ready. When I deploy a production environment, I’d likely only deploy the necessary repos. |
You'll find that it's better to populate what you need instead of trying to have it all. The clone_all option is a very old one, useful in some automation scenarios, but not for real life. Closing this, as this is not an issue, but a question. |
Do you think anyone will have any use for my script? Is it worth putting it in the maintainer repo to work alongside the clone-all script? |
Which script? |
It’s in my second comment on this request. I attached the script and a readme. |
Well, the fact that there's no demand during all these years for something like that, may point to not being needed, but I let others to raise their hand to say if it's useful. |
Yeh. Totally understandable. Also handy for aggregating any number of repos. Doesn’t need to be large. Much simpler to use than the main aggregator. I guess if someone is looking for a simple way to add multiple addons to Odoo at once, make it available, they will find it here with the script. Thanks for your help 👍 I’m going to spend some time looking into the methods you suggest. |
Is your feature request related to a problem?
Yes, managing a large number of OCA repositories. I've cloned a vast amount of OCA repositories using the OCA maintainer tool's clone-all script. However, I'm now wondering the best method to make these repositories accessible from within my Odoo instance.
Describe the solution you'd like
I'm seeking a solution or guidance on the optimal way to integrate these 200+ repositories with my Odoo instance. A step-by-step guide, or perhaps an automated script/tool, would be immensely beneficial.
Describe alternatives you've considered
Additional context
I would also appreciate advice on best practices for updating OCA modules. I am receptive to the possibility that I might have overlooked something in the existing documentation. If this is a common challenge among users, enhancing the documentation might aid many others in the community.
The text was updated successfully, but these errors were encountered: