[Git][security-tracker-team/security-tracker][master] Drop unused secmaster.py helper script
Salvatore Bonaccorso (@carnil)
carnil at debian.org
Sat Feb 14 11:03:18 GMT 2026
Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker
Commits:
920ac24f by Salvatore Bonaccorso at 2026-02-14T12:01:34+01:00
Drop unused secmaster.py helper script
We do not use this for a while and the data can be gathered by other
means by security team members.
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>
- - - - -
1 changed file:
- − bin/secmaster.py
Changes:
=====================================
bin/secmaster.py deleted
=====================================
@@ -1,59 +0,0 @@
-#!/usr/bin/python3
-# secmaster -- access to data on security-master.debian.org
-# Copyright (C) 2011 Florian Weimer <fw at deneb.enyo.de>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-# Name of the security-master host
-HOST = "seger.debian.org"
-
-import json
-import subprocess
-
-import setup_paths
-import debian_support
-
-def listqueue():
- """Returns a list of pairs (PACKAGE, SET-OF-DISTRIBUTIONS).
-
- PACKAGE is a debian_support.BinaryPackage object.
- SET-OF-DISTRIBUTIONS contains normalized distribution names,
- using the code names (sid etc.).
- """
- ssh = subprocess.Popen(
- ("ssh", HOST, "secure-testing/bin/list-queue"),
- stdin=open("/dev/null"),
- stdout=subprocess.PIPE)
- data = ssh.stdout.read()
- ssh.wait()
- if ssh.returncode != 0:
- raise IOError("unexpected ssh return code: " + repr(ssh.returncode))
- data = json.loads(data)
- if data["version"] != 1:
- raise IOError("unexpected version number: " + repr(data["version"]))
-
- distdict = {}
- def normdist(dist):
- if dist.endswith("-security"):
- dist = dist[:-9]
- return debian_support.releasecodename(dist)
-
- return [(debian_support.BinaryPackage(row[0:5]),
- set(normdist(dist) for dist in row[5]))
- for row in data["binary"]]
-
-if __name__ == "__main__":
- for pkg, archs in listqueue():
- print(" ".join(pkg.astuple()), "=>", ", ".join(archs))
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/920ac24fc6f200894bf827a2b49ef0f10e2745ad
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/920ac24fc6f200894bf827a2b49ef0f10e2745ad
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20260214/bdd4cfbe/attachment-0001.htm>
More information about the debian-security-tracker-commits
mailing list