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

Add capability to expend environment variables in username - for packageSourceCredentials #697

Closed
QuentinBrun opened this issue Feb 12, 2025 · 2 comments · Fixed by #698
Closed

Comments

@QuentinBrun
Copy link
Contributor

Hi,

As it is done for password, that would be great to be able to expend variables in the username field. Use case example include user name change between developper, but also for CI/CD.

Also variable expension in the username is handled in native nuget.

If needed, I may be able to propose a quick implementation.

If there is another way to configure user name, please make me aware.

Thanks

QuentinBrun pushed a commit to QuentinBrun/NuGetForUnity that referenced this issue Feb 12, 2025
QuentinBrun added a commit to QuentinBrun/NuGetForUnity that referenced this issue Feb 13, 2025
@JoC0de
Copy link
Collaborator

JoC0de commented Feb 14, 2025

As a alternative you can use System wide NuGet.config file introduced in: #678

JoC0de pushed a commit that referenced this issue Feb 15, 2025
* #697 add capability to expend env variable in username
* also update V2 package source + rename to SavedUserName to ensure the correct is used
---------
Co-authored-by: JoC0de <[email protected]>
@JoC0de JoC0de linked a pull request Feb 15, 2025 that will close this issue
@JoC0de JoC0de closed this as completed Feb 15, 2025
@QuentinBrun
Copy link
Contributor Author

Thank you for doing it so quickly I appreciate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants