Changes between Version 10 and Version 11 of AlternateDistributionClient
- Timestamp:
- Aug 12, 2009, 11:51:02 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AlternateDistributionClient
v10 v11 78 78 79 79 }}} 80 81 == Special Situations == 82 83 Sometimes a fileset included in a distribution will be found to be invalid, for example by being published with the wrong checksum. The distribution protocol doesn't provide a way to tell the client to give up on a fileset, so these problems are currently just announced by email. If this happens you will have to manually edit ''download_failures.csv'' to remove the offending file; otherwise ''update_mirror.py'' will try to download it each time it runs. 84 85 If you only want part of a distribution, for example only the 'camera' stage, you can modify ''update_mirror.py'' to ignore the rest. The easiest place to do this is the clause in the routine ''fetchUpdates'' where culledProductList is constructed. Each entry in productList is a dictionary containing all the columns of the table describing the filesets; simply exclude the filesets you don't want from culledProductList. Note that there is no way to keep track of the excluded filesets between runs, though- if you want them later you will have to manually adjust the script and ''product_status.csv'' to go back and re-download filesets from that time interval.
