RFC: proxying credentials for private registries #1317
Replies: 3 comments 11 replies
-
@mburumaxwell Could you clarify whether losing the ability to auto complete, auto approve, policy bypass, skip PR creation etc would be for private feeds only, or would it also be the case for public feeds as well? For me, losing these features is better than losing access to private registries/feeds entirely. However, if it means losing access to these features in public feeds as well, this is probably a more difficult decision. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of using dependabot-cli to perform the update as it seems like the most robust way to ensure update behaviour doesn't fall behind with new features or breaking changes. In theory if the DevOps extension just built a The functionality for managing PRs (create/update/abandon/auto-completing/auto-approve/etc) would be moved in to the extension TypeScript code, outside of the dependabot tools. Pros:
Cons:
Proof-of-concept: |
Beta Was this translation helpful? Give feedback.
-
Documentation says under Unsupported features and configurations / Server that "Private feed/registry authentication may not work with all package ecyosystems." and link gets me here to this discussion. We are using server since Azure DevOps extension MS Hosted Agent ran longer than the maximum time of 60 minutes (even when we splitted configuration into multiple stages using targetUpdateIds). I have been trying to get authentication to work but not succeeded. I have tried to ignore these private packages via dependabot.yml configuration file but it is not making any difference. I like to know is private feed (nuget) still not working when using server implementation? |
Beta Was this translation helpful? Give feedback.
-
There have been a number of issues regarding authentication to private registries/feed. When this extension was made, dependabot/GitHub was not so clear about how they should be handled. That has since evolved to be a bit more clear including support for them in the configuration file.
However, as with every other product, not many can foresee what comes next and even then, things don't always go as planned. With credentials, things have changed. Especially for NuGet/.NET. It appears that we need to use a proxy to handle credentials going forward. This can be seen in dependabot-cli and dependabot-action. To support this requires an API that speaks dependabot so that we can use the closed source proxy or build our own.
A very simple solution would be directly using the dependabot-cli but it would mean loosing: auto complete, auto approve, policy bypass, skip PR creation, etc
It would be great and ideal to hear from the community.
Reading:
nuget.config
dependabot/dependabot-core#10360 (comment)cc: @rhyskoedijk
Beta Was this translation helpful? Give feedback.
All reactions