Add a few folks from the ansible ecosystem
Also, adjust the jsonschema email definition. '+' is allowed in an email address, and some people use it to separate out email from different places. Change-Id: I62803e83efc46ae6e708736b9fc613c64fe2c995
This commit is contained in:
parent
8da5f13f89
commit
501d646e6c
@ -123,6 +123,17 @@
|
|||||||
"user_name": "Aaron Greengrass",
|
"user_name": "Aaron Greengrass",
|
||||||
"emails": ["aaron@greenbtn.com"]
|
"emails": ["aaron@greenbtn.com"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"github_id": "abadger",
|
||||||
|
"companies": [
|
||||||
|
{
|
||||||
|
"company_name": "RedHat",
|
||||||
|
"end_date": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"user_name": "Toshio Kuratomi",
|
||||||
|
"emails": ["toshio@fedoraproject.org", "a.badger@gmail.com"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"launchpad_id": "abhijeet-jain",
|
"launchpad_id": "abhijeet-jain",
|
||||||
"gerrit_id": "Abhijeet.Jain",
|
"gerrit_id": "Abhijeet.Jain",
|
||||||
@ -978,6 +989,17 @@
|
|||||||
"user_name": "Basil Baby",
|
"user_name": "Basil Baby",
|
||||||
"emails": ["basilbaby@gmail.com"]
|
"emails": ["basilbaby@gmail.com"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"github_id": "bcoca",
|
||||||
|
"companies": [
|
||||||
|
{
|
||||||
|
"company_name": "Ansible",
|
||||||
|
"end_date": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"user_name": "Brian Coca",
|
||||||
|
"emails": ["bcoca@ansible.com", "brian.coca+git@gmail.com"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"launchpad_id": "bcwaldon",
|
"launchpad_id": "bcwaldon",
|
||||||
"companies": [
|
"companies": [
|
||||||
@ -6255,6 +6277,18 @@
|
|||||||
"user_name": "Thiago Morello",
|
"user_name": "Thiago Morello",
|
||||||
"emails": ["thiago.morello@locaweb.com.br"]
|
"emails": ["thiago.morello@locaweb.com.br"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"launchpad_id": "mpdehaan",
|
||||||
|
"github_id": "mpdehaan",
|
||||||
|
"companies": [
|
||||||
|
{
|
||||||
|
"company_name": "Ansible",
|
||||||
|
"end_date": "2015-Jan-30"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"user_name": "Michael DeHaan",
|
||||||
|
"emails": ["michael.dehaan@gmail.com","michael.dehaan@ansible.com"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"launchpad_id": "mpmsimo",
|
"launchpad_id": "mpmsimo",
|
||||||
"companies": [
|
"companies": [
|
||||||
@ -10422,6 +10456,10 @@
|
|||||||
"domains": ["anl.gov"],
|
"domains": ["anl.gov"],
|
||||||
"company_name": "Argonne National Laboratory"
|
"company_name": "Argonne National Laboratory"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"domains": ["ansible.com"],
|
||||||
|
"company_name": "Ansible"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"domains": ["apple.com"],
|
"domains": ["apple.com"],
|
||||||
"company_name": "Apple, Inc."
|
"company_name": "Apple, Inc."
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^[a-z\\d_\\.-]+@([a-z\\d\\.-]+\\.)+(([a-z]+)|\\(none\\))$"
|
"pattern": "^[a-z\\d_\\.\\+-]+@([a-z\\d\\.-]+\\.)+(([a-z]+)|\\(none\\))$"
|
||||||
},
|
},
|
||||||
"minItems": 1
|
"minItems": 1
|
||||||
},
|
},
|
||||||
|
@ -82,7 +82,10 @@ class TestConfigFiles(testtools.TestCase):
|
|||||||
def _verify_default_data_by_schema(self, file_name):
|
def _verify_default_data_by_schema(self, file_name):
|
||||||
default_data = self._read_file(file_name)
|
default_data = self._read_file(file_name)
|
||||||
schema = self._read_file('etc/default_data.schema.json')
|
schema = self._read_file('etc/default_data.schema.json')
|
||||||
jsonschema.validate(default_data, schema)
|
try:
|
||||||
|
jsonschema.validate(default_data, schema)
|
||||||
|
except jsonschema.ValidationError as e:
|
||||||
|
self.fail(e)
|
||||||
|
|
||||||
def test_default_data_schema_conformance(self):
|
def test_default_data_schema_conformance(self):
|
||||||
self._verify_default_data_by_schema('etc/default_data.json')
|
self._verify_default_data_by_schema('etc/default_data.json')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user