Skip to content

Commit

Permalink
bitbake: don't create pull request on github by default
Browse files Browse the repository at this point in the history
* there usually are some changes needed to manually adjust the .bbappends to build everything
  correctly with the updated recipes, prevent people from accidentally creating pull-requests
  on github before their changes and is ready to build (or even parse correctly)

Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
shr-project committed Feb 4, 2020
1 parent 805cb32 commit 661e9e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions superflore/generators/bitbake/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ def main():
title + '\n' + pr_comment.replace(
'**superflore**', 'superflore'), markup=''), delta])
overlay.commit_changes(args.ros_distro, commit_msg)
if args.dry_run:
save_pr(overlay, args.only, '', pr_comment, title=title)
sys.exit(0)
file_pr(overlay, delta, '', pr_comment, distro=args.ros_distro,
title=title)
ok('Successfully synchronized repositories!')
save_pr(overlay, args.only, '', pr_comment, title=title)
ok('Successfully synchronized recipes!\n'
'To create pull-request please build generated recipes and '
'adjust the .bbappend files as explained in the '
'documentation.\n'
'Only after that create pull requests on github.\n')
sys.exit(0)

overlay.clean_ros_recipe_dirs(args.ros_distro)
Expand Down

0 comments on commit 661e9e3

Please sign in to comment.