Skip to content

Conversation

hvr
Copy link
Member

@hvr hvr commented May 1, 2014

This makes the HTTP user-agent field look like so:

User-Agent: cabal-install/1.21.0.0 (linux; x86_64)

This allows us to gather more statistics about our user-base as
with the current user-agent string we can only do a rough break-down by
cabal-install version numbers.

This makes the HTTP user-agent field look like so:

    User-Agent: cabal-install/1.21.0.0 (linux; x86_64)

This allows us to gather more statistics about our user-base as
with the current user-agent string we can only do a rough break-down by
cabal-install version numbers.
@hvr
Copy link
Member Author

hvr commented May 1, 2014

Fyi, here's a quick'n'dirty statistical break-down from over the last two weeks extracted from the hackage.h.o logs (the IP address was taken into account as a heuristic to avoid counting the same user multiple times when accessing hackage with the same version):

visitors cabal-install version
2 0.6.0
2 0.6.2
41 0.8.0
19 0.8.2
162 0.10.2
2 0.10.3
1849 0.14.0
11 0.17.0
12 1.16.0
67 1.16.0.1
6466 1.16.0.2
18 1.17.0
27 1.18.0
179 1.18.0.1
2538 1.18.0.2
1 1.18.0.2.0
1 1.18.0.2.1
3658 1.18.0.3
9 1.19.0
19 1.19.1
363 1.19.2
49 1.20.0
3320 1.20.0.0
129 1.21.0.0

tibbe added a commit that referenced this pull request May 1, 2014
Add OS and arch to HTTP user-agent string
@tibbe tibbe merged commit 5ecd886 into haskell:master May 1, 2014
@hvr hvr deleted the user-agent-platform branch May 1, 2014 12:50
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 this pull request may close these issues.

2 participants