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

update-buildpack now migrates to CNB registry #44

Merged
merged 2 commits into from
Mar 18, 2022
Merged

Conversation

ForestEckhardt
Copy link
Contributor

  • By default the upgrade-buildpack command will now try and update all
    URIs in package.toml to use CNB registry URIs. Use the --no-cnb-registry
    flag to revert to the old style of updating which will just try and find
    the most up to date image ref.

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

- By default the upgrade-buildpack command will now try and update all
URIs in package.toml to use CNB registry URIs. Use the --no-cnb-registry
flag to revert to the old style of updating which will just try and find
the most up to date image ref.
@ForestEckhardt ForestEckhardt requested a review from a team as a code owner March 18, 2022 15:13
Copy link
Member

@ryanmoran ryanmoran left a comment

Choose a reason for hiding this comment

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

This is great. Just one comment.

"_link": "https://registry.buildpacks.io//api/v1/buildpacks/some-ns/some-name/0.1.0"
}
]
}`)
Copy link
Member

Choose a reason for hiding this comment

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

FYI, JSON is whitespace agnostic. This means you can indent this code so that it lines up a bit nicer with the test cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am more than happy to give it a quick run through to indent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be all lined up now

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.

2 participants