From 5a785aa5ee038798b59193fd820e7100ebf119c5 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 4 Aug 2013 16:10:49 -0400 Subject: [PATCH] Add missing copyright license headers We're working on adding enforcement that things have appropriate copyright license headers. In anticipation of that, fix the files that don't have them. Change-Id: Ie0a9fd5eece5b6671ff4389b07b69ca29be7d017 --- bin/swift-config | 12 ++++++++++++ bin/swift-form-signature | 12 ++++++++++++ bin/swift-oldies | 12 ++++++++++++ bin/swift-orphans | 12 ++++++++++++ bin/swift-recon | 13 +++++++++++++ bin/swift-recon-cron | 13 +++++++++++++ bin/swift-temp-url | 12 ++++++++++++ swift/proxy/controllers/__init__.py | 13 +++++++++++++ 8 files changed, 99 insertions(+) diff --git a/bin/swift-config b/bin/swift-config index 25d91e984e..56d6f7589e 100755 --- a/bin/swift-config +++ b/bin/swift-config @@ -1,4 +1,16 @@ #!/usr/bin/env python +# 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. import optparse import os diff --git a/bin/swift-form-signature b/bin/swift-form-signature index 08a5adce53..91c76699f0 100755 --- a/bin/swift-form-signature +++ b/bin/swift-form-signature @@ -1,4 +1,16 @@ #!/usr/bin/env python +# 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. import hmac from hashlib import sha1 diff --git a/bin/swift-oldies b/bin/swift-oldies index 4012ba7811..46263ab95d 100755 --- a/bin/swift-oldies +++ b/bin/swift-oldies @@ -1,4 +1,16 @@ #!/usr/bin/env python +# 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. import optparse import subprocess diff --git a/bin/swift-orphans b/bin/swift-orphans index baf8be73ca..d6cf2d0801 100755 --- a/bin/swift-orphans +++ b/bin/swift-orphans @@ -1,4 +1,16 @@ #!/usr/bin/env python +# 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. import optparse import os diff --git a/bin/swift-recon b/bin/swift-recon index 62f18aa275..dc9ea7c656 100755 --- a/bin/swift-recon +++ b/bin/swift-recon @@ -1,4 +1,17 @@ #! /usr/bin/env python +# 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. + """ cmdline utility to perform cluster reconnaissance """ diff --git a/bin/swift-recon-cron b/bin/swift-recon-cron index 55bf36abf2..81edc636cb 100755 --- a/bin/swift-recon-cron +++ b/bin/swift-recon-cron @@ -1,4 +1,17 @@ #!/usr/bin/env python +# 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. + """ swift-recon-cron.py """ diff --git a/bin/swift-temp-url b/bin/swift-temp-url index 1448f2601d..60576c9931 100755 --- a/bin/swift-temp-url +++ b/bin/swift-temp-url @@ -1,4 +1,16 @@ #!/usr/bin/env python +# 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. import hmac from hashlib import sha1 diff --git a/swift/proxy/controllers/__init__.py b/swift/proxy/controllers/__init__.py index cb50226734..327376016c 100644 --- a/swift/proxy/controllers/__init__.py +++ b/swift/proxy/controllers/__init__.py @@ -1,3 +1,16 @@ +# 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. + from swift.proxy.controllers.base import Controller from swift.proxy.controllers.obj import ObjectController from swift.proxy.controllers.account import AccountController