Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12174 - [makepkg] Default Archlinux user string for wget when the user downloads programs from AUR/ABS
Attached to Project:
Arch Linux
Opened by Tom (reztho) - Tuesday, 18 November 2008, 17:35 GMT
Last edited by Allan McRae (Allan) - Wednesday, 19 November 2008, 09:05 GMT
Opened by Tom (reztho) - Tuesday, 18 November 2008, 17:35 GMT
Last edited by Allan McRae (Allan) - Wednesday, 19 November 2008, 09:05 GMT
|
DetailsI was asked by the author of a program if it's possible to him to get statistics of Archlinux users downloading his software by forcing a user string in wget, so he could check in the web server logs where his program is hosted.
I don't see any problem in that, and all it requires is to change the default options of wget in /etc/makepkg.conf for adding the user string. Maybe other authors are interested in that too or at least many of them will be aware there are Archlinux users who like their programs and use them. So the change in /etc/makepkg.conf would be something like this: 'http::/usr/bin/wget -c -t 3 --waitretry=3 -U Wget/Archlinux --O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 -U Wget/Archlinux --no-check-certificate -O %o %u' So for those Archlinux users who don't want it, they could change it after all. |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 19 November 2008, 09:05 GMT
Reason for closing: Won't implement
Additional comments about closing: See comment
Wednesday, 19 November 2008, 09:05 GMT
Reason for closing: Won't implement
Additional comments about closing: See comment
This is clearly for the authors of software which they are in AUR (at least more than for ABS packages), not for the Archlinux community as pkgstats is, although it will give for the authors more awareness of our existence. The needed change isn't hard to do.
And pkgstats isn't mandatory for every Archlinux user.
If there is a problem with privacy concerns, pkgstats is more intrusive than this imho (although you could argue the data is collected by Archlinux servers and used by Archlinux TUs, but the mere act of collecting that data is worst for privacy than this imho: you could make a profile of the user, though it's only identified by its IP); since there are more linux/bsd users using wget (which already has it's own user-string) than windows or mac users using it. And browsers like firefox tell with the user agent to webservers you are using linux and your architecture by default.
If makepkg is used in other distros, that's a good point, but it's a change in a config file. Other distros could change that in its packaging steps.
The only problem I see is some authors could actually disturb Archlinux users, hindering them to download its software, but this situation even happens with the default wget user-string; something you can see, if you google a bit.
Well, I think this will be my last comment "defending" the idea. I'm not the interested party after all.
With pacman, we set the user agent because the downloading is much more integrated in the system. I'm a bit wary about doing this with makepkg because the downloading part is not the main point of the script, and the fact that it is just a script.
It also presents problems when people use alternate downloaders. Do we add a user-agent string to a default wget config line, along with adding an example curl one? I just don't find this all that useful as downloaders are super easy to swap in and out of makepkg.conf.