ropensci / dev_guide

rOpenSci Packages: Development, Maintenance, and Peer Review
https://devguide.ropensci.org
Creative Commons Attribution Share Alike 4.0 International
158 stars 57 forks source link

Add advice on user agents? #474

Closed maelle closed 1 year ago

maelle commented 2 years ago

Specific to packages wrapping APIs.

Adding an user agent. Should that user agent be different for package developers themselves and for CI.

maelle commented 2 years ago

Linked to #478 (value added by a wrapper)

mpadge commented 2 years ago

Adding an user agent. Should that user agent be different for package developers themselves and for CI.

This is all very much "in flux". I think use of http2 in particular should translate to a general principle of using the same credentials/agents for CI, but also ensuring everything is redacted via httptest2. For other http systems recommendations would differ. So there seems to currently be a strong dependence of recommendations on http systems, but if we presume a general transition towards http2, then we can also presume a direction of future evolution of our recommendations in this regard.

maelle commented 2 years ago

Thanks! But user agents aren't really confidential info?

Why would that be different when using, say, curl?

maelle commented 2 years ago

https://github.com/EMODnet/EMODnetWFS/pull/125