-
Notifications
You must be signed in to change notification settings - Fork 290
Enable setting a custom User-Agent header #3805
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
Comments
Makes sense to me. How do you currently do that with conda? |
Currently we have a custom build of conda we are using in house with this change baked in. I would prefer a less heavy handed approach for us to incorporate pixi into our workloads. Thanks again! |
@jtroe IMO that can be a configurable variable. It's a little bonkers to me that this should be the user agent value and not some other header (like We could either make it work by observing a certain environment variable and/or by adding a configuration value to the global pixi config. |
Is that what Anaconda recommends? To use a fork of conda to comply? Either way happy to implement something for this! |
@jezdez Would you be able to confirm what the appropriate way is comply to the "organization's enterprise agreement with Anaconda"? Should the User-Agent be configurable? Or can we add a header? Any insight would be helpful! |
I've asked this question on the official conda zulip. I hope we get some clarification. |
Hey there, thanks for pinging me about it. Regarding the use of the @jtroe Please reach out to your partnership representative at Anaconda to discuss this further. Neither this repo nor the conda OSS Zulip forum are ideal for the conversations about it. |
@jezdez sorry, but this doesn't really explain what we should do for pixi. What other headers are respected and valid for supplying the Org ID so that pixi users can be compliant? |
@wolfv I don't have a better answer for you at the moment, and have raised the topic internally. |
OK, thanks for clarifying that. |
No problem, I'm sure we'll get to the bottom of this. |
@jezdez any news? |
Problem description
My organization's enterprise agreement with Anaconda requires requests outbound to anaconda.org to contain
o/00000000-0000-0000-0000-000000000000
in theUser-Agent
header, where00000000-0000-0000-0000-000000000000
is ourorgid
.I would like to be able to augment or replace if necessary, the
User-Agent
header using an environment variable or some other sane option that would allow me to change this at runtime, configurable on my machine.Thank you! [Very much enjoying the software!]
The text was updated successfully, but these errors were encountered: