OCA / hr-attendance

HR Attendance OCA modules for Odoo
GNU Affero General Public License v3.0
48 stars 117 forks source link

Migration to version 15.0 #45

Open OCA-git-bot opened 3 years ago

OCA-git-bot commented 3 years ago

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

tonyctalope commented 1 year ago

I would like to migrate hr_attendance_modification_tracking, the develelop is already done in local but I don't know how to do the git stuff : creating a pull request from a new branch. Someone can guide me ?

JuanyDForgeflow commented 1 year ago

@tonyctalope this might be useful https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

tonyctalope commented 1 year ago

@tonyctalope this might be useful https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

I tried to read it a bit, but didn't find the informations I was looking for. Is this the following topic ? https://github.com/OCA/maintainer-tools/wiki/How-to-move-a-Merge-Proposal-to-GitHub

dsolanki-initos commented 1 year ago

I would like to migrate hr_attendance_modification_tracking, the develelop is already done in local but I don't know how to do the git stuff : creating a pull request from a new branch. Someone can guide me ?

Hello @tonyctalope, 1) Create a new branch from upstream/16.0. (Make sure locally you have up to date with upstream/16.0) 2) Check out your newly created branch. 3) Execute the following command to take the module patch from 15.0 to 16.0. (git format-patch --keep-subject --stdout origin/16.0..origin/15.0 -- MODULE_NAME | git am -3 --keep) 4) Run pre-commit locally. (pre-commit -a) 5) Then do the commit with the following command (git commit -m "[IMP] MODULE_NAME: pre-commit stuff" --no-verify ) 6) After that add your changes in the module according to 16.0 and do another commit with the following command (git commit -m "[MIG] MODULE_NAME: Migration to 16.0") and pushed it to your branch. 7) Finally for the PR, You will see the notification in your repository regarding PR creation(see the attached image for better understand), just click on that button and create it. image