summaryrefslogtreecommitdiffstats
path: root/bin/get-bug-status
diff options
context:
space:
mode:
authorNico Golde <nion@debian.org>2007-09-23 13:18:01 +0000
committerNico Golde <nion@debian.org>2007-09-23 13:18:01 +0000
commit7a85bf7dea37fc2ab733dc2d2eb5392c8f17a1ce (patch)
tree339301e1a5e69a4d64c12b1adf40ada86fb3e054 /bin/get-bug-status
parent62be314bebc3719d6bb6cf6ff8084afe56cd64e5 (diff)
recognize if a patch is available
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@6679 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/get-bug-status')
-rwxr-xr-xbin/get-bug-status7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/get-bug-status b/bin/get-bug-status
index 68090082ce..33afbb9d3c 100755
--- a/bin/get-bug-status
+++ b/bin/get-bug-status
@@ -20,9 +20,14 @@ if response[bug] == nil then
end
fix = response[bug].fixed_versions[0].to_s
+tags = response[bug].tags.to_s
if fix == nil or fix == "" then
- puts "TODO: fix"
+ if tags =~ /patch/
+ puts "TODO: fix, patch available"
+ else
+ puts "TODO: fix"
+ end
else
puts "TODO: mark as fixed in " + fix
end

© 2014-2024 Faster IT GmbH | imprint | privacy policy