aboutsummaryrefslogtreecommitdiff
path: root/.dev-suite
diff options
context:
space:
mode:
authorMichael Gattozzi <mgattozzi@gmail.com>2019-11-22 09:52:39 -0500
committerMichael Gattozzi <mgattozzi@gmail.com>2019-11-22 09:52:39 -0500
commitb966334bf8c67cc82999d8b0962db15c8121bab7 (patch)
treeb74272358b7cffd4749905b02b16802dd95284af /.dev-suite
parent2cd27b8dd40c7361f6f2b8832e210a58f30f3639 (diff)
Add hooked and empty inited hooks from the tool
This adds the hooked binary to the dev-suite repo as well as a stub for a program to be used in this workflow! Hooked works by adding the hooks into the repo and setting them to executable and linking them into the hooks directory under .git. This means hooks get to travel with the repo and are source controlled. All a dev needs to do is run the init command and hooked will symlink them all for them. No need to remember how ln works. It's all handled for you. Future work will iterate about what hooks that dev-suite supplies as part of the script. This will involve configuration files and per repo settings are something that will need to be thought about. Closes Issue #2
Diffstat (limited to '.dev-suite')
-rwxr-xr-x.dev-suite/hooked/applypatch-msg1
-rwxr-xr-x.dev-suite/hooked/commit-msg1
-rwxr-xr-x.dev-suite/hooked/post-applypatch1
-rwxr-xr-x.dev-suite/hooked/post-checkout1
-rwxr-xr-x.dev-suite/hooked/post-commit1
-rwxr-xr-x.dev-suite/hooked/post-merge1
-rwxr-xr-x.dev-suite/hooked/post-receive1
-rwxr-xr-x.dev-suite/hooked/post-rewrite1
-rwxr-xr-x.dev-suite/hooked/post-update1
-rwxr-xr-x.dev-suite/hooked/pre-auto-gc1
-rwxr-xr-x.dev-suite/hooked/pre-commit1
-rwxr-xr-x.dev-suite/hooked/pre-push1
-rwxr-xr-x.dev-suite/hooked/pre-rebase1
-rwxr-xr-x.dev-suite/hooked/pre-receive1
-rwxr-xr-x.dev-suite/hooked/prepare-commit-msg1
-rwxr-xr-x.dev-suite/hooked/push-to-checkout1
-rwxr-xr-x.dev-suite/hooked/sendemail-validate1
-rwxr-xr-x.dev-suite/hooked/update1
-rw-r--r--.dev-suite/ticket/closed/2-create-git-hooks-tool.toml (renamed from .dev-suite/ticket/open/2-create-git-hooks-tool.toml)2
19 files changed, 19 insertions, 1 deletions
diff --git a/.dev-suite/hooked/applypatch-msg b/.dev-suite/hooked/applypatch-msg
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/applypatch-msg
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/commit-msg b/.dev-suite/hooked/commit-msg
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/commit-msg
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-applypatch b/.dev-suite/hooked/post-applypatch
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-applypatch
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-checkout b/.dev-suite/hooked/post-checkout
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-checkout
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-commit b/.dev-suite/hooked/post-commit
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-commit
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-merge b/.dev-suite/hooked/post-merge
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-merge
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-receive b/.dev-suite/hooked/post-receive
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-receive
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-rewrite b/.dev-suite/hooked/post-rewrite
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-rewrite
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/post-update b/.dev-suite/hooked/post-update
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/post-update
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/pre-auto-gc b/.dev-suite/hooked/pre-auto-gc
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/pre-auto-gc
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/pre-commit b/.dev-suite/hooked/pre-commit
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/pre-commit
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/pre-push b/.dev-suite/hooked/pre-push
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/pre-push
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/pre-rebase b/.dev-suite/hooked/pre-rebase
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/pre-rebase
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/pre-receive b/.dev-suite/hooked/pre-receive
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/pre-receive
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/prepare-commit-msg b/.dev-suite/hooked/prepare-commit-msg
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/prepare-commit-msg
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/push-to-checkout b/.dev-suite/hooked/push-to-checkout
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/push-to-checkout
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/sendemail-validate b/.dev-suite/hooked/sendemail-validate
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/sendemail-validate
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/hooked/update b/.dev-suite/hooked/update
new file mode 100755
index 0000000..efcbaec
--- /dev/null
+++ b/.dev-suite/hooked/update
@@ -0,0 +1 @@
+#! /bin/bash \ No newline at end of file
diff --git a/.dev-suite/ticket/open/2-create-git-hooks-tool.toml b/.dev-suite/ticket/closed/2-create-git-hooks-tool.toml
index 19d8904..c51799c 100644
--- a/.dev-suite/ticket/open/2-create-git-hooks-tool.toml
+++ b/.dev-suite/ticket/closed/2-create-git-hooks-tool.toml
@@ -1,5 +1,5 @@
title = 'Create git hooks tool'
-status = 'Open'
+status = 'Closed'
number = 2
description = '''
Git hooks are great, but the problem is that it's hard to standardize