Metadata-Version: 2.1
Name: odoo-version-manager
Version: 0.0.20
Summary: Manage Versions of module along all odoo version
Home-page: https://github.com/odoo-module-version-manager.git
Author: Marc-Christian Wimmer
Author-email: marc@zebroo.de
License: MIT
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE


# odoo-version-manager

Helps handling updates on main branch of a module to be deployed to all sub branches.
It uses github workflows to accomplish this.

## installing

```bash
pipx install odoo-version-manager
odoo-version-manager completion -x
```

# usage

## initial setup

- create a repository like an OCA repository with some modules on branch **main**
- decide which version the main branch is for example 16.0

```
odoo-version-manager setup 16.0
```

## set another odoo version for main branch

If you move on and main branch becomes odoo version 18.0 instead of 16.0 do the following:

```
git checkout main
git reset --hard origin/18.0
vi .github/version_behind_main_branch and set 18.0 there
odoo-version-manager setup
```

## rebase all branches

If there are merge conflicts you must manually help the branches to pass there new commits from one to the other.
It is advised to use the -r option to reduce the commits from one branch to the other to make it easier the next time to resolve merge conflicts.

```
odoo-version-manager rebase -r
```
