summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2021-06-14 22:45:49 +0300
committerEd Tanous <ed@tanous.net>2021-07-08 01:34:19 +0300
commitfe4b30937df37b4f1d36f0bc848cab8647137348 (patch)
tree8d64621bb0cdae39744f5c3567525723c49210f1
parented3982131dcef2b499da36e674d2d21b2289ef29 (diff)
downloadbmcweb-fe4b30937df37b4f1d36f0bc848cab8647137348.tar.xz
Generated files should not be copyright
Because these files are generated, there is no copyright that makes sense, as these are "derivative works". sdbusplus does not include these in its generated files, bmcweb should do the same. Tested: Code compiles. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I3c729f8c03176770b31b4f54ebdbdab92daae163
-rw-r--r--redfish-core/include/registries/base_message_registry.hpp16
-rw-r--r--redfish-core/include/registries/resource_event_message_registry.hpp16
-rw-r--r--redfish-core/include/registries/task_event_message_registry.hpp16
-rwxr-xr-xscripts/parse_registries.py16
4 files changed, 4 insertions, 60 deletions
diff --git a/redfish-core/include/registries/base_message_registry.hpp b/redfish-core/include/registries/base_message_registry.hpp
index 58156c889e..87c515cff4 100644
--- a/redfish-core/include/registries/base_message_registry.hpp
+++ b/redfish-core/include/registries/base_message_registry.hpp
@@ -1,18 +1,4 @@
-/*
-// Copyright (c) 2020 Intel Corporation
-//
-// 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.
-*/
+
/****************************************************************
* This is an auto-generated header which contains definitions
* for Redfish DMTF defined messages.
diff --git a/redfish-core/include/registries/resource_event_message_registry.hpp b/redfish-core/include/registries/resource_event_message_registry.hpp
index 6790317ef6..eb7786e9ec 100644
--- a/redfish-core/include/registries/resource_event_message_registry.hpp
+++ b/redfish-core/include/registries/resource_event_message_registry.hpp
@@ -1,18 +1,4 @@
-/*
-// Copyright (c) 2020 Intel Corporation
-//
-// 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.
-*/
+
/****************************************************************
* This is an auto-generated header which contains definitions
* for Redfish DMTF defined messages.
diff --git a/redfish-core/include/registries/task_event_message_registry.hpp b/redfish-core/include/registries/task_event_message_registry.hpp
index c2916441f7..23f7e115df 100644
--- a/redfish-core/include/registries/task_event_message_registry.hpp
+++ b/redfish-core/include/registries/task_event_message_registry.hpp
@@ -1,18 +1,4 @@
-/*
-// Copyright (c) 2020 Intel Corporation
-//
-// 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.
-*/
+
/****************************************************************
* This is an auto-generated header which contains definitions
* for Redfish DMTF defined messages.
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index a94fc04b53..5f2229c7ef 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -13,21 +13,7 @@ import subprocess
import xml.etree.ElementTree as ET
-REGISTRY_HEADER = '''/*
-// Copyright (c) 2020 Intel Corporation
-//
-// 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.
-*/
+REGISTRY_HEADER = '''
/****************************************************************
* This is an auto-generated header which contains definitions
* for Redfish DMTF defined messages.