kpt icon indicating copy to clipboard operation
kpt copied to clipboard

`pkg get` doesn't work with Azure DevOps

Open nadworny opened this issue 2 years ago • 2 comments

Expected behavior

Getting package from Azure DevOps is working.

Actual behavior

When invoking: kpt pkg get https://dev.azure.com/your_private_organization/your_project/_git/repo_name/kpt_dir@main

I'm getting the following error:

Package "kpt":
Fetching https://dev.azure.com/your_private_organization/your_project/@main
Error: Repository "https://dev.azure.com/your_private_organization/your_project/" not found.

Details:
fatal: repository 'https://dev.azure.com/your_private_organization/your_project/' not found 

Information

kpt version: 1.0.0-beta.19

Steps to reproduce the behavior

Create a sample repository in Azure Devops, push a kpt package with default values, i.e. kpt pkg init awesomeapp and try to get it.

nadworny avatar Aug 22 '22 14:08 nadworny

I guess not so many devs using Azure DevOps here? 😉

Maybe at least some guidance if that's even possible to implement and if yes, where to start? 😄 This is the only blocker for us to start using kpt. The rest works wonderfully.

nadworny avatar Aug 26 '22 06:08 nadworny

+1 for us.

We had the same issue when introducing fluxcd as gitops-controller. There we had the option to use a different git-library (libgit2) that supports Azure DevOps.

stoetti avatar Sep 12 '22 11:09 stoetti