Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902549 - USE flags Page doesn't show USE_EXPAND flags
Summary: USE flags Page doesn't show USE_EXPAND flags
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 16:23 UTC by Alexander Kurakin
Modified: 2023-03-25 19:05 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 Alexander Kurakin 2023-03-21 16:23:58 UTC
USE flags Page shows Local flags, Global flags.
But it doesn't show USE_EXPAND flags.

https://packages.gentoo.org/packages/media-libs/libgphoto2 shows tons of flags but we can see one only on https://packages.gentoo.org/useflags .
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-03-25 14:17:02 UTC
Yes, it was a very good idea. I've done the first implementation (comments or improvements are welcome), which for now is deployed at staging area under [1].

[1] https://packagestest.gentoo.org/useflags/expand
Comment 2 Larry the Git Cow gentoo-dev 2023-03-25 19:05:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=2a0e925f925c6eca8f564e5dc77343345715da58

commit 2a0e925f925c6eca8f564e5dc77343345715da58
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-03-25 13:59:52 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-03-25 14:00:57 +0000

    useflags: add new page for all USE expands
    
    A new page at `/useflags/expand` for showing all USE expands.
    
    Closes: https://bugs.gentoo.org/902549
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/app/handler/useflags/expand.go               | 45 ++++++++++++++++++
 pkg/app/serve.go                                 |  6 ++-
 web/templates/useflags/browseuseflagsheader.tmpl |  2 +-
 web/templates/useflags/listexpand.tmpl           | 58 ++++++++++++++++++++++++
 4 files changed, 108 insertions(+), 3 deletions(-)