[Apt-listbugs-commits] [apt-listbugs] 11/11: drop the useless from-severity-...-pkgnames.rb

Francesco Poli frx-guest at moszumanska.debian.org
Sat Jun 4 16:53:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 6e006a3b97cce0f16d8e8678347f5ce3898bde3d
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Sat Jun 4 18:20:40 2016 +0200

    drop the useless from-severity-...-pkgnames.rb
---
 .../from-severity-get-bugtitles-and-pkgnames.rb    | 26 ----------------------
 1 file changed, 26 deletions(-)

diff --git a/examples/from-severity-get-bugtitles-and-pkgnames.rb b/examples/from-severity-get-bugtitles-and-pkgnames.rb
deleted file mode 100755
index fc5eedb..0000000
--- a/examples/from-severity-get-bugtitles-and-pkgnames.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/ruby
-
-###
-### test the relay with get_bugs->get_status.
-###
-
-require 'aptlistbugs/debian/bts'
-require 'aptlistbugs/debian/btssoap'
-#$DEBUG=1
-soap=Debian::BTSSOAP::Soap.new
-pkglist = Debian::BTSSOAP::StringArray.new
-
-### the packages I want to play with
-pkglist << "nvidia-glx" << "mercury"
-
-sa = Debian::BTSSOAP::StringArray.new
-
-### try getting grave bugs.
-reqbugs=soap.get_bugs('severity',  ["critical", "grave", "serious"], 'package', pkglist)
-p reqbugs.length
-reqbugs.each do |bug|
-  sa << bug
-end
-soap.get_status(sa).each do |f|
-  p f
-end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git



More information about the Apt-listbugs-commits mailing list