You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/01/13 18:42:23 UTC

[03/10] incubator-trafficcontrol git commit: Added license headers for git pre-commit hooks.

Added license headers for git pre-commit hooks.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/3e06a6d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/3e06a6d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/3e06a6d1

Branch: refs/heads/master
Commit: 3e06a6d1b56d4df89437915a3604fbc312b2eee5
Parents: 0d874bf
Author: Chris Lemmons <Ch...@comcast.com>
Authored: Thu Jan 12 15:09:04 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jan 13 11:40:09 2017 -0700

----------------------------------------------------------------------
 misc/git/pre-commit                 | 18 ++++++++++++++++++
 misc/git/pre-commit-hooks/02-govet  | 18 ++++++++++++++++++
 misc/git/pre-commit-hooks/03-golint | 17 +++++++++++++++++
 misc/git/pre-commit-hooks/99-gotest | 17 +++++++++++++++++
 misc/git/pre-commit-hooks/pkgs      | 17 +++++++++++++++++
 5 files changed, 87 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3e06a6d1/misc/git/pre-commit
----------------------------------------------------------------------
diff --git a/misc/git/pre-commit b/misc/git/pre-commit
index 2067903..b362dc5 100755
--- a/misc/git/pre-commit
+++ b/misc/git/pre-commit
@@ -1,5 +1,23 @@
 #!/bin/sh
 #
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+#
 # Base pre-commit hook. Place this file in ".git/hooks/pre-commit" to activate.
 # All executables in the misc/pre-commit-hooks directory will be run, stopping after first failure.
 

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3e06a6d1/misc/git/pre-commit-hooks/02-govet
----------------------------------------------------------------------
diff --git a/misc/git/pre-commit-hooks/02-govet b/misc/git/pre-commit-hooks/02-govet
index a868012..3676b2a 100755
--- a/misc/git/pre-commit-hooks/02-govet
+++ b/misc/git/pre-commit-hooks/02-govet
@@ -1,5 +1,23 @@
 #!/bin/sh
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+
 # git go vet pre-commit hook
 #
 # Runs go vet

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3e06a6d1/misc/git/pre-commit-hooks/03-golint
----------------------------------------------------------------------
diff --git a/misc/git/pre-commit-hooks/03-golint b/misc/git/pre-commit-hooks/03-golint
index 73a651d..d6144da 100755
--- a/misc/git/pre-commit-hooks/03-golint
+++ b/misc/git/pre-commit-hooks/03-golint
@@ -1,5 +1,22 @@
 #!/bin/sh
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 # git golint pre-commit hook
 #
 # Runs golint

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3e06a6d1/misc/git/pre-commit-hooks/99-gotest
----------------------------------------------------------------------
diff --git a/misc/git/pre-commit-hooks/99-gotest b/misc/git/pre-commit-hooks/99-gotest
index 8d6640a..8ed77c6 100755
--- a/misc/git/pre-commit-hooks/99-gotest
+++ b/misc/git/pre-commit-hooks/99-gotest
@@ -1,5 +1,22 @@
 #!/bin/sh
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 # git gotest pre-commit hook
 #
 # Runs go tests and also ensures that packages with no tests compile, ie

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/3e06a6d1/misc/git/pre-commit-hooks/pkgs
----------------------------------------------------------------------
diff --git a/misc/git/pre-commit-hooks/pkgs b/misc/git/pre-commit-hooks/pkgs
index ac8496b..a9614c5 100644
--- a/misc/git/pre-commit-hooks/pkgs
+++ b/misc/git/pre-commit-hooks/pkgs
@@ -1,5 +1,22 @@
 #!/bin/sh
 #
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
 # Source this file to use PKGS, which is a space delimited list of packges
 # to be tested, linted, etc. This avoids running tests on vendored, non Traffic Control packages.
 #