Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708912 - New 'establereq' tool to generate STABLEREQ URLs
Summary: New 'establereq' tool to generate STABLEREQ URLs
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2020-02-09 22:23 UTC by Sergei Trofimovich (RETIRED)
Modified: 2021-12-17 12:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

Attachments (,2.48 KB, text/x-python)
2020-02-09 22:27 UTC, Sergei Trofimovich (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-09 22:23:44 UTC
I have a few packages to maintain and I'm very lazy filing STABLEREQs and KEYWORDREQs manually because it's tedious. Looks like everyone rolls their own variant of periodic stabilization request script.

Zac suggested having a gentoolkit tool that just does it. The tool should accept a package list and generate stablereq URL with prepopulated fields. Non-trivial list of fields are:
- assignee/cc: maintainers (special care for maintainer-needed might be needed)
- cc: arches that already have stable keywords for older versions, resolve keywords to arches
- generate actual URL

Reproducible: Always
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-09 22:27:25 UTC
Created attachment 613156 [details] is a crude hack I use right now. Example session:

1. Run
    $ portageq --no-regex --no-version --repo=gentoo | xargs --no-run-if-empty pkgcheck scan --keywords=StableRequest --repo=gentoo

2. Paste output like below into the script:

    StableRequest: version 1.3: slot(0) no change in 57 days for unstable keywords: [ ~amd64, ~arm, ~arm64, ~hppa, ~ia64, ~m68k, ~ppc, ~ppc64, ~s390, ~sh, ~sparc, ~x86 ]

3. Generate an URL:

    $ ./

The URL is a nice template to tweak the request slightly.