Bug#893418: Corrupted package names in by_vote.gz

2018-04-08 Thread Bill Allombert
On Fri, Mar 23, 2018 at 04:18:28PM +0100, Bill Allombert wrote: > On Fri, Mar 23, 2018 at 03:35:01PM +0100, Bill Allombert wrote: > > On Fri, Mar 23, 2018 at 02:24:39PM +0100, Enrico Zini wrote: > > > On Fri, Mar 23, 2018 at 02:10:07PM +0100, Bill Allombert wrote: > > > > > > > > Probably. Is the

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Bill Allombert
On Fri, Mar 23, 2018 at 03:35:01PM +0100, Bill Allombert wrote: > On Fri, Mar 23, 2018 at 02:24:39PM +0100, Enrico Zini wrote: > > On Fri, Mar 23, 2018 at 02:10:07PM +0100, Bill Allombert wrote: > > > > > > Probably. Is the format of that file documented somewhere? > > > This is a list of

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Bill Allombert
On Fri, Mar 23, 2018 at 02:24:39PM +0100, Enrico Zini wrote: > On Fri, Mar 23, 2018 at 02:10:07PM +0100, Bill Allombert wrote: > > > > Probably. Is the format of that file documented somewhere? > > This is a list of key/value pair in RFC822 style. > > See

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Enrico Zini
On Fri, Mar 23, 2018 at 02:10:07PM +0100, Bill Allombert wrote: > > Probably. Is the format of that file documented somewhere? > This is a list of key/value pair in RFC822 style. > See /usr/share/doc/popularity-contest/examples/bin/README.examples > for the format of the Package line. I have a

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Bill Allombert
On Fri, Mar 23, 2018 at 01:29:20PM +0100, Enrico Zini wrote: > On Fri, Mar 23, 2018 at 11:49:37AM +0100, Bill Allombert wrote: > > > I would suggest users does not try to parse the vote file. > > Instead we provide the file > > > > whose content

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Enrico Zini
On Fri, Mar 23, 2018 at 11:49:37AM +0100, Bill Allombert wrote: > I would suggest users does not try to parse the vote file. > Instead we provide the file > > whose content is better defined. > Would that do for you ? Probably. Is the format of

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Bill Allombert
On Fri, Mar 23, 2018 at 11:28:27AM +0100, Enrico Zini wrote: > On Thu, Mar 22, 2018 at 11:06:17PM +0100, Bill Allombert wrote: > > > So I do not think the server should do it blindly. It is probably better > > to do it client-side. > > Ok. > > If arbitrary user-supplied input is passed to the

Bug#893418: Corrupted package names in by_vote.gz

2018-03-23 Thread Enrico Zini
On Thu, Mar 22, 2018 at 11:06:17PM +0100, Bill Allombert wrote: > So I do not think the server should do it blindly. It is probably better > to do it client-side. Ok. If arbitrary user-supplied input is passed to the data files that get published, is there precise documentation of the format of

Bug#893418: Corrupted package names in by_vote.gz

2018-03-22 Thread Bill Allombert
On Sun, Mar 18, 2018 at 07:17:17PM +0100, Enrico Zini wrote: > Package: popularity-contest > Version: 1.66 > Severity: normal > > Hello, > > thanks for maintaining popcon. This seems related to #833695: > > $ curl -s https://popcon.debian.org/by_vote.gz | zgrep -e ' li[^b-z]' > 53022

Bug#893418: Corrupted package names in by_vote.gz

2018-03-18 Thread Enrico Zini
Package: popularity-contest Version: 1.66 Severity: normal Hello, thanks for maintaining popcon. This seems related to #833695: $ curl -s https://popcon.debian.org/by_vote.gz | zgrep -e ' li[^b-z]' 53022 liana-zabbix 1 1 0 0 0 (Not in sid)