public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/security:ajak-cvetool commit in: bin/
Date: Sat, 24 Jul 2021 03:19:33 +0000 (UTC)	[thread overview]
Message-ID: <1627096744.cd40de0310372a545d7190f716de184e5882be41.ajak@gentoo> (raw)

commit:     cd40de0310372a545d7190f716de184e5882be41
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 03:19:04 2021 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 03:19:04 2021 +0000
URL:        https://gitweb.gentoo.org/proj/security.git/commit/?id=cd40de03

glsatool: implement closing bugs when releasing

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 bin/GLSATool.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/GLSATool.py b/bin/GLSATool.py
index 9aa21b9..7f3a9b2 100644
--- a/bin/GLSATool.py
+++ b/bin/GLSATool.py
@@ -74,6 +74,7 @@ class GLSATool:
         release_path = '/glsas/{}/release'.format(num)
         xml_path = '/glsas/{}/download.xml'.format(num)
         txt_path = '/glsas/{}/download.txt'.format(num)
+        finalize_path = '/glsas/{}/finalize_release'.format(num)
 
         data = {
             'value': 'Release &gt;',
@@ -110,9 +111,11 @@ class GLSATool:
             f.write(txt)
         print("Wrote {}".format(txt_filename))
 
-        # TODO:
-        # Mail it
         # Close bugs
+        self.request(finalize_path, 'POST', data={'close_bugs': 1})
+
+        # TODO: Mail it
+
 
     def new_whiteboard(self, old_whiteboard):
         regex = re.compile('[A-C~][0-4] \[.*\]')


             reply	other threads:[~2021-07-24  3:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24  3:19 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-24  3:19 [gentoo-commits] proj/security:ajak-cvetool commit in: bin/ John Helmert III
2021-07-19  2:55 John Helmert III
2021-07-19  2:55 John Helmert III
2021-07-07  1:06 John Helmert III
2021-07-06  2:26 John Helmert III
2021-07-06  2:03 John Helmert III
2021-07-06  2:03 John Helmert III
2021-07-05 20:24 John Helmert III
2021-07-05 20:24 John Helmert III
2021-07-05 17:42 John Helmert III
2021-07-05 17:42 John Helmert III
2021-07-05 17:42 John Helmert III
2021-07-04  4:43 John Helmert III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627096744.cd40de0310372a545d7190f716de184e5882be41.ajak@gentoo \
    --to=ajak@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox