vault backup: 2024-12-18 17:57:08

This commit is contained in:
Janik von Rotz committed 2024-12-18 17:57:08 +01:00
1 parent 7fb9b8f666
commit b3e2e699cb
7 files changed
+30 -18

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ tags:
See [Migration to version 14.0](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0#howto) for details.
### Preparation
### Prepare
Set configurations:
@@ -27,7 +27,7 @@ git submodule add -f -b 14.0 git@github.com:OCA/$REPO.git oca/$REPO
cd oca/$REPO
```
### Migration
### Migrate
Create the migration branch.
+3 -3
View File
@@ -7,7 +7,7 @@ tags:
See [Migration to version 15.0](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0) for details.
### Preparation
### Prepare
Set configurations:
@@ -33,7 +33,7 @@ source task source
cd oca/$REPO
```
### Migration
### Migrate
Create the migration branch.
@@ -57,7 +57,7 @@ git commit -m "[IMP] $MODULE: black, isort, prettier" --no-verify
Follow [Tasks to do in the migration](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0#tasks-to-do-in-the-migration) to update the module.
### Submission
### Submit
Finalize the migration:
+1 -1
View File
@@ -60,7 +60,7 @@ git commit -m "[IMP] $MODULE: pre-commit stuff" --no-verify
```
Follow [Tasks to do in the migration](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0#tasks-to-do-in-the-migration) to update the module.
### Submission
### Submit
Finalize the migration.
+1 -1
View File
@@ -60,7 +60,7 @@ git commit -m "[IMP] $MODULE: pre-commit stuff" --no-verify
```
Follow [Tasks to do in the migration](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0#tasks-to-do-in-the-migration) to update the module.
### Submission
### Submit
Finalize the migration.
+3
View File
@@ -0,0 +1,3 @@
# Migrate OCA module to 18.0
See [Migration to version 18.0](https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0) for details.
+3 -1
View File
@@ -13,4 +13,6 @@ Guide has been updated to meet the [[Odoo Development Workflow]].
## [[Migrate OCA module to 16.0]]
## [[Migrate OCA module to 17.0]]
## [[Migrate OCA module to 17.0]]
## [[Migrate OCA module to 18.0]]
+17 -10
View File
@@ -7,30 +7,37 @@ tags:
## Odoo Submodule-Branch initialisieren
Arbeitsschritte:
* Navigation in das Submodule `cd addons/$REPO`
* Neuer Branch erstellen `git switch --orphan $BRANCH`
* Alle Dateien ausser `README.md` entfernen
* Alle Lint-Dateien kopieren `cp template/$BRANCH/.* addons/$REPO/`
* Änderungen committen `git add .; git commit -m "init $BRANCH branch; git push --set-upstream origin $BRANCH"`
* Submodule auf Odoo Build hinzufügen `git submodule add -f -b 17.0 git@github.com:Mint-System/Odoo-Apps-$REPO.git addons/$REPO`
* Alle Dateien entfernen `rm -rf ./*`
* Template-Dateien kopieren `cp -r ../../templates/$BRANCH/. .`
* Die `README.md` Datei aktualisieren.
* Änderungen committen `git add --all; git commit -m "feat: init $BRANCH"; git push --set-upstream origin $BRANCH"`
* Submodule auf Odoo Build hinzufügen `task git-submodule-add git@github.com:Mint-System/Odoo-Apps-$REPO.git addons/$REPO`
* Änderungen auf Odoo Build committen
* Register repo to <https://apps.odoo.com/apps/dashboard/repos>
## Odoo Modul migrieren
Arbeitsschritte:
* Odoo Branch auschecken `task checkout $BRANCH`
* Navigation in das Submodule-Repo `cd addons/$REPO`
* Auschecken Modul von vorhergehender Version `git checkout $OLD_BRANCH $MODULE`
* Modul linten und anpassen `task lint-module addons/$REPO/$MODULE`
* Auschecken Modul von vorhergehender Version `git checkout $SOURCE_VERSION $MODULE`
* Modul-Code aktuallisieren mit `task upgrade-module addons/$REPO/$MODULE $SOURCE_VERSION`
* Modul-Version in `__manifest__.py` aktualisieren
* Modul installieren und testen `task init-module addons/$REPO/$MODULE`
* Test-Instruktionen erstellen (siehe [[Odoo Module Test Instructions]])
* README aktualisieren `task update-readme addons/$REPO/README.md`
* Migration committen `cd addons/$REPO; git add .; git commit -m "migration $MODULE"`
* Pull-Request erstellen und Review beantragen
* Wenn PR gemerged ist das Submodule-Repo deployen
* Modul linten und anpassen `task lint`
* Migration committen `git add --all; git commit -m "feat: migrate $MODULE"`
* Pull-Request erstellen und Review beantragen `gh pr create`
* Wenn PR gemerged ist, das Submodule-Repo deployen
## Mint System Fork für OCA-Repo erstellen
Arbeitsshritte:
* Go to the repo and create a fork
* Navigate into the local repo`cd oca/sale-workflow
* Add the fork as remote `git remote add mint-system git@github.com:Mint-System/sale-workflow.git`