From 33d1ccdb7986d6450d95f2606f8917f34d174691 Mon Sep 17 00:00:00 2001 From: Romain ASNAR Date: Wed, 30 May 2018 18:57:03 +0800 Subject: [PATCH 1/8] :memo: Add Label's sub section in table of contents. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3da8db7..c2f3809 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ These guidelines are based on [Building a strong community Github documentation] * [Short Iterative Due Date](#short-iterative-due-date) * [Github Issue And Pull Request Priority](#github-issue-and-pull-request-priority) * [Label](#label) + * [Immutablity](#immutablity) + * [Colors](#colors) + * [Categories](#categories) + * [Type](#type) + * [Severity](#severity) + * [Type Of Change](#type-of-change) * [CHANGELOG](#changelog) * [CONTRIBUTING.md](#contributingmd) * [Resources](#resources) @@ -293,7 +299,7 @@ Severity labels are mostly used for bug-related issues. It allows to identify th - ![#00cc41](https://placehold.it/15/00cc41/000000?text=+) (**#00cc41**) `Severity: Medium`: The issue reports cosmetic items, formatting, spelling, colors, etc - ![#c3b2ef](https://placehold.it/15/c3b2ef/000000?text=+) (**#c3b2ef**) `Severity: Low`: The issue concerns a new feature or any addition to the project. -#### Type of change +#### Type Of Change Type of change labels are only used for pull requests. They give information about the effort needed to review a pull request: From 9ed7fb964c2cd4a0a314ef7031128ce50c0b6df6 Mon Sep 17 00:00:00 2001 From: Romain ASNAR Date: Wed, 30 May 2018 21:58:55 +0800 Subject: [PATCH 2/8] : lock: Add git commit message hook. --- .githooks/commit-msg | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .githooks/commit-msg diff --git a/.githooks/commit-msg b/.githooks/commit-msg new file mode 100755 index 0000000..f966c3c --- /dev/null +++ b/.githooks/commit-msg @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby + +message_file = ARGV[0] +message = File.read(message_file) + +$grammar_regex = Regexp.new('^:(memo|art|racehorse|non-potable_water|bug|fire|green_heart|white_check_mark|lock|arrow_up|arrow_down|shirt):\s[A-Z][\w\d\s]*[\w\d]\.(\s(Related to)[#\w\d\s]*[\w\d]\.)?$') + +if !$grammar_regex.match(message) + puts "Your message does not match with the rules defined in the CONTRIBUTING.md." + exit 1 +end \ No newline at end of file From d602c76bd9e6a1e2fc29c2dd334b3afce2caca1c Mon Sep 17 00:00:00 2001 From: Romain Asnar Date: Fri, 1 Jun 2018 16:50:59 +0800 Subject: [PATCH 3/8] Test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c2f3809..c95ab23 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Github Guidelines +# [TEST] Github Guidelines > We will do all that we can to keep the productivity of ourselves, and others, as high as possible -- Uncle Bob From c18881ca671fe6a242a2c6cc5aa477468885226a Mon Sep 17 00:00:00 2001 From: "excelsior[bot]" Date: Sat, 2 Jun 2018 14:57:14 +0000 Subject: [PATCH 4/8] my commit message --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..0d5a690 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +my new file contents \ No newline at end of file From 398e96d840db55eb426eba1fd9c5bf08804fb3b8 Mon Sep 17 00:00:00 2001 From: "excelsior[bot]" Date: Sat, 2 Jun 2018 15:13:02 +0000 Subject: [PATCH 5/8] my commit message --- test2.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test2.txt diff --git a/test2.txt b/test2.txt new file mode 100644 index 0000000..0d5a690 --- /dev/null +++ b/test2.txt @@ -0,0 +1 @@ +my new file contents \ No newline at end of file From 10da4851800d9b6947344c3e485748e07364030f Mon Sep 17 00:00:00 2001 From: "excelsior[bot]" Date: Sat, 2 Jun 2018 15:14:24 +0000 Subject: [PATCH 6/8] my commit message From 1cb20982787c2221e644823b2fbc9b3f78e6cc09 Mon Sep 17 00:00:00 2001 From: "excelsior[bot]" Date: Sat, 2 Jun 2018 15:31:38 +0000 Subject: [PATCH 7/8] new test file --- test3.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test3.txt diff --git a/test3.txt b/test3.txt new file mode 100644 index 0000000..bf8b784 --- /dev/null +++ b/test3.txt @@ -0,0 +1 @@ +ok super \ No newline at end of file From 1a061bc53fc98b18c1958899452fd5bf7aef69ea Mon Sep 17 00:00:00 2001 From: "excelsior[bot]" Date: Sat, 2 Jun 2018 15:32:23 +0000 Subject: [PATCH 8/8] new test file --- test4.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test4.txt diff --git a/test4.txt b/test4.txt new file mode 100644 index 0000000..bf8b784 --- /dev/null +++ b/test4.txt @@ -0,0 +1 @@ +ok super \ No newline at end of file