We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32c2f3 commit a1cc5c2Copy full SHA for a1cc5c2
.github/CODEOWNERS
@@ -0,0 +1 @@
1
+* @abmmhasan
bash/owners.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
2
+
3
+if ! test -d "./.git"; then
4
+ echo "Error: Not a git repository!" >&2
5
+ exit 1
6
+fi
7
8
+# git fame owner generator
9
+for f in $(git ls-files); do
10
+ # filename
11
+ echo -n "$f "
12
+ # author emails if loc distribution >= 30%
13
+ git fame -esnwMC --incl "$f" | tr '/' '|' \
14
+ | awk -F '|' '(NR>6 && $6>=30) {print $2}' \
15
+ | xargs echo
16
+done
0 commit comments