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

Include version in Inflator useragent string #4185

Merged

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Sep 18, 2024

Motivation

See #3490 and #4184; we use a custom useragent string for the Inflator, and it would be nice if it included the client version.

Changes

Now the Inflator's ENTRYPOINT passes $(/usr/bin/mono netkan.exe --version) as part of its --net-useragent argument, so remote hosts will be able to log the version of the bot that made a request.

Mozilla/5.0 (compatible; Netkanbot/1.0; CKAN/v1.34.5+24261; +https://github.com/KSP-CKAN/NetKAN-Infra)

@HebaruSan HebaruSan added Enhancement New features or functionality Easy This is easy to fix Netkan Issues affecting the netkan data Infrastructure Issues affecting everything around CKAN (the GitHub repos, build process, CI, ...) labels Sep 18, 2024
@HebaruSan HebaruSan merged commit be2e50a into KSP-CKAN:master Sep 18, 2024
3 checks passed
@HebaruSan HebaruSan deleted the feature/version-in-inflator-useragent branch September 18, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy This is easy to fix Enhancement New features or functionality Infrastructure Issues affecting everything around CKAN (the GitHub repos, build process, CI, ...) Netkan Issues affecting the netkan data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant