Windows 11 - devcontainers core-dev permission issue when following README instructions #11458
Labels
L: devcontainers
L: docker
Docker containers
L: go:modules
Golang modules
L: ruby:bundler
RubyGems via bundler
T: tech-debt ⚙️
Code improvement description
This might be considered a bug but I chose Tech Debt since I believe this is a Development environment issue only.
README Section: https://github.com/dependabot/dependabot-core?tab=readme-ov-file#visual-studio-code-and-docker
Problem:
On Windows 11 with Docker installed if you follow the steps to use devcontainers, press F5, choose NuGet, and enter a NuGet repository (Iike https://github.com/Cjewett/CoverletIssue) I run into the following error:
Since this is a devcontainer I'm not sure if I should be making manual changes somewhere to fix this problem or if I missed a step in the development environment setup. Any recommendations?
Extra Commentary:
Besides this issue I was curious if the dependabot team would be interested in a document that acted more like a tutorial, similar to https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-aspnet-core?view=vs-2022#prerequisites, which outlines the prerequisites, steps, expected outcomes, etc. for the devcontainer approach. As someone who is not familiar with dependabot the current documentation redirects or handwaves a lot of things that is not obvious. I don't think I've been able to follow any of the guidance in the README to success on Windows 11 without making changes not outlined in the documentation. Also, I made those changes 2 years ago and have no clue what they were anymore.
Example: Visual Studio Code and Docker
It suggests to press F5 and choose Debug Dry Run. After selecting a package manager you are then asked for a repository. It defaults to zonedb/zonedb. What Git provider is that using? Is it okay if I use a URL like https://github.com/Cjewett/CoverletIssue? The end result is the permission issue outlined above. What is the expected outcome of following these steps?
Another suggestion is to press F5 and choose Debug Tests. It mentions you'll be asked to chose an ecosystem and an rspec path. What is an rspec path? If you search the README for
rspec
you get 5 other hits but all of those suggest to use an existing path it seems.It's worth noting if you press F5 there is no Debug Tests option currently as well, so it seems like that section of the README is no longer applicable.
Example: Contributing New Ecosystems
The documentation links to dependabot-script but the top of dependabot-script says it is broken and it has been broken for a very long time. How are new ecosystems supposed to be contributed?
This comment sort of outlines that dependabot-core is not accepting new integrations. However, if dependabot-scripts is broken / deprecated and dependabot-core isn't accepting new integrations then what is the path forward for folks who use different Git providers?
Closing:
I know for some of these things if you dig through the repository issues or other sections of the documentation you can figure it out but I think from a developer experience perspective it makes it much more difficult to get started. Many times people are coming back to the repository and don't remember exactly what went into fixing their environments, so having tutorial(s) that work consistently would be amazing.
Thoughts?
The text was updated successfully, but these errors were encountered: