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

ref(vsts): Shadow deprecate VSTS plugin #29202

Merged
merged 4 commits into from
Oct 8, 2021
Merged

ref(vsts): Shadow deprecate VSTS plugin #29202

merged 4 commits into from
Oct 8, 2021

Conversation

leeandher
Copy link
Member

See API-2136

This PR, just like the one for teamwork and clubhouse removes and hides VSTS from the frontend and API to simulate deleting the plugin's source code. Similar to clubhouse, this plugin is already hidden for users who don't have it installed, so that isn't imaged here.

With the feature flag:

  • The plugin can be used and appears in the sidebar, along with any linked issues. These details also appear in the issue header

sidebar before

issue header before

  • It appears, if installed, in the integration directory (as well as the plugin directory)

integrations directory before

  • Any repositories associated with the plugin appear in the repository list

repo list before


Without the feature flag

  • Sidebar and header don't have VSTS information, azure devops linked/created issues are unaffected

sidebar after

issue header after

  • VSTS is hidden from the directory (Azure devops integration is unaffected)

integrations directory after

  • VSTS repos are hidden from the repo list (azure devops repos are unaffected)

repo list after

Comment on lines +28 to +29
if not features.has("organizations:integrations-ignore-vsts-deprecation", organization):
queryset = queryset.exclude(provider="visualstudio")
Copy link
Member Author

Choose a reason for hiding this comment

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

This code took two seconds to write and like two hours for me to figure out how to test and setup since VSTS itself is deprecated on Microsoft's end. I guess this isn't a review comment and more just a public record of my troubles.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2021

size-limit report

Path Base Size (b69280d) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.68 KB 52.67 KB -0.01% 🔽
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.9 KB 70.9 KB 0%

Copy link
Member

@ceorourke ceorourke left a comment

Choose a reason for hiding this comment

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

burn it down

@leeandher leeandher merged commit 53a0f28 into master Oct 8, 2021
@leeandher leeandher deleted the vsts-dep/API-2136 branch October 8, 2021 18:05
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants