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

Rich azure integration basics (#3976) #3984

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

sergeibbb
Copy link
Member

@sergeibbb sergeibbb commented Jan 24, 2025

Description

Implements #3976

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

sergeibbb added a commit that referenced this pull request Jan 24, 2025
@sergeibbb sergeibbb force-pushed the 3976-basic-azure-integration branch from 7365a7c to afe8f8c Compare January 24, 2025 16:46
sergeibbb added a commit that referenced this pull request Jan 27, 2025
@sergeibbb sergeibbb force-pushed the 3976-basic-azure-integration branch from afe8f8c to f2bce05 Compare January 27, 2025 13:18
sergeibbb added a commit that referenced this pull request Jan 27, 2025
@sergeibbb sergeibbb force-pushed the 3976-basic-azure-integration branch from f2bce05 to 2e58f76 Compare January 27, 2025 14:32
@sergeibbb sergeibbb changed the base branch from main to debt/configured-integrations January 27, 2025 14:32
@axosoft-ramint axosoft-ramint force-pushed the debt/configured-integrations branch from 5f05d75 to 15a2c4c Compare January 27, 2025 16:51
Base automatically changed from debt/configured-integrations to main January 27, 2025 17:04
@sergeibbb sergeibbb force-pushed the 3976-basic-azure-integration branch from 2e58f76 to a317c9c Compare January 27, 2025 17:28
Copy link
Contributor

@axosoft-ramint axosoft-ramint left a comment

Choose a reason for hiding this comment

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

Just a few minor comments

Comment on lines 673 to 674
case 'azure-devops':
return get(HostingIntegrationId.AzureDevOps) as RT;
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably need to check the remote's domain here and only return the azure devops id if it's non-enterprise. We don't support azure enterprise yet and should probably return undefined for that.

Copy link
Member Author

Choose a reason for hiding this comment

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

@axosoft-ramint
Done.
Something like this?
image

Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't tested it yet, but if you've verified by cloning an azure repo and making sure it passes this check, I think we should be good to go.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I cloned both: a repo under dev.azure.com and another one under *.visualstudio.com

src/constants.integrations.ts Show resolved Hide resolved
@axosoft-ramint axosoft-ramint merged commit bf589c2 into main Jan 28, 2025
3 checks passed
@axosoft-ramint axosoft-ramint deleted the 3976-basic-azure-integration branch January 28, 2025 18:11
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.

Azure DevOps Integration Support - Set Up Azure DevOps Auth Provider and Basic Integration
2 participants