Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to version 15.0 #45

Open
5 of 7 tasks
OCA-git-bot opened this issue Oct 17, 2021 · 4 comments
Open
5 of 7 tasks

Migration to version 15.0 #45

OCA-git-bot opened this issue Oct 17, 2021 · 4 comments
Labels
help wanted no stale Use this label to prevent the automated stale action from closing this PR/Issue. work in progress
Milestone

Comments

@OCA-git-bot
Copy link
Contributor

OCA-git-bot commented Oct 17, 2021

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Oct 17, 2021
@pedrobaeza pedrobaeza pinned this issue Nov 19, 2021
@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Apr 17, 2022
@OCA OCA deleted a comment from github-actions bot Apr 17, 2022
@pedrobaeza pedrobaeza added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Apr 17, 2022
@tonyctalope
Copy link

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
Copy link

@tonyctalope
Copy link

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted no stale Use this label to prevent the automated stale action from closing this PR/Issue. work in progress
Projects
None yet
Development

No branches or pull requests

5 participants