Repository navigation
Identify osm2pgsql-replication in user agent - #2512
Merged
Merged
Conversation
lonvia
force-pushed
the
custom-user-agent
branch
from
November 18, 2026 09:43
50c47c7 to
fcec127
Compare
Collaborator
Author
|
I've added a commit which switches the CI from using Geofabrik data to our own test data. The Github servers tend to get banned by Geofabrik these days, which is understandable. The test data will be static as it is not realistic to update a replication repository. The added advantage is that I could confirm that the right user agent arrives at the server. Ready for review now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set a custom user agent for pyosmium to identify osm2pgsql-replication on top of pyosmium. See discussion in #2511. I don´t think there is much of a point allowing to set the UA per individual user.