# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/odoo-module-version-manager.git",
"name": "odoo-version-manager",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": null,
"keywords": null,
"author": "Marc-Christian Wimmer",
"author_email": "marc@zebroo.de",
"download_url": "https://files.pythonhosted.org/packages/51/ee/0821d36814e63380c505c6465f45004ca92c54e8b10ce9e0f6753d434036/odoo-version-manager-0.0.15.tar.gz",
"platform": null,
"description": "\n# odoo-version-manager\n\nHelps handling updates on main branch of a module to be deployed to all sub branches.\nIt uses github workflows to accomplish this.\n\n## installing\n\n```bash\npipx install odoo-version-manager\nodoo-version-manager completion -x\n```\n\n# usage\n\n## initial setup\n\n- create a repository like an OCA repository with some modules on branch **main**\n- decide which version the main branch is for example 16.0\n\n```\nodoo-version-manager setup 16.0\n```\n\n## set another odoo version for main branch\n\nIf you move on and main branch becomes odoo version 18.0 instead of 16.0 do the following:\n\n```\ngit checkout main\ngit reset --hard origin/18.0\nvi .github/version_behind_main_branch and set 18.0 there\nodoo-version-manager setup\n```\n\n## rebase all branches\n\nIf there are merge conflicts you must manually help the branches to pass there new commits from one to the other.\nIt 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.\n\n```\nodoo-version-manager rebase -r\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Manage Versions of module along all odoo version",
"version": "0.0.15",
"project_urls": {
"Homepage": "https://github.com/odoo-module-version-manager.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51ee0821d36814e63380c505c6465f45004ca92c54e8b10ce9e0f6753d434036",
"md5": "cce52813f59949a3bba2722812456f79",
"sha256": "8c08d03d6ee00c123e8db67bd8e1d5d4086450c9ee5d2a762b0ca5e096b4426d"
},
"downloads": -1,
"filename": "odoo-version-manager-0.0.15.tar.gz",
"has_sig": false,
"md5_digest": "cce52813f59949a3bba2722812456f79",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 16410,
"upload_time": "2025-01-01T21:22:22",
"upload_time_iso_8601": "2025-01-01T21:22:22.220671Z",
"url": "https://files.pythonhosted.org/packages/51/ee/0821d36814e63380c505c6465f45004ca92c54e8b10ce9e0f6753d434036/odoo-version-manager-0.0.15.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-01 21:22:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "odoo-version-manager"
}