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

Repository configuration not possible at project level #2645

Closed
1 task done
lukaszmoroz opened this issue Feb 20, 2024 · 0 comments · Fixed by j178/pdm#1
Closed
1 task done

Repository configuration not possible at project level #2645

lukaszmoroz opened this issue Feb 20, 2024 · 0 comments · Fixed by j178/pdm#1
Labels
🐛 bug Something isn't working

Comments

@lukaszmoroz
Copy link
Contributor

lukaszmoroz commented Feb 20, 2024

  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

$ pdm config --local repository.foo.url "https://pypi.org/simple"
$ pdm config --local repository.foo.username "foo"

$ pdm config
[...]
repository.foo.url = https://pypi.org/simple
repository.foo.username = foo

Actual behavior

This is not possible despite what the documentation says (introduced here: ac63d76)

Expected behavior

Should work the same as pypi.* configs or documentation should be fixed if its not meant to be supported.

Apparently this was rejected at some point (#1309) but since then a lot changed in the way pypi indexes are configured, so consider making repository.* work the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant