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) @@ -365,7 +365,7 @@ @cmdln.option('--md5', action='store_true', help='download and show the md5 sum') @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.') @cmdln.option('-m', '--mirror', help='probe only on this mirror') @cmdln.option('-a', '--all-mirrors', action='store_true', @@ -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.orgReceived on 2009-06-23Z20:46:09
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:13 GMT