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
commit0406ce43bd6dd8219350fa7232d822b0fc017e55 (patch)
tree065ae2906c844f968ba0cb8baf1241e41c47cb81 /bin/get-bug-status
parentc041b4fd52dec8f3b01318dfd4d70567ff230527 (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