source: audit_distribution.py @ 5550

Last change on this file since 5550 was 5068, checked in by ole, 16 years ago

Refactored dirs to distribute into separate module and updated create and audit scripts.

File size: 858 bytes
Line 
1"""Audit the directories flagged for released
2
3This module forms an easy way to audit data files in the repository without
4running create_distribution.
5
6The benefit is that license files can be tested before being checked in.
7
8Note: This script will work on all data whether it is part of the
9repository or not. Before creating a license file for a data file it is a good idea to see if it is part of the repository or not (in which case there is no need). This can be done using svn status or by deleting the offending area and do a fresh svn update.
10
11Ole Nielsen, GA 2008
12"""
13
14
15from anuga.utilities.data_audit_wrapper import IP_verified
16from os.path import join
17
18from dirs_to_distribute import dirmap
19#print dirmap
20
21for dir in dirmap:
22    if not IP_verified(dir, verbose=True):
23        pass
24        #print 'Not all files in %s have been verified.' %dir
25
26
27
Note: See TracBrowser for help on using the repository browser.