Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912355 - Auto link to bugs.gentoo.org
Summary: Auto link to bugs.gentoo.org
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 11:49 UTC by Florian Schmaus
Modified: 2023-08-16 17:20 UTC (History)
0 users

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 Florian Schmaus gentoo-dev 2023-08-16 11:49:47 UTC
If a bug is mentioned, automatically hyperlink the bug text to bugs.gentoo.org.

For example, if a package mask text says
   Broken and installs no files, bug #912334.
packages.gentoo.org will nicely display the mask. However, the bug is not automatically linked.
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-08-16 17:15:33 UTC
I've deployed to staging machine a fix for it. As example, you can look at https://packagestest.gentoo.org/packages/dev-perl/Net-SMTP-SSL
Comment 2 Larry the Git Cow gentoo-dev 2023-08-16 17:20:38 UTC
The bug has been closed via the following commit(s):

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

commit ef00636595106382485dc943e52d5698f8ef80c8
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-08-16 16:39:19 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-08-16 16:39:19 +0000

    app/package: make bug linkable for masks and deprecation notes
    
    Closes: https://bugs.gentoo.org/912355
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/app/handler/packages/utils.go               | 32 ++++++++++++-------------
 pkg/portage/repository/deprecated.go            | 13 ++++++----
 pkg/portage/repository/mask.go                  | 15 ++++++++----
 web/templates/packages/components/overview.tmpl |  4 ++--
 4 files changed, 35 insertions(+), 29 deletions(-)