Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904340 - stabilization tab: enable machine readable export format
Summary: stabilization tab: enable machine readable export format
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-04-14 20:23 UTC by Arthur Zamarin
Modified: 2023-04-15 13:11 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 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-04-14 20:23:30 UTC
Special API path, for per maintainer and per category, of the stabilization pkgvers, in 3 formats: XML, JSON, and newline separated cat/pkg-ver.
Comment 1 Larry the Git Cow gentoo-dev 2023-04-15 13:09:26 UTC
The bug has been closed via the following commit(s):

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

commit 15c49d57976be42bffcc670a151dadc93f9944c1
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-04-15 07:43:10 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-04-15 07:43:10 +0000

    app/stabilization: add exported files of stabilization list
    
    Add exports in 3 formats: JSON, XML, and plain text consisting of
    `cat/pkg-ver # message` format. For now this is a "hidden" url, by
    adding ".json", ".xml", or ".list" to the end of the url, such as::
    
        https://packages.gentoo.org/categories/dev-cpp/stabilization.xml
    
    Still need to add a link to those files on the normal stabilization.
    
    Closes: https://bugs.gentoo.org/904340
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/app/handler/categories/show.go | 12 +++++++
 pkg/app/handler/maintainer/show.go | 12 +++++++
 pkg/app/utils/stabilization.go     | 67 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)
Comment 2 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 13:11:03 UTC
For now this is still not deployed, since we have an issue with the auto deployer on push. The current version can be seen at [1].

[1] https://packages.gentoo.org/about