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

bitbake: Don't create a pull request #266

Merged
merged 1 commit into from
Mar 22, 2020

Conversation

shr-project
Copy link
Contributor

  • 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]

Copy link
Contributor

@herb-kuta-lge herb-kuta-lge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with:

Generating bitbake recipes without specifying --dry-run is not supported.\n
This is because it is almost inevitable that changes to the metadata under recipes-bbappend will be required.\n
Only when these have been made and the images build and pass the sanity test should a pull request be created.\n

Copy link
Contributor

@herb-kuta-lge herb-kuta-lge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message suggestion:

bitbake/run.py: Require --dry-run

  • There are usually are some changes needed to manually adjust the .bbappends to build everything
    correctly with updated recipes. Prevent people from accidentally creating pull requests
    on GitHub before this is done by requiring that --dry-run be specified.

herb-kuta-lge
herb-kuta-lge previously approved these changes Feb 13, 2020
@herb-kuta-lge herb-kuta-lge changed the title bitbake: don't create pull request on github by default bitbake: Don't create a pull request Feb 13, 2020
@herb-kuta-lge herb-kuta-lge dismissed their stale review February 13, 2020 15:50

The README.md needs to be updated.

Copy link
Contributor

@herb-kuta-lge herb-kuta-lge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md needs to be updated to indicate that --dry-run is required for superflore-gen-oe-recipes

Can its usage message also be changed to show that --dry-run is required?

README.md Show resolved Hide resolved
@shr-project shr-project force-pushed the jansa/dry-run branch 2 times, most recently from d7fc7a3 to 9648c6e Compare March 20, 2020 18:54
@shr-project shr-project force-pushed the jansa/dry-run branch 2 times, most recently from 7153976 to 49cbad3 Compare March 20, 2020 20:14
Copy link
Contributor

@herb-kuta-lge herb-kuta-lge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errors from linters:
superflore/generators/bitbake/run.py:20:1: F401 'superflore.exceptions.NoGitHubAuthToken' imported but unused
superflore/generators/bitbake/run.py:48:80: E501 line too long (93 > 79 characters)

@herb-kuta-lge
Copy link
Contributor

@allenh1 < Should an issue be created for this PR?

* There are usually are some changes needed to manually adjust the
  .bbappends to build everything correctly with updated recipes.
  Prevent people from accidentally creating pull requests on GitHub
  before this is done by requiring that --dry-run be specified.

Signed-off-by: Martin Jansa <[email protected]>
Copy link
Contributor

@herb-kuta-lge herb-kuta-lge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting to see if @allenh1 wants an issue created for this PR.

@allenh1
Copy link
Collaborator

allenh1 commented Mar 22, 2020

@allenh1 < Should an issue be created for this PR?

No, I'm not too concerned about it. Feel free to squash & merge.

@herb-kuta-lge herb-kuta-lge merged commit a98b2ee into ros-infrastructure:master Mar 22, 2020
@shr-project shr-project deleted the jansa/dry-run branch March 23, 2020 13:46
@herb-kuta-lge herb-kuta-lge added this to the Version 0.3.2 milestone Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants