-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Private pip registries not working #6676
Comments
Hi @DanielKnutsen! I know this is confusing but while the publicly facing setting is I think the easiest way to fix this for the moment would be at https://github.com/tinglesoftware/dependabot-azure-devops. In particular, properly a new special case around here: https://github.com/tinglesoftware/dependabot-azure-devops/blob/ea2ebb92e0d880e37752a5a428f42c65102d739e/extension/task/utils/parseConfigFile.ts#L281-L295. Feel free to open an issue at https://github.com/tinglesoftware/dependabot-azure-devops and reference this ticket, so we can figure this out together. |
This should now fixed in the extension repo via tinglesoftware/dependabot-azure-devops#526. @deivid-rodriguez is there a place where this translations/transforms/mappings are documented or can be extracted? |
Thanks for the fix @mburumaxwell! Unfortunately no, I'm finding about these discrepancies myself through issues like this one. We do plan to publish the configuration schema and eventually reconcile internal naming to match that, but not sure when we'll be able to get to that, so super appreciated that you fixed this on your side for now 🙏. I'll close this, if something is not yet working for you @DanielKnutsen feel free to reach out! |
Hopefully, it will be clearer some day. |
Definitely! |
Is there an existing issue for this?
Package ecosystem
pip
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
version: 2
registries:
pip-azure-artifacts:
type: 'python-index'
url: 'https://pkgs.dev.azure.com/removed_org/removed_project_id/_packaging/removed_feed_name/pypi/simple'
token: 'PAT:${{SYSTEM_TOKEN}}'
updates:
directory: '/'
schedule:
interval: 'daily'
registries:
open-pull-requests-limit: 5
target-branch: 'main'
versioning-strategy: 'auto'
insecure-external-code-execution: allow
Updated dependency
No response
What you expected to see, versus what you actually saw
I'm using the Azure Devops extension, but I suspect the problem is located in this code base (feel free to dismiss this if I'm wrong). As you can see from the attached dependabot.yml content I have specified my private pip registry as described in the documentation. More specifically I'm using the
url
key as opposed toindex-url
that was used previously. However, when I run the pipeline, all packages in the private registry fails to update with the error message highlighted in the logs below.Here the code asks for
index-url
, should this maybe beurl
with the new config version?Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: