]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Include AUTHORS in release package.
authorBhuvan Arumugam <bhuvan@apache.org>
Mon, 7 May 2012 03:27:26 +0000 (20:27 -0700)
committerBhuvan Arumugam <bhuvan@apache.org>
Mon, 14 May 2012 21:45:56 +0000 (14:45 -0700)
commit50c02660b2ce5fd48798e68ec41fc9962c741537
treeb327a5d830b5e2985d03a86be6d535c7f80e1400
parentaf82348445670e4d8f4490fd60788c3c243d52be
Include AUTHORS in release package.

Fixes Bug #976267.

Include AUTHORS file in release package. The file is generated
automatically from git. Handle different combination for mailmap
records. Include test case to verify this fix.

* MANIFEST.in
  Include AUTHORS file in release package.

* .gitignore
  Add AUTHORS file.

* quantum/openstack/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.
  parse_mailmap(): Handle all mailmap combination while parsing.

* setup.py
  Import the new method.
  Generate AUTHORS file before creating the package.

* quantum/tests/unit/test_setup.py
  New test script to verify different combination of records
  in mailmap file.

Change-Id: I220e8a20c96d37df3fa2ba0424e8372496e67895
.gitignore
MANIFEST.in
quantum/openstack/common/setup.py
quantum/tests/unit/test_setup.py [new file with mode: 0644]
setup.py