OpenStack capitalization added to HACKING.rst

Along with capitalization fixes to comments in code

Change-Id: I72ddc582001f80d954ca5a121903c689f40d08d1
This commit is contained in:
Joe Gordon 2012-08-16 13:34:17 -05:00
parent a10be151ad
commit b0392d3017
21 changed files with 31 additions and 22 deletions

View File

@ -214,6 +214,15 @@ The copy of the code should never be directly modified here. Please
always update openstack-common first and then run the script to copy always update openstack-common first and then run the script to copy
the changes across. the changes across.
OpenStack Trademark
-------------------
OpenStack is a registered trademark of OpenStack, LLC, and uses the
following capitalization:
OpenStack
Commit Messages Commit Messages
--------------- ---------------
Using a common format for commit messages will help keep our git history Using a common format for commit messages will help keep our git history

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 Openstack, LLC. # Copyright (c) 2011 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2010 Openstack, LLC. # Copyright (c) 2010 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Openstack, LLC. # Copyright (c) 2012 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Openstack, LLC. # Copyright (c) 2012 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
@ -17,7 +17,7 @@
# under the License. # under the License.
''' '''
Websocket proxy that is compatible with Openstack Nova. Websocket proxy that is compatible with OpenStack Nova.
Leverages websockify.py by Joel Martin Leverages websockify.py by Joel Martin
''' '''

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 Openstack, LLC. # Copyright (c) 2011 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 Openstack, LLC. # Copyright (c) 2011 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2010 Openstack, LLC. # Copyright (c) 2010 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");

View File

@ -85,4 +85,4 @@ nova-manage sm backend_remove 1
API Changes API Changes
=========== ===========
No API changes have been introduced so far. The existing euca-create-volume and euca-delete-volume commands (or equivalent Openstack API commands) should be used. No API changes have been introduced so far. The existing euca-create-volume and euca-delete-volume commands (or equivalent OpenStack API commands) should be used.

View File

@ -1,6 +1,6 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Openstack, LLC. # Copyright (c) 2012 OpenStack, LLC.
# Administrator of the National Aeronautics and Space Administration. # Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,6 +1,6 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Openstack, LLC. # Copyright 2012 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,6 +1,6 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Openstack, LLC. # Copyright 2012 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,7 +1,7 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Intel, Inc. # Copyright (c) 2012 Intel, Inc.
# Copyright (c) 2011-2012 Openstack, LLC. # Copyright (c) 2011-2012 OpenStack, LLC.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -794,7 +794,7 @@ class DisabledFlavorsWithRealDBTest(test.TestCase):
self.assertEqual(flavor['name'], self.disabled_type['name']) self.assertEqual(flavor['name'], self.disabled_type['name'])
# FIXME(sirp): the disabled field is currently namespaced so that we # FIXME(sirp): the disabled field is currently namespaced so that we
# don't impact the Openstack API. Eventually this should probably be # don't impact the OpenStack API. Eventually this should probably be
# made a first-class attribute in the next OSAPI version. # made a first-class attribute in the next OSAPI version.
self.assert_('OS-FLV-DISABLED:disabled' in flavor) self.assert_('OS-FLV-DISABLED:disabled' in flavor)

View File

@ -235,9 +235,9 @@ class MetadataTestCase(test.TestCase):
self.assertTrue(md._check_version('2009-04-04', '2009-04-04')) self.assertTrue(md._check_version('2009-04-04', '2009-04-04'))
class OpenstackMetadataTestCase(test.TestCase): class OpenStackMetadataTestCase(test.TestCase):
def setUp(self): def setUp(self):
super(OpenstackMetadataTestCase, self).setUp() super(OpenStackMetadataTestCase, self).setUp()
self.instance = INSTANCES[0] self.instance = INSTANCES[0]
fake_network.stub_out_nw_api_get_instance_nw_info(self.stubs, fake_network.stub_out_nw_api_get_instance_nw_info(self.stubs,
spectacular=True) spectacular=True)

View File

@ -100,7 +100,7 @@ class PowerVMOperator(object):
""" """
lpar_instances = self._operator.list_lpar_instances() lpar_instances = self._operator.list_lpar_instances()
# We filter out instances that haven't been created # We filter out instances that haven't been created
# via Openstack. Notice that this is fragile and it can # via OpenStack. Notice that this is fragile and it can
# be improved later. # be improved later.
instances = [instance for instance in lpar_instances instances = [instance for instance in lpar_instances
if re.search(r'^instance-[0-9]{8}$', instance)] if re.search(r'^instance-[0-9]{8}$', instance)]

View File

@ -2,7 +2,7 @@
# Copyright (c) 2010 Citrix Systems, Inc. # Copyright (c) 2010 Citrix Systems, Inc.
# Copyright 2011 Piston Cloud Computing, Inc. # Copyright 2011 Piston Cloud Computing, Inc.
# Copyright 2012 Openstack, LLC. # Copyright 2012 OpenStack, LLC.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) 2012 Openstack, LLC # Copyright (c) 2012 OpenStack, LLC
# Copyright (c) 2010 Citrix Systems, Inc. # Copyright (c) 2010 Citrix Systems, Inc.
# Copyright 2010 United States Government as represented by the # Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration. # Administrator of the National Aeronautics and Space Administration.

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) 2012 Openstack, LLC # Copyright (c) 2012 OpenStack, LLC
# Copyright (c) 2010 Citrix Systems, Inc. # Copyright (c) 2010 Citrix Systems, Inc.
# Copyright 2010 United States Government as represented by the # Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration. # Administrator of the National Aeronautics and Space Administration.

View File

@ -1,4 +1,4 @@
# Copyright (c) 2012 Openstack, LLC # Copyright (c) 2012 OpenStack, LLC
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) 2012 Openstack, LLC # Copyright (c) 2012 OpenStack, LLC
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may