When asking for information on packages with non-developers listed as
maintainers herdstat produces incorrect results. Yeah, I spotted it while
doing a vanity check :P
Example output is probably going to be the easiest way to explain the
problem.
The following output is from herdstat v1.1.91 using libherdstat-0.2.0:
$ herdstat -pd jnrowe
Developer: jnrowe
Email: jnrowe@gentoo.org
Packages(2): app-text/diction
www-client/surfraw
or possibly:
$ herdstat -pd jnrowe@ukfsn
Developer: jnrowe@ukfsn
Email: jnrowe@ukfsn
Packages(2): app-text/diction
www-client/surfraw
which is approaching correct, or even:
$ herdstat -pd jnrowe@bughunter
Developer: jnrowe@bughunter
Email: jnrowe@bughunter
Packages(2): app-text/diction
www-client/surfraw
Whilst looking in to patching this myself I failed to see why the code
works as it does, so I've opted it to leave it to someone who understands
it. However I noticed while looking that it allows for other incorrect
output because of the handling of @ symbols in the input:
$ herdstat -pd ka0ttic@hopefully_bug_fixer
Developer: Aaron Walker (ka0ttic@hopefully_bug_fixer)
Email: ka0ttic@gentoo.org
Packages(98): app-admin/chroot_safe
app-admin/metalog
...
Although perhaps I'm missing something and this is desired behaviour for
something.
Thanks for your time
James