Lines Matching +full:existing +full:- +full:versions +full:- +full:check
1 """pyversioncheck - Module to help with checking versions"""
8 VERBOSE_SILENT=0 # Single-line reports per package
9 VERBOSE_NORMAL=1 # Single-line reports per package, more info if outdated
11 VERBOSE_CHECKALL=3 # Check each URL for each package
24 print '%s: up-to-date (version %s)'%(package, version)
55 return -1, None, None
57 newversion = msg.getheader('current-version')
60 print ' No "Current-Version:" header in URL or URL not found'
61 return -1, None, None
70 print ' Versions different (installed: %s, new: %s)'% \
76 print '--- TEST VERBOSE=1'
77 print '--- Testing existing and identical version file'
79 print '--- Testing existing package with new version'
81 print '--- Testing package with non-existing version file'
83 print '--- Test package with 2 locations, first non-existing second ok'
86 print '--- TEST VERBOSE=2'
87 print '--- Testing existing and identical version file'
89 print '--- Testing existing package with new version'
91 print '--- Testing package with non-existing version file'
93 print '--- Test package with 2 locations, first non-existing second ok'