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

fix(datasource/go): private repositories on azure #26984

Merged
merged 8 commits into from
Feb 29, 2024

Commits on Feb 1, 2024

  1. fix(datasource/go): private repositories on azure

    This will fix a bug that occurs with private go packages with a major
    version greater than 1 on Azure DevOps.
    
    The problem is that Azure DevOps has support for go-get metadata but it
    will only work for modules that are included without a version suffix
    attached, like dev.azure.com/<org>/<project>/_git/<repo>.git/v2
    Once such a suffix is part of the URL the http request to fetch the
    metadata info will result in 404 Not Found error.
    This change will now fetch the releases for the module as git tags from
    the repository.
    The Azure DevOps documentation https://learn.microsoft.com/en-us/azure/devops/repos/git/go-get
    describes two ways to name go packages:
    dev.azure.com/<org>/<project>/_git/<repo>.git and dev.azure.com/<org>/<project>/<repo>.git
    Both possible names are changed to https://dev.azure.com/<org>/<project>/_git/<repo>
    to have a valid Azure DevOps https git URL.
    jsperling-schwarz committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    bc824eb View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    9529f51 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    352214e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f35770 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    7550967 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. fix: make coverage test happy

    with the recent changes there is no chanche to trigger the azure fall
    back detection.
    jsperling-schwarz committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    6114d03 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    9e10b60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    428f0f6 View commit details
    Browse the repository at this point in the history