Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285899 - Willikins feature request. !cmd [key] <atom>
Summary: Willikins feature request. !cmd [key] <atom>
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 06:16 UTC by solar (RETIRED)
Modified: 2021-06-19 05:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
robbat2: Bugday+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2009-09-22 06:16:35 UTC
Robin,
Per IRC chat. Plus follow up..

It would be nice if the bot provided the functionality of !cmdname [key] <atom>

For example !foo LICENSE app-arch/lzma-utils would find the stable atom of app-arch/lzma-utils-4.32.7 (as of today on arch) which would be "LGPL-2.1" and return it via irc.

The [key] would be user provided.
The <pkg> would also be be user provided.

Many sub alias cmds could be provided by a top level function. In this example
!license <pkg> could be offered, and or extra options for !meta -[opts] <atom>

The existing metadata.py or old earch.py could probably be hacked for this use.

No rush..
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-11-30 03:50:35 UTC
TODO:
build a JSON-powered web service for this first, it needs to be cached.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2021-06-19 05:27:34 UTC
too much evaluation hassle without the service that provides this data. Profiles and use flags can also impact the outcome of some lookups.