← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1209070] Re: hacking: H102, H103 Apache License check violations

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1209070

Title:
  hacking: H102, H103 Apache License check violations

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Apache License checks have been added to hacking.py.

      H102  Apache 2.0 license header not found
      H103  Header does not match Apache 2.0 License notice

  Some files in neutron do not follow them. The following are examples.
  it is better to fix them rather than ignoring them in tox.ini.

  <license>!=<apache2>:
  '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 a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.' !=
  '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 a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.'
  ./neutron/api/v2/attributes.py:6:6: H103  Header does not match Apache 2.0 License notice
  #    Licensed under the Apache License, Version 2.0 (the 'License'); you may

  ./neutron/tests/unit/nicira/test_nvp_api_common.py:1:1: H102  Apache 2.0 license header not found
  # Copyright (C) 2009-2011 Nicira Networks, Inc. All Rights Reserved.
  ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1209070/+subscriptions