Skip to content

Fix migrating settings from plugin 0.20 to 0.21+#46

Merged
samrocketman merged 1 commit into
masterfrom
fix_migration_from_0.20
Jul 20, 2015
Merged

Fix migrating settings from plugin 0.20 to 0.21+#46
samrocketman merged 1 commit into
masterfrom
fix_migration_from_0.20

Conversation

@samrocketman
Copy link
Copy Markdown
Member

fixes JENKINS-29473. Authorization breaks when migrating from plugin 0.20 or below to 0.21 and above. This is due to OAuth scopes not existing in prior configurations. This patch fixes that.

@samrocketman
Copy link
Copy Markdown
Member Author

@cloudbeesci code review, please 😄.

@samrocketman
Copy link
Copy Markdown
Member Author

cc @jhoblitt code review, please.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Need to fix indenting.

@samrocketman samrocketman force-pushed the fix_migration_from_0.20 branch from 645d36d to fd3bb38 Compare July 19, 2015 20:26
@samrocketman
Copy link
Copy Markdown
Member Author

Fixed indenting and amended commit.

@jenkinsadmin
Copy link
Copy Markdown
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this was the only file importing java.util.logging.Level.*

@samrocketman samrocketman force-pushed the fix_migration_from_0.20 branch from fd3bb38 to 76c9769 Compare July 20, 2015 05:01
@samrocketman
Copy link
Copy Markdown
Member Author

@jhoblitt I went ahead and removed checking for an empty string. Once that verifies I'm going to do another plugin release as 0.21.2. This problem will quickly exacerbate as more users attempt to upgrade so I want the patch to go out quick. There's been one duplicate issue created about it in JIRA. Thanks for your review 😄.

If there's other code style changes or improvements we could always open a new pull request improving the style or length of lines. I'm open to aesthetic and cleanup changes.

@samrocketman samrocketman merged commit 76c9769 into master Jul 20, 2015
samrocketman added a commit that referenced this pull request Jul 20, 2015
@samrocketman samrocketman deleted the fix_migration_from_0.20 branch July 20, 2015 05:13
@samrocketman
Copy link
Copy Markdown
Member Author

I have released plugin 0.21.2 to address this migration issue as quickly as possible.

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