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

🎁 Buoy will float to branch for submodules other then root #37

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

cardil
Copy link
Contributor

@cardil cardil commented Jan 28, 2025

Which issue(s) this PR fixes:

Fixes #36

Copy link

knative-prow bot commented Jan 28, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@knative-prow knative-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 28, 2025
Copy link

@knative-prow knative-prow bot left a comment

Choose a reason for hiding this comment

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

@cardil: 0 warnings.

In response to this:

Which issue(s) this PR fixes:

Fixes #36

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 28, 2025
@cardil cardil changed the title [WIP] 🎁 Buoy will float to branch for submodules other then root 🎁 Buoy will float to branch for submodules other then root Jan 28, 2025
@cardil cardil marked this pull request as ready for review January 28, 2025 13:18
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 28, 2025
@knative-prow knative-prow bot requested review from mgencur and psschwei January 28, 2025 13:18
@cardil
Copy link
Contributor Author

cardil commented Jan 28, 2025

/cc @dsimansk

I think this is it. Please, take a look.

@knative-prow knative-prow bot requested a review from dsimansk January 28, 2025 13:18
Copy link
Contributor

@dsimansk dsimansk left a comment

Choose a reason for hiding this comment

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

Would you mind capturing a note in README.md and also adding a bit of context to the float cmd help message, pls?

@dsimansk
Copy link
Contributor

Otherwise works well in a few tries I've done on main Serving and plugins repos. It really does what we need with recognizing submodule. :)

"Any - v0.2 - with submodule": {
repo: submoduleRepo,
version: semver.MustParse("0.2.0"),
want: "[email protected]",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be ref@sub/release-0.2 no? is this not a tag? perhaps this is a branch and I don't fully understand what the goal is.

Copy link
Contributor Author

@cardil cardil Jan 28, 2025

Choose a reason for hiding this comment

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

We thought to go for the branches for submodules. Otherwise, we would need to add additional Git tags to the repo like: sub/v0.2.0.

In fact, in that case we wouldn't need to adjust the buoy, as the [email protected] will just work, if those additional tags were added to the repo.

@cardil cardil requested a review from n3wscott January 28, 2025 17:40
@cardil cardil requested a review from dsimansk January 29, 2025 10:46
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 29, 2025
Copy link

knative-prow bot commented Jan 29, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cardil, dsimansk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit bc7e152 into knative:main Jan 29, 2025
22 checks passed
@cardil cardil deleted the bugfix/buoy-submodules branch January 29, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buoy support for nested submodules without named tags
3 participants