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

feat(go): add support for bumping a Go version file #1089

Closed
wants to merge 7 commits into from
Closed

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Oct 18, 2021

No description provided.

@codyoss codyoss requested a review from a team October 18, 2021 20:09
@codyoss codyoss requested a review from a team as a code owner October 18, 2021 20:09
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 18, 2021
@codyoss codyoss added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 19, 2021
@codyoss codyoss removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 28, 2021
Copy link
Contributor

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

Small nit requesting an additional test case. I apologize for the slow review, feel free to assign a PR to someone explicitly if this ever happens.

.onCall(0)
.rejects(Object.assign(Error('not found'), {status: 404}));
.withArgs('version.go', 'master')
.resolves(buildFileContent('version.go'));
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 it might be worth adding a test case that confirms that a missing version.go is a noop.

Copy link
Member Author

@codyoss codyoss Nov 15, 2021

Choose a reason for hiding this comment

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

I can add an explicit test if you think that is needed but I showed in a couple of followup commits this is confirmed by current tests:
Screen Shot 2021-11-15 at 2 13 52 PM

@codyoss codyoss requested a review from bcoe November 15, 2021 21:36
@bcoe
Copy link
Contributor

bcoe commented Nov 19, 2021

@codyoss we have this huge refactor which I think is pretty much ready to land:

https://github.com/chingor13/rp3

@chingor13 should we land this, and merge it into your refactor. Or land your refactor and merge this work into it?

@bcoe
Copy link
Contributor

bcoe commented Nov 23, 2021

@codyoss okay, refactor is complete, sorry for doing that to you.

@chingor13
Copy link
Contributor

chingor13 commented Nov 24, 2021

Reimplemented in #1112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants