Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135523 - app-portage/herdstat-1.1.91 produces incorrect output for non-developers
Summary: app-portage/herdstat-1.1.91 produces incorrect output for non-developers
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-04 08:44 UTC by James Rowe
Modified: 2008-01-20 02:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Rowe 2006-06-04 08:44:32 UTC
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
Comment 1 James Rowe 2006-06-04 08:45:01 UTC
  The situation is possibly better than with the x86 keyworded 1.1.7_p7 in
the original case:

$ herdstat -pd jnrowe
Failed to find any packages maintained by 'jnrowe'.

and:

$ herdstat -pd jnrowe@ukfsn.org
Developer:       jnrowe@ukfsn.org
Email:           jnrowe@ukfsn.org@gentoo.org
Packages(2):     app-text/diction
                 www-client/surfraw

Comment 2 Mark Loeser (RETIRED) gentoo-dev 2008-01-20 02:03:50 UTC
Punted this version from the tree.