Skip to content

Commit

Permalink
[IMP] migrate_branch_empty: Add note about missing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Sep 29, 2019
1 parent 21a071c commit d3a4a8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/migrate_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ def _create_migration_issue(self, repo, modules, milestone):
"Migration-to-version-%s\n\n# Modules to migrate\n\n" %
self.gh_target_branch)
body += "\n".join(["- [ ] %s" % x for x in modules])
body += (
"\n\nMissing module? Check https://github.com/OCA/maintainer-"
"tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list"
)
# Make sure labels exists
labels = []
for label in repo.labels():
Expand Down
5 changes: 5 additions & 0 deletions tools/migrate_branch_empty.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
Known issues / Roadmap
======================
* Pin the migration issue when GitHub API allows it.
* Issue enumerating the module list contains a list to a Wiki page that should
be formatted this way:
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-{branch}
Expand Down Expand Up @@ -248,6 +249,10 @@ def _create_migration_issue(self, repo, modules, milestone):
"Migration-to-version-%s\n\n# Modules to migrate\n\n" %
self.gh_target_branch)
body += "\n".join(["- [ ] %s" % x for x in modules])
body += (
"\n\nMissing module? Check https://github.com/OCA/maintainer-"
"tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list"
)
# Make sure labels exists
labels = []
for label in repo.labels():
Expand Down

0 comments on commit d3a4a8c

Please sign in to comment.