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

GH2696: Update Cake support for GitReleaseManager #2699

Merged
merged 11 commits into from Jan 22, 2020

Conversation

gep13
Copy link
Member

@gep13 gep13 commented Jan 17, 2020

Fixes #2696

If/when this is merged, we will need to make sure to switch to the CAKE_GITHUB_TOKEN environment variable.

@gep13
Copy link
Member Author

gep13 commented Jan 17, 2020

@cake-build/cake-team would be good to get a review of this, thanks!

Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Not entirely sure what this wasn't done initially, but I think it makes
sense to apply this refactoring now.  Makes it easier to add the three
new common options.
All of these will default to false, unless otherwise specified.
Add indentation which seemed to be missing
GitReleaseManager is deprecating support for using username/password
when connecting to GitHub, and as such, the Cake Aliases that provide
this functionality should also be marked as Obsolete.
Add parsing of common arguments to each alias for GitReleaseManager, as
well as tests for ensuring that they are being output when set.
Update tool pre-processor directive to use 0.10.2.  Also switch away
from using username/password version GRM Cake aliases, in favour of
token version.  And finally, added yaml configuration to enable new GRM
features.
These were created by copying from the create and close methods.
Not sure how/why this wasn't implemented already across all the
methods, but glad that it was caught here.
@devlead devlead merged commit b359473 into cake-build:develop Jan 22, 2020
@devlead
Copy link
Member

devlead commented Jan 22, 2020

@gep13 your changes have been merged, thanks for your contribution 👍

@gep13 gep13 deleted the feature/GH-2696 branch January 22, 2020 13:35
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.

Upgrade Cake Alias support for GitReleaseManager
2 participants