Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-31 Thread Tomasz Nitecki
Hey,

On 29/08/16 18:39, Adrian Bunk wrote:
> On Mon, Aug 29, 2016 at 04:25:10PM +0200, Tomasz Nitecki wrote:
>> Adrian, the reason why usbmount is not showing up, is a 1 year time
>> limit counted from the date of removal (line 90 at [1]).
> 
> if it stays that way, it should be documented in the manpage.

I agree. If I leave any time limitation for this opportunity type, I
will add an appropriate information to the manpage.



>> 
> 
> So the benefit of the one-year limit is not really big.
> 
> A few hundred lines more or less in "how-can-i-help --all --old" 
> output wouldn't make a difference.
> 
> "--all --old" is atually much less useful when it is incomplete.
> 
> And the output of "how-can-i-help --old" (without --all) should really 
> list *all* packages I have installed that are in unstable but not in 
> testing. Currently I am getting 17 packages under "removed from testing" 
> on my computer, but any packages (no matter whether I installed them
> recently or many years ago) that were remove from testing more than
> a year ago are not shown.

I gave it some though, and I also agree. I will check if this won't
affect the dump generation time and if it's ok, I'll just remove the
limit altogether.


Regards,
T.




signature.asc
Description: OpenPGP digital signature


Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-29 Thread Adrian Bunk
On Mon, Aug 29, 2016 at 04:25:10PM +0200, Tomasz Nitecki wrote:
> Hey,

Hi Tomasz,

>...
> Adrian, the reason why usbmount is not showing up, is a 1 year time
> limit counted from the date of removal (line 90 at [1]).

if it stays that way, it should be documented in the manpage.

> Since usbmount
> was removed from testing on 2015.06.04, it is no longer being shown. I'm
> open for a discussion, if you feel that the 1 year limit is too low.

I am especially interested in packages that are in stable but not in
testing, and usbmount is in stable.

> Current numbers for different time limits (for removed from testing):
> 
> limit / source / packages
> 1y / 1011 / 2452
> 2y / 1148 / 2797
> 3y / 1245 / 3026

So the benefit of the one-year limit is not really big.

A few hundred lines more or less in "how-can-i-help --all --old" 
output wouldn't make a difference.

"--all --old" is atually much less useful when it is incomplete.

And the output of "how-can-i-help --old" (without --all) should really 
list *all* packages I have installed that are in unstable but not in 
testing. Currently I am getting 17 packages under "removed from testing" 
on my computer, but any packages (no matter whether I installed them
recently or many years ago) that were remove from testing more than
a year ago are not shown.


A good example:

A package on my system that was removed from testing in 2013:
  https://tracker.debian.org/pkg/devtodo

Since March 2015 (sic) there's a debdiff fixing both RC bugs in #779551


> Regards,
> T.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-29 Thread Tomasz Nitecki
Hey,

On 28/08/16 19:12, Nicolas Braud-Santoni wrote:
> On Sun, Aug 28, 2016 at 07:41:54PM +0300, Adrian Bunk wrote:
>> You are searching for the problem at the wrong place:
>>
>> $ wget https://udd.debian.org/how-can-i-help.json.gz
>> ...
>> $ zgrep usbmount how-can-i-help.json.gz
>> $ 
> 
> Looks like it.
> 
> At that point, it looks like it is a legit how-can-i-help bug,
> and I don't even know where the server-side code lives.
> 
> I guess we can wait for Tomasz (the maintainer) to chime in.

Nicolas, the server code that generates that gzipped json file is
available at UDD git repository [1]. It's a simple ruby script, so feel
free to improve it (look at [2] and [3] for directions) :)


Adrian, the reason why usbmount is not showing up, is a 1 year time
limit counted from the date of removal (line 90 at [1]). Since usbmount
was removed from testing on 2015.06.04, it is no longer being shown. I'm
open for a discussion, if you feel that the 1 year limit is too low.
Current numbers for different time limits (for removed from testing):

limit / source / packages
1y / 1011 / 2452
2y / 1148 / 2797
3y / 1245 / 3026


Regards,
T.

[1]
https://anonscm.debian.org/cgit/collab-qa/udd.git/tree/scripts/generate-how-can-i-help
[2] https://wiki.debian.org/UltimateDebianDatabase
[3] https://wiki.debian.org/UltimateDebianDatabase/Hacking




signature.asc
Description: OpenPGP digital signature


Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-28 Thread Nicolas Braud-Santoni
On Sun, Aug 28, 2016 at 07:41:54PM +0300, Adrian Bunk wrote:
> On Sun, Aug 28, 2016 at 06:18:20PM +0200, Nicolas Braud-Santoni wrote:
> > Could you send here the output of `apt-cache policy usbmount` and
> > `cat /etc/apt/sources.list /etc/apt/sources.list.d/*` ?
> [...]

Thanks.

I was able to reproduce the issue on my local system (Stretch, with
Sid packages available).


> You are searching for the problem at the wrong place:
> 
> $ wget https://udd.debian.org/how-can-i-help.json.gz
> ...
> $ zgrep usbmount how-can-i-help.json.gz
> $ 

Looks like it.

At that point, it looks like it is a legit how-can-i-help bug,
and I don't even know where the server-side code lives.

I guess we can wait for Tomasz (the maintainer) to chime in.


Best,

  nicoo


signature.asc
Description: PGP signature


Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-28 Thread Adrian Bunk
On Sun, Aug 28, 2016 at 06:18:20PM +0200, Nicolas Braud-Santoni wrote:
> On Sun, Aug 28, 2016 at 07:10:57PM +0300, Adrian Bunk wrote:
> > You missed the following part of the manpage:
> > 
> >-a, --all
> >Show new opportunities for contribution to all available Debian
> >packages.
> > 
> > 
> > I get 4k lines of output from how-can-i-help without the grep - why is 
> > usbmount missing?
> 
> Actually, I missed the --all, somehow.
> 
> As the manpage states, how-can-i-help lists things for /available/
> packages, when using --all.  Assuming you use testing, that might be the
> reason why it is not listed.
> 
> Could you send here the output of `apt-cache policy usbmount` and

usbmount:
  Installed: (none)
  Candidate: 0.0.22
  Version table:
 0.0.22 500
500 http://httpredir.debian.org/debian sid/main amd64 Packages

> `cat /etc/apt/sources.list /etc/apt/sources.list.d/*` ?

deb http://httpredir.debian.org/debian sid main
deb-src http://httpredir.debian.org/debian sid main



You are searching for the problem at the wrong place:

$ wget https://udd.debian.org/how-can-i-help.json.gz
...
$ zgrep usbmount how-can-i-help.json.gz
$ 


Whatever the problem might be, it clearly is on your server and not on 
my computer.


> Best,
> 
>   nicoo

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-28 Thread Nicolas Braud-Santoni
On Sun, Aug 28, 2016 at 07:10:57PM +0300, Adrian Bunk wrote:
> You missed the following part of the manpage:
> 
>-a, --all
>Show new opportunities for contribution to all available Debian
>packages.
> 
> 
> I get 4k lines of output from how-can-i-help without the grep - why is 
> usbmount missing?

Actually, I missed the --all, somehow.

As the manpage states, how-can-i-help lists things for /available/
packages, when using --all.  Assuming you use testing, that might be the
reason why it is not listed.

Could you send here the output of `apt-cache policy usbmount` and
`cat /etc/apt/sources.list /etc/apt/sources.list.d/*` ?


Best,

  nicoo


signature.asc
Description: PGP signature


Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-28 Thread Adrian Bunk
tag 835457 -moreinfo
thanks

On Sun, Aug 28, 2016 at 05:43:52PM +0200, Nicolas Braud-Santoni wrote:
> Control: tag -1 moreinfo
> 
> Hi Adrian,

Hi Nicolas,

> Do you actually have usbmount installed?

no, I don't.

> As mentionned in the manpage,
> how-can-i-help cares for packages you installed.
> 
> > how-can-i-help hooks into APT to list opportunities for contributions to 
> > Debian (orphaned packages,
> > bugs tagged newcomer) for packages installed locally, after each APT 
> > invocation. It can also be invoked
> > directly, and then lists all opportunities for contribution (not just the 
> > new ones).

You missed the following part of the manpage:

   -a, --all
   Show new opportunities for contribution to all available Debian
   packages.


I get 4k lines of output from how-can-i-help without the grep - why is 
usbmount missing?


> Best,
> 
>   nicoo
> 
> On Thu, Aug 25, 2016 at 11:29:31PM +0300, Adrian Bunk wrote:
> > Package: how-can-i-help
> > Version: 14
> > Severity: normal
> > 
> > $ how-can-i-help --all --old | grep usbmount
> > $
> > 
> > https://tracker.debian.org/pkg/usbmount
> > 
> > This package should be listed under
> >   Packages removed from Debian 'testing'


cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-28 Thread Nicolas Braud-Santoni
Control: tag -1 moreinfo

Hi Adrian,

Do you actually have usbmount installed?  As mentionned in the manpage,
how-can-i-help cares for packages you installed.

> how-can-i-help hooks into APT to list opportunities for contributions to 
> Debian (orphaned packages,
> bugs tagged newcomer) for packages installed locally, after each APT 
> invocation. It can also be invoked
> directly, and then lists all opportunities for contribution (not just the new 
> ones).


Best,

  nicoo

On Thu, Aug 25, 2016 at 11:29:31PM +0300, Adrian Bunk wrote:
> Package: how-can-i-help
> Version: 14
> Severity: normal
> 
> $ how-can-i-help --all --old | grep usbmount
> $
> 
> https://tracker.debian.org/pkg/usbmount
> 
> This package should be listed under
>   Packages removed from Debian 'testing'
> 


signature.asc
Description: PGP signature


Bug#835457: how-can-i-help doesn't list some package(s)

2016-08-25 Thread Adrian Bunk
Package: how-can-i-help
Version: 14
Severity: normal

$ how-can-i-help --all --old | grep usbmount
$

https://tracker.debian.org/pkg/usbmount

This package should be listed under
  Packages removed from Debian 'testing'