Skip to content

Different branches #7

Open
Open

Description

@wildi1

Hello,
I would be interested why dob is not separated in different branches for various Odoo versions.
Thank you for the information.

Activity

  1. fkantelberg commented on Mar 1, 2024

    @fkantelberg
    Member

    There was no real reason to branch till now and nobody ever questioned it. I see a basic pro/cons situation:

    If we branch we have to push the changes to multiple branches everytime. (e.g. update the CI, documentation of a new feature). dob can work down to Odoo version 8 (replace doblib with doblib-legacy in the dependencies if you want to go below 11.0).

    If we keep everything in one branch you might have to adjust the odoo:version, maybe the python requirements and if you want to go pack further in the odoo versions the python version. These things we normally have to check for new projects anyways. The biggest pain is always the python packages and versions because we have to freeze and pin older packages for older versions. For a testing it's often enough to change only the odoo:version and the branches would have minimal changes.

    Our current premise is:

    • This is a template repository
    • For demo purposes it's configured for the latest Odoo versions
  2. wildi1 commented on Mar 6, 2024

    @wildi1
    Author

    Ok, I understand your point. What about tagging the latest commit where dob was based on the previous Odoo version.
    So when you need a specific odoo version you can simply checkout the tagged commit.

  3. fkantelberg commented on Mar 6, 2024

    @fkantelberg
    Member

    We have documented the features in the docs folder but the features are implemented within the python package dob-lib (version independent like debugger setup etc.). If we use tags the features are available but not documented. It would be worse than using branches for me because people would ask for documented features because they use old commits which only lack the documentation.

    Maybe we can think about storing some patches within the repo to get to the different versions more easily. Not sure how we would handle the versions of the python packages.

  4. wildi1 commented on Mar 6, 2024

    @wildi1
    Author

    Ok thank you for your response. Anyway, it would be great if we could get a previous version of Odoo in a quick way. But doesn't matter. If you have got a suitable solution, feel free to make a short update here. Thank you for developing dob an making it Open Source.

  5. wildi1 commented on Mar 15, 2024

    @wildi1
    Author

    What is about placing different Dockerfiles in the repo:

    • Dockerfile (current Odoo version)
    • Dockerfile_v16
    • Dockerfild_v15
    • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions