Last change
on this file since 6683 was
5068,
checked in by ole, 17 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 | |
---|
3 | This module forms an easy way to audit data files in the repository without |
---|
4 | running create_distribution. |
---|
5 | |
---|
6 | The benefit is that license files can be tested before being checked in. |
---|
7 | |
---|
8 | Note: This script will work on all data whether it is part of the |
---|
9 | repository 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 | |
---|
11 | Ole Nielsen, GA 2008 |
---|
12 | """ |
---|
13 | |
---|
14 | |
---|
15 | from anuga.utilities.data_audit_wrapper import IP_verified |
---|
16 | from os.path import join |
---|
17 | |
---|
18 | from dirs_to_distribute import dirmap |
---|
19 | #print dirmap |
---|
20 | |
---|
21 | for 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.