Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935395

Summary: [Feature request] Show whether USE-flag is turned-on by default
Product: Websites Reporter: Alexander Kurakin <kuraga333>
Component: PackagesAssignee: Gentoo Packages Website <gpackages>
Status: RESOLVED FIXED    
Severity: normal CC: kuraga333
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/soko/issues/29
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Kurakin 2024-07-03 09:16:29 UTC
The proposition is to highlight `+flag`s from the ebuild's `IUSE` with some special color, or show `+flag` instead of `flag`.

The upstream issue: https://github.com/gentoo/soko/issues/29
Comment 1 Larry the Git Cow gentoo-dev 2024-08-02 13:02:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=9b04f9f7236563e1bf05711f6c82bb896327c434

commit 9b04f9f7236563e1bf05711f6c82bb896327c434
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-08-02 13:02:12 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-08-02 13:02:12 +0000

    package/overview: mark default on useflags with +
    
    Resolves: https://github.com/gentoo/soko/issues/29
    Closes: https://bugs.gentoo.org/935395
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/app/handler/packages/overview.templ |  2 +-
 pkg/app/handler/packages/utils.go       |  7 ++++++-
 pkg/models/package.go                   | 24 +++++++++++++++++-------
 3 files changed, 24 insertions(+), 9 deletions(-)