diff bin/treepkginfo.py @ 413:94a6ae627b31 treepkg-status

implemented CacheDb to store copied Packages from build host
author Bjoern Ricks <bricks@intevation.de>
date Fri, 23 Jul 2010 16:40:38 +0000
parents 04310ad0063e
children 2d31eea39f70
line wrap: on
line diff
--- a/bin/treepkginfo.py	Thu Jul 22 16:01:43 2010 +0000
+++ b/bin/treepkginfo.py	Fri Jul 23 16:40:38 2010 +0000
@@ -19,6 +19,8 @@
     parser.set_defaults(newest=-1)
     parser.add_option("--newest", type="int",
                       help=("Number of newest revisions to list."))
+    parser.add_option("--only-successful", action="store_true",
+                      help=("Show only successful builds", dest="success"))
     parser.add_option("--pretty", action="store_true", help=("Show XML pretty"
                       " output."))
  
@@ -28,7 +30,8 @@
 def main():
     options, args = parse_commandline()
 
-    tpkginfo = status.TreepkgInfo(options.config_file, options.newest)
+    tpkginfo = status.TreepkgInfo(options.config_file, options.newest,
+                                  option.success)
 
     if options.pretty:
         print tpkginfo.toxml().toprettyxml()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)