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

Github Enterprise Server - Couldn't get repository details #551

Open
coolhome opened this issue Oct 13, 2023 · 3 comments
Open

Github Enterprise Server - Couldn't get repository details #551

coolhome opened this issue Oct 13, 2023 · 3 comments
Labels
Area: VsCodeExtension enhancement Small enhancement to existing functionality

Comments

@coolhome
Copy link

Steps to reproduce:

  1. Use Github Enterprise Server (not Github Enterprise) as your repository source
  2. Azure: Sign In
  3. Azure Pipelines: Configure Pipeline
  4. No prompts just an error:
Couldn't get repository details. Ensure your repo is hosted on [Azure Repos](https://docs.microsoft.com/azure/devops/repos/get-started) or [GitHub](https://guides.github.com/activities/hello-world/).

Azure Pipeline Logs

(10/13/2023, 1:06:00 PM) [SchemaDetection] Detecting schema for workspace folder <redacted>
(10/13/2023, 1:06:00 PM) [SchemaDetection] Found remote URL for <redacted>: git@<redacted>:<redacted>/<redacted>.git
(10/13/2023, 1:06:00 PM) [SchemaDetection] <redacted> has no remote URL or is not an Azure repo
(10/13/2023, 1:06:00 PM) [SchemaDetection] Using cached information for <redacted>: <redacted>, <redacted>
(10/13/2023, 1:06:01 PM) [SchemaDetection] Retrieving schema for <redacted>
(10/13/2023, 1:06:01 PM) [SchemaDetection] User is not eligible for enhanced 1ESPT Schema Intellisense.
(10/13/2023, 1:06:01 PM) [SchemaDetection] Returning cached schema for <redacted>
(10/13/2023, 1:06:01 PM) [SchemaDetection] Detected schema for workspace folder <redacted>: /C:/Users/<redacted>/AppData/Roaming/Code/User/globalStorage/ms-azure-devops.azure-pipelines/<redacted>-schema.json
(10/13/2023, 1:06:13 PM) Couldn't get repository details. Ensure your repo is hosted on [Azure Repos](https://docs.microsoft.com/azure/devops/repos/get-started) or [GitHub](https://guides.github.com/activities/hello-world/).

VSCode Information

Version: 1.83.0 (system setup)
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-03T16:12:16.321Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621

Azure Pipelines Extension: v1.228.0

@DmitriiBobreshev
Copy link
Contributor

Hi @coolhome,
Thank you for reporting this issue, we will take a look.

@DmitriiBobreshev DmitriiBobreshev added bug Something isn't working and removed triage labels Oct 16, 2023
@winstliu winstliu added enhancement Small enhancement to existing functionality and removed bug Something isn't working labels Nov 2, 2023
@winstliu
Copy link
Member

winstliu commented Nov 2, 2023

As the message notes, this is expected - only repos hosted on dev.azure.com and github.com are supported at this time.
(Part of the reason why self-hosted instances aren't supported yet is because we would need to start sending HTTP requests to probe what service it is, whereas right now we can just look at the clone URL.)

@aluevano
Copy link

Message is displayed also on dev.azure.com instances as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: VsCodeExtension enhancement Small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

4 participants