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
commit5bd441982fe570985310e7cfa117ee04813d29a4 (patch)
tree80a4cb13488e43c9aceffe8367c090e5f56c14b7 /bin/get-bug-status
parent8714c69d7a85b5ef0920c0b05509cdcda2360287 (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