aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-12-14 07:30:02 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-12-14 07:30:02 -0800
commit8092672eb2bb813648201e8e53810b1a86fc72d1 (patch)
tree0cb41ff7e3d10948e74e05a54aa2676937b04430
parentlocal/gentoo_push_notification.py: convert to python3 (diff)
downloadgithooks-8092672eb2bb813648201e8e53810b1a86fc72d1.tar.gz
githooks-8092672eb2bb813648201e8e53810b1a86fc72d1.tar.bz2
githooks-8092672eb2bb813648201e8e53810b1a86fc72d1.zip
local: tag files to trace remaining cfengine usage
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xlocal/agefile1
-rw-r--r--local/gentoo_push_notification.py1
-rwxr-xr-xlocal/git.gentoo.org/pre-receive.gentoo-news1
-rwxr-xr-xlocal/post-receive1
-rw-r--r--local/post-receive.cfengine-sync1
-rw-r--r--local/post-receive.dns-sync1
-rwxr-xr-xlocal/post-receive.gentoo-commits1
-rw-r--r--local/post-receive.masterportage-acl-sync1
-rwxr-xr-xlocal/post-receive.puppet-sync1
-rwxr-xr-xlocal/postrecv-bugs1
-rwxr-xr-xlocal/pre-receive1
-rwxr-xr-xlocal/require-signed-push1
-rw-r--r--local/tests/lib.sh1
-rwxr-xr-xlocal/tests/run-all.sh1
-rwxr-xr-xlocal/tests/update-04-utf8.sh1
-rwxr-xr-xlocal/tests/update-05-manifest.sh1
-rwxr-xr-xlocal/tests/update-06-copyright.sh1
-rwxr-xr-xlocal/update-01-basic1
-rwxr-xr-xlocal/update-02-gpg1
-rwxr-xr-xlocal/update-03-filename1
-rwxr-xr-xlocal/update-04-utf81
-rwxr-xr-xlocal/update-05-manifest1
-rwxr-xr-xlocal/update-06-copyright1
-rwxr-xr-xlocal/update.secondary1
-rw-r--r--local/update.secondary.d/puppet-validate1
25 files changed, 25 insertions, 0 deletions
diff --git a/local/agefile b/local/agefile
index 44616f8..e953808 100755
--- a/local/agefile
+++ b/local/agefile
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/agefile
#
# An example hook to update the "agefile" for CGit's idle time calculation.
#
diff --git a/local/gentoo_push_notification.py b/local/gentoo_push_notification.py
index 374629e..c3a0fac 100644
--- a/local/gentoo_push_notification.py
+++ b/local/gentoo_push_notification.py
@@ -1,4 +1,5 @@
#!/usr/bin/python3
+# gentoo-infra: infra/githooks.git:local/gentoo_push_notification.py
import hmac
import sys
diff --git a/local/git.gentoo.org/pre-receive.gentoo-news b/local/git.gentoo.org/pre-receive.gentoo-news
index 1b88732..e8ba411 100755
--- a/local/git.gentoo.org/pre-receive.gentoo-news
+++ b/local/git.gentoo.org/pre-receive.gentoo-news
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# gentoo-infra: infra/githooks.git:local/git.gentoo.org/pre-receive.gentoo-news
# vim:fileencoding=utf-8 et st=4 sts=4
# Copyright 2012-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
diff --git a/local/post-receive b/local/post-receive
index 512154e..c6fc859 100755
--- a/local/post-receive
+++ b/local/post-receive
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/post-receive
declare -a HOOKS=(
hooks/post-receive.gentoo-commits
diff --git a/local/post-receive.cfengine-sync b/local/post-receive.cfengine-sync
index 0b40b8b..0b6c939 100644
--- a/local/post-receive.cfengine-sync
+++ b/local/post-receive.cfengine-sync
@@ -1,3 +1,4 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/post-receive.cfengine-sync
/usr/bin/sudo -n /usr/local/sbin/call-cfengine-master
diff --git a/local/post-receive.dns-sync b/local/post-receive.dns-sync
index 8f0b79f..0473a5b 100644
--- a/local/post-receive.dns-sync
+++ b/local/post-receive.dns-sync
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/post-receive.dns-sync
echo "Pushing commit to ns0.gentoo.org (scrubfowl)"
diff --git a/local/post-receive.gentoo-commits b/local/post-receive.gentoo-commits
index ee1ec21..502d0fc 100755
--- a/local/post-receive.gentoo-commits
+++ b/local/post-receive.gentoo-commits
@@ -1,4 +1,5 @@
#!/usr/bin/perl -w
+# gentoo-infra: infra/githooks.git:local/post-receive.gentoo-commits
use strict;
use POSIX qw( getcwd );
diff --git a/local/post-receive.masterportage-acl-sync b/local/post-receive.masterportage-acl-sync
index 8810f1d..e517172 100644
--- a/local/post-receive.masterportage-acl-sync
+++ b/local/post-receive.masterportage-acl-sync
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/post-receive.masterportage-acl-sync
echo "Pushing commit to albatross.gentoo.org"
diff --git a/local/post-receive.puppet-sync b/local/post-receive.puppet-sync
index 9212caa..a451960 100755
--- a/local/post-receive.puppet-sync
+++ b/local/post-receive.puppet-sync
@@ -1,2 +1,3 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/post-receive.puppet-sync
/usr/bin/sudo -n /usr/local/sbin/push-to-puppetmaster
diff --git a/local/postrecv-bugs b/local/postrecv-bugs
index 655901a..c36ba56 100755
--- a/local/postrecv-bugs
+++ b/local/postrecv-bugs
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/postrecv-bugs
# Copyright 2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/pre-receive b/local/pre-receive
index efc7420..f2268a2 100755
--- a/local/pre-receive
+++ b/local/pre-receive
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/pre-receive
HOOKS="
hooks/pre-receive.gentoo-news
diff --git a/local/require-signed-push b/local/require-signed-push
index 1dfc07b..e1f5213 100755
--- a/local/require-signed-push
+++ b/local/require-signed-push
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/require-signed-push
VERIFY_SIGS=$(git config --get gentoo.verify-signatures)
: "${VERIFY_SIGS:=gentoo-devs}"
diff --git a/local/tests/lib.sh b/local/tests/lib.sh
index cd6543d..f4fcaaa 100644
--- a/local/tests/lib.sh
+++ b/local/tests/lib.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/tests/lib.sh
# Git hook test helpers
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/tests/run-all.sh b/local/tests/run-all.sh
index 117f210..50bef43 100755
--- a/local/tests/run-all.sh
+++ b/local/tests/run-all.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/tests/run-all.sh
# Tests for git hooks
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/tests/update-04-utf8.sh b/local/tests/update-04-utf8.sh
index f471948..b172d6a 100755
--- a/local/tests/update-04-utf8.sh
+++ b/local/tests/update-04-utf8.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/tests/update-04-utf8.sh
# Tests for update-04-utf8 hook
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/tests/update-05-manifest.sh b/local/tests/update-05-manifest.sh
index 1597092..6b894ad 100755
--- a/local/tests/update-05-manifest.sh
+++ b/local/tests/update-05-manifest.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/tests/update-05-manifest.sh
# Tests for update-05-manifest hook
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/tests/update-06-copyright.sh b/local/tests/update-06-copyright.sh
index 4edaa72..dd969da 100755
--- a/local/tests/update-06-copyright.sh
+++ b/local/tests/update-06-copyright.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/tests/update-06-copyright.sh
# Tests for update-06-copyright hook
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/update-01-basic b/local/update-01-basic
index b1a36dc..9c9741a 100755
--- a/local/update-01-basic
+++ b/local/update-01-basic
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/update-01-basic
# --- Command line
refname=${1}
diff --git a/local/update-02-gpg b/local/update-02-gpg
index dceb620..10cf13b 100755
--- a/local/update-02-gpg
+++ b/local/update-02-gpg
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/update-02-gpg
# --- Command line
refname=${1}
diff --git a/local/update-03-filename b/local/update-03-filename
index da2c8ff..5558029 100755
--- a/local/update-03-filename
+++ b/local/update-03-filename
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/update-03-filename
# Copyright 2015-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/update-04-utf8 b/local/update-04-utf8
index 8195931..32bd738 100755
--- a/local/update-04-utf8
+++ b/local/update-04-utf8
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/update-04-utf8
# Copyright 2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/update-05-manifest b/local/update-05-manifest
index 42afd2a..2dda5c7 100755
--- a/local/update-05-manifest
+++ b/local/update-05-manifest
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/update-05-manifest
# Copyright 2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/update-06-copyright b/local/update-06-copyright
index 82cba58..2d20068 100755
--- a/local/update-06-copyright
+++ b/local/update-06-copyright
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/update-06-copyright
# Verify that GCO sign-off is present in commit messages
# Copyright 2018 Michał Górny
# Distributed under the terms of the GNU General Public License v2 or later
diff --git a/local/update.secondary b/local/update.secondary
index cc6ac98..7366b76 100755
--- a/local/update.secondary
+++ b/local/update.secondary
@@ -1,4 +1,5 @@
#!/bin/sh
+# gentoo-infra: infra/githooks.git:local/update.secondary
# driver script to run multiple update "hooklets". Each "hooklet" performs a
# specific (possibly site-local) check, and they *all* have to succeed for the
diff --git a/local/update.secondary.d/puppet-validate b/local/update.secondary.d/puppet-validate
index 545497c..b2ca015 100644
--- a/local/update.secondary.d/puppet-validate
+++ b/local/update.secondary.d/puppet-validate
@@ -1,4 +1,5 @@
#!/bin/bash
+# gentoo-infra: infra/githooks.git:local/update.secondary.d/puppet-validate
# Taken from http://projects.puppetlabs.com/projects/puppet/wiki/puppet_version_control#Git-Update-Hook
NOBOLD="\033[0m"