Single-module (and dependencies) runboat #126
Replies: 9 comments 14 replies
-
I personnally agree with @francesco-ooops and love the pizza metaphor, by the way ;) |
Beta Was this translation helpful? Give feedback.
-
I totally agree with @francesco-ooops . |
Beta Was this translation helpful? Give feedback.
-
This is a good idea, but technically very difficult to be executed. The only viable option I see is to have a runboat without installing anything, but with the option to install any module of the repo (and with their dependencies available), so you should install on demand for trying, and having the option to reset it to the initial state for trying other module. Not sure though if this is possible with PIP system. cc @sbidoul |
Beta Was this translation helpful? Give feedback.
-
Sounds complicated to implement. One possibility is to always let runboat install a build with only I currently chose to create the base-only db only when the full install failed, but that is easy to change. It will make the runboat build a little bit slower (because it needs to create the base only database, but it is quite fast so should be okay). |
Beta Was this translation helpful? Give feedback.
-
Done and deployed. sbidoul/runboat#101 |
Beta Was this translation helpful? Give feedback.
-
Thanks @francesco-ooops @sbidoul Nice job |
Beta Was this translation helpful? Give feedback.
-
Amazing! Thank you @sbidoul! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @sbidoul for the super fast implementation! Do you think this could be done also in readme files for modules? I mean having the "Runboat" button point to a build with the double implementation. |
Beta Was this translation helpful? Give feedback.
-
@sbidoul another thing that would be nice to improve the flow:
CURRENT BEHAVIOR "all repo modules installed" build is automatically open EXPECTED BEHAVIOR
|
Beta Was this translation helpful? Give feedback.
-
Picking up from sbidoul/runboat#95 and subsequent announcement here, here's an idea to think about:
the possibility of building a runboat with a specific single module (and its dependencies) is extremely interesting from a functional perspective, as it's something that would help immensely testing a module (both an already merged one or the one in a PR).
Issue
Testing a module on a runboat for a repo with tens of modules (eg: sale-workflow, purchase-workflow, stock-logistics-warehouse, ...) is like going to a restaurant to try out how a single ingredient - let's say olives - tastes on pizza, but the only pizza in the menu is one with all possible ingredients in the kitchen. It's unlikely you will leave the restaurant with an opinion on olives.
Disadvantages
This leads to:
This last point is especially unhelpful for functionals with less knowledge of repo structure, who only need an instance to test a single module. Specifically, at the last OCA days we've noticed there was quite some confusion on which runboat to use from the current runboat interface
Considerations
Proposal
In PRs and in readme file for merged modules, provide two links:
cc @OCA/oca-consultants
Beta Was this translation helpful? Give feedback.
All reactions