summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-27 17:36:06 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-28 12:07:44 +0000
commitf5511fe681f41b6b79718d7a013ab76a495a51b0 (patch)
treefe5e1891ffb741e5295ec6d2d1b57bb862a02417 /infra
parentbb57dba547069e024875213dd088daa1b747946c (diff)
policy-client-query tainted-objects: Drop time from query
This isn't useful right now - we're not displaying it. And we're about to add a pseudo-taint which won't have a sensible time. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-repos-policy-debian2
-rwxr-xr-xinfra/dgit-repos-server1
2 files changed, 1 insertions, 2 deletions
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian
index 0566285..cbad36e 100755
--- a/infra/dgit-repos-policy-debian
+++ b/infra/dgit-repos-policy-debian
@@ -543,7 +543,7 @@ sub action_check_list () {
sub polclqu_tainted_objects () {
print STDERR "1 $pkg ";
my $topq = $poldbh->selectall_arrayref(<<END,
- SELECT taint_id, gitobjtype, gitobjid, time, comment
+ SELECT taint_id, gitobjtype, gitobjid, comment
FROM taints
WHERE package = ?
END
diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server
index 66ef098..bc98f60 100755
--- a/infra/dgit-repos-server
+++ b/infra/dgit-repos-server
@@ -207,7 +207,6 @@ setup_sigwarn();
# tainted-objects <empty>
# => [ { "gitobjtype": "commit", # as from git-cat-file -t
# "gitobjid": "sha",
-# "time": time_t, # integer, time the taint was noted
# "comment": $string, # in server"s native language, UTF-8
# "overrides": [ "--deliberately-include-q-h", ... ],
# } }