fierce-truck-19259
02/27/2024, 4:37 AMscala_artifact
how would I in a pants-friendly way provide auth credentials to coursier for private repositories?fierce-truck-19259
02/27/2024, 4:49 AMCOURSIER_CREDENTIALS
nor .netrc
seem to be honored. Am I missing something?careful-address-89803
02/27/2024, 5:18 AMfierce-truck-19259
02/27/2024, 12:09 PMcareful-address-89803
02/28/2024, 4:55 PMfierce-truck-19259
03/03/2024, 3:26 PM[coursier]
repos = [
"<https://pants>:%(env.MY_TOKEN)@maven.pkg.github.com/..."
]
MY_TOKEN=abc pants generate-lockfiles
the url is not interpolated when requested by coursier:
__coursier/./cs-aarch64-apple-darwin fetch '-r=<https://pants>:%(env.MY_TOKEN)@maven.pkg.github.com/...
careful-address-89803
03/04/2024, 1:57 AMs
after the close paren, so it's of the form "%(my_var)s"
, like
"<https://pants>:%(env.MY_TOKEN)s@maven.pkg.github.com/..."
fierce-truck-19259
03/04/2024, 11:21 AM