Bug#632438: popularity-contest: a way to exclude certain packages
On Sun, Sep 20, 2020 at 11:21:17AM +0200, Petter Reinholdtsen wrote: > [Bill Allombert] > > Dear Kentaro, > > Could you explain why you want to exclude some package ? > > I am concerned this will squew the statistic, if used > > indiscriminately. > > The use case was explained by Paul Wise in the opening of this issue. Indeed, and I suggested the control field solution already, but so far nobody answered they were interested in this feaure so I did not implement it. > > Instead I would suggest to add a new dpkg control field 'X-Popcon: > > private' and have popularity-contest skip packages having this field. > > > > This way users will be able to create private packages that will never > > register even on misconfigured hosts. > > This sound like a good solution to the use case from Paul, about > personal metapackages with hostname in their name. Thanks, this is encouraging! Cheers, -- Bill. Imagine a large red swirl here.
Bug#632438: popularity-contest: a way to exclude certain packages
[Bill Allombert] > Dear Kentaro, > Could you explain why you want to exclude some package ? > I am concerned this will squew the statistic, if used > indiscriminately. The use case was explained by Paul Wise in the opening of this issue. > Instead I would suggest to add a new dpkg control field 'X-Popcon: > private' and have popularity-contest skip packages having this field. > > This way users will be able to create private packages that will never > register even on misconfigured hosts. This sound like a good solution to the use case from Paul, about personal metapackages with hostname in their name. -- Happy hacking Petter Reinholdtsen
Bug#632438: popularity-contest: a way to exclude certain packages
Package: popularity-contest Severity: wishlist It would be nice if I could configure popularity-contest to ignore certain packages when collecting data. I would like to use meta-packages to manage the list of installed packages on my machines, but I don't want to leak the names of those packages since their names will probably be based on my hostnames, which are already public, meaning that people could easily find out which packages I have installed. The first one should be enough for me but multiple ways of excluding packages might be useful for other folks: * individual packages: foo bar * package globs: foo-* * package regexs: foo.* * based on the Origin in the Release file of the mirror * based on an option in the sources.list: deb [popcon=no] http://ftp.debian.org/debian/ stable main contrib non-free -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part