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
Created attachment 613156 [details] file_stablereq.py file_stablereq.py is a crude hack I use right now. Example session: 1. Run $ portageq --no-regex --no-version --maintainer-email=slyfox@gentoo.org --repo=gentoo | xargs --no-run-if-empty pkgcheck scan --keywords=StableRequest --repo=gentoo 2. Paste output like below into the script: dev-util/re2c 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: $ ./file_stablereq.py ... https://bugs.gentoo.org/enter_bug.cgi?form_name=enter_bug&product=Gentoo+Linux&component=Stabilization&bug_status=CONFIRMED&bug_severity=normal&short_desc=%3Ddev-vcs%2Fcvsps-3.13-r2+stabilization&comment=In+tree+for+91+days.+Let%27s+stabilize+%3Ddev-vcs%2Fcvsps-3.13-r2+for%3A%0A++++amd64+arm+arm64+hppa+ia64+ppc+ppc64+s390+sparc+x86&keywords=STABLEREQ&assigned_to=slyfox%40gentoo.org&cc=amd64%40gentoo.org%2Carm%40gentoo.org%2Carm64%40gentoo.org%2Chppa%40gentoo.org%2Cia64%40gentoo.org%2Cppc%40gentoo.org%2Cppc64%40gentoo.org%2Cs390%40gentoo.org%2Csparc%40gentoo.org%2Cx86%40gentoo.org&cf_stabilisation_atoms=dev-vcs%2Fcvsps-3.13-r2&cf_runtime_testing_required=No The URL is a nice template to tweak the request slightly.