[mirrorbrain-commits] [opensuse-svn] r7593 - trunk/tools/download-redirector-v2/mirrordoctor

From: Novell Forge SVN <noreply_at_novell.com>
Date: Tue, 23 Jun 2009 14:45:32 -0600 (MDT)
Author: poeml
Date: 2009-06-23 14:45:30 -0600 (Tue, 23 Jun 2009)
New Revision: 7593

Modified:
   trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
Log:
mb probefile: more usage info.

Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-23 19:38:29 UTC (rev 7592)
+++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-23 20:45:30 UTC (rev 7593)
_at_@ -365,7 +365,7 @@
     _at_cmdln.option('--md5', action='store_true',
                         help='download and show the md5 sum')
     _at_cmdln.option('--urls', dest='url_type', metavar='TYPE', default='scan',
-                        help='type of URLs to be probed: [http|all|scan]')
+                        help='type of URLs to be probed (scan|http|all). Default: scam.')
     _at_cmdln.option('-m', '--mirror', 
                         help='probe only on this mirror')
     _at_cmdln.option('-a', '--all-mirrors', action='store_true',
_at_@ -376,6 +376,23 @@
         """${cmd_name}: list mirrors on which a given file is present
         by probing them
 
+        The --urls option selects the kind of URLs to be probed. Meanings are:
+          'scan' - probes those URLs that would be used in scanning (rsync, 
+                   and FTP/HTTP only as fallback). This is fastest, and 
+                   suitable for quick probing.
+          'http' - probes the base URLs that the clients get to see (those 
+                   used in redirection). Gives the most realistic view.
+          'all'  - probes all and every URL registered for a host. The most
+                   thourough method, which can be useful to discover permission
+                   problems on mirrors, serving staged content already where
+                   they shouldn't.
+
+        Proxy settings via environmental variables are ignored. 
+
+        Examples:
+             mb probefile --md5 update/11.0/rpm/i586/insserv-1.11.0-31.2.i586.rpm
+             mb probefile distribution/.timestamp --content --urls=http
+
         ${cmd_usage}
         ${cmd_option_list}
         """

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Tue Jun 23 2009 - 20:46:09 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT