aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-21 22:38:17 -0400
committerRob Austein <sra@hactrn.net>2017-05-21 22:38:17 -0400
commitbfede7d58645f270cf9d4750b8663d7e581c69d7 (patch)
tree1e19652f5037d7144116bf5450c50673b782c59f
parent54dc2f126d4921985211b1732d34feaaa5dcb1f8 (diff)
Copyright.
-rw-r--r--README.md17
-rwxr-xr-xgit-remote-only14
-rwxr-xr-xzc16
3 files changed, 46 insertions, 1 deletions
diff --git a/README.md b/README.md
index fa05aba..bd41b4e 100644
--- a/README.md
+++ b/README.md
@@ -382,6 +382,23 @@ The basic strategy is:
writing no such need exists, and this keeps it simple.
+## Copyright ##
+
+Copyright (c) 2017, Grunchweather Associates
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
+
[dnspython]: http://www.dnspython.org
[GitPython]: https://github.com/gitpython-developers/GitPython
[githooks]: https://git-scm.com/docs/githooks
diff --git a/git-remote-only b/git-remote-only
index 27aab6d..33253e8 100755
--- a/git-remote-only
+++ b/git-remote-only
@@ -6,6 +6,20 @@
# command="git-remote-only /path/to/repository.git alice@example.org" ssh-rsa ABCDEF....== alice@example.org dedicated git key
#
# You might also want options like no-port-forwarding,no-X11-forwarding,no-agent-forwarding.
+#
+# Copyright (c) 2017, Grunchweather Associates
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
import os, sys, shlex
diff --git a/zc b/zc
index 6e6dbe2..387fc39 100755
--- a/zc
+++ b/zc
@@ -13,6 +13,20 @@ dnspython's zone parser, then generate reverse zones by translating
the A and AAAA RRs in the forward zone into the corresponding PTR RRs.
"""
+# Copyright (c) 2017, Grunchweather Associates
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
+
from dns.rdatatype import A, AAAA, SOA, NS, PTR
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter, RawDescriptionHelpFormatter, FileType
from socket import inet_ntop, inet_pton, AF_INET, AF_INET6
@@ -390,7 +404,7 @@ class GitView(object):
logging.getLogger().addHandler(self.file_logger)
else:
self.file_logger = None
-
+
def log_user_hook_commit(self):
logger.debug("Original SSH command: %s", os.getenv("SSH_ORIGINAL_COMMAND"))
logger.debug("authorized_keys command: %s", os.getenv("GIT_REMOTE_ONLY_COMMAND"))