Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864268 - Wiki USE flag template lacks support for ebuilds in GURU
Summary: Wiki USE flag template lacks support for ebuilds in GURU
Status: UNCONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Wiki (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Wiki Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 02:12 UTC by Jeff Gazso
Modified: 2023-12-09 19:59 UTC (History)
4 users (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 Jeff Gazso 2022-08-08 02:12:43 UTC
I'm not sure where to report this, so I'm filing this bug here.

The wiki's USEflag template (powered by a custom mediawiki plugin, as I understand it) only supports packages in the main repository. There is no support for ebuilds in the GURU repository.

This makes articles about software currently in the GURU article appear sub-par relative to other articles in the wiki. Just have a look at the FreeBASIC article https://wiki.gentoo.org/index.php?title=FreeBASIC&oldid=1077950 vs. the GZip article: https://wiki.gentoo.org/wiki/Gzip and you'll see the difference.

If adding packages to GURU is to be encouraged the wiki's USEflag template plugin really should be able to handle both the main repo and GURU interchangeably.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2022-08-10 12:34:17 UTC
The wiki pulls from packages.gentoo.org via a json file produced by that site.

To add any additional support, a known method must be offered by GURU.  This is not available to my knowledge but if were to appear, then it could be offered.

I suppose it could be added on to the GentooPackages custom MediaWiki plugin or could have its own depending on complexity.  It all depends on the data.
Comment 2 Jeff Gazso 2022-08-12 02:19:58 UTC
(In reply to Brian Evans from comment #1)
> The wiki pulls from packages.gentoo.org via a json file produced by that
> site.
> 
> To add any additional support, a known method must be offered by GURU.  This
> is not available to my knowledge but if were to appear, then it could be
> offered.
> 
> I suppose it could be added on to the GentooPackages custom MediaWiki plugin
> or could have its own depending on complexity.  It all depends on the data.

Interesting... that makes sense.

Do you happen to know the URL for the packages.gentoo.org JSON file? I'd like to pull down a copy with wget and take a look at it.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2022-08-12 13:06:41 UTC
(In reply to Jeff Gazso from comment #2)
> (In reply to Brian Evans from comment #1)
> > The wiki pulls from packages.gentoo.org via a json file produced by that
> > site.
> > 
> > To add any additional support, a known method must be offered by GURU.  This
> > is not available to my knowledge but if were to appear, then it could be
> > offered.
> > 
> > I suppose it could be added on to the GentooPackages custom MediaWiki plugin
> > or could have its own depending on complexity.  It all depends on the data.
> 
> Interesting... that makes sense.
> 
> Do you happen to know the URL for the packages.gentoo.org JSON file? I'd
> like to pull down a copy with wget and take a look at it.

Literally add .json to the end of any package URL.