diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-12-05 06:44:37 -0800 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-12-05 06:44:37 -0800 |
commit | d3dd11b21c41a5457ca494a404fa032eb9364f71 (patch) | |
tree | 33a05227277ac1a9d17e711f589692e4b735d70f /hacking | |
parent | 39c2249e49d49bfd1a30fe6e343b4ef0a88d6a66 (diff) | |
download | ansible-d3dd11b21c41a5457ca494a404fa032eb9364f71.tar.gz |
Update for latest spreadsheet fields
Diffstat (limited to 'hacking')
-rwxr-xr-x | hacking/metadata-tool.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/hacking/metadata-tool.py b/hacking/metadata-tool.py index 0432cbbf58..42409cfec6 100755 --- a/hacking/metadata-tool.py +++ b/hacking/metadata-tool.py @@ -286,16 +286,22 @@ def parse_assigned_metadata_initial(csvfile): :7: Deprecated :8: Notes :9: Team Notes + :10: Notes 2 + :11: final supported_by field """ with open(csvfile, 'rb') as f: for record in csv.reader(f): module = record[0] - supported_by = 'community' - if record[4]: + if record[11] == 'core': supported_by = 'core' - elif record[5]: + elif record[11] == 'curated': supported_by = 'committer' + elif record[11] == 'community': + supported_by = 'community' + else: + raise Exception('Module record has no supported_by field: %s' % record) + #supported_by = 'community' status = [] if record[6]: |