Replies: 4 comments 5 replies
-
| Well, here the problem is not strictly of Doodba, but git in general. For having all the needed code in you development environment, Doodba can help you through repos.yaml file, allowing you to define the remotes (OCA and yours) and to auto-merge all the PRs or branches (A, B, C and D) automatically. I suppose you know the syntax that is specified in the file or help. Launching the command  
 This gets more complicated if the changes belongs to several branches, but I think you get the basic idea. | 
Beta Was this translation helpful? Give feedback.
-
| Hi @kittiu Maybe @yajo can give a help here, but I think your use case would end up being something like this: From what I understood, you wanted to fix some things in module D, which depends on modules A, B and C, correct? In this case, what Doodba does (using  # ...
some-repo:
  defaults:
    depth: $DEPTH_MERGE
  remotes:
    oca: git@github.com:OCA/some-repo.git
  target: oca $ODOO_VERSION
  merges:
    - oca $ODOO_VERSION
    - oca refs/pull/123/head # PR for module A
    - oca refs/pull/124/head # PR for module B
    - oca refs/pull/125/head # PR for module C
    - oca refs/pull/126/head # PR for module D
    - oca refs/pull/127/head # Another PR for module DYou don't need to check anything into the private folder, because  | 
Beta Was this translation helpful? Give feedback.
-
| Besides, I have read what  | 
Beta Was this translation helpful? Give feedback.
-
| Excellent !!! | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@yajo thank you for the Doodba, it is awesome. We are trying to adopt it for our development workflow.
I admitted that I was first confused how to use Doodba for development especially with OCA. But I think I read somewhere that Dooda is build for "PR" first, and the merged PR will auto land into production. This message clear things up for me.
I have no problem working with a single module (or PR) or a module that depends on unmerged modules from other repos (config repos.xml for those modules).
https://github.com/Tecnativa/doodba-copier-template/blob/stable/docs/faq.md#how-do-i-develop-for-an-external-repo-such-as-oca
But given for example, I have module A, B, C, D (PRs) depending on one another, from the same repo. I want to fix some things in D which on module A, B, C. What should I do to prepare for deveopment?
Is this correct?
privatefolder manuallyBut says, I then found something to fix first in module C, which of course depends on some other module in the same repo. Do I have to the same steps to prepare things for module C? Is this correct?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions