Skip to content

Commit

Permalink
ci: Do less agressive blame detection as it was introducing false res…
Browse files Browse the repository at this point in the history
…ults
  • Loading branch information
iranzo committed Aug 17, 2023
1 parent b9b92b2 commit 52ad29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refresh-contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Description: Script to update contributors for each plugin
# Copyright (C) 2018-2022 Pablo Iranzo Gómez <[email protected]>
# Copyright (C) 2018-2023 Pablo Iranzo Gómez <[email protected]>

# Find files that misses the header:
# for file in $(find . -type f|grep -v .git|grep -v pyc|grep -v .risu_tests|egrep '(.py|.txt|.yml|.sh)$'); do grep -q "^# Modifications" $file|| echo $file;done
Expand Down Expand Up @@ -97,7 +97,7 @@ def main():
date = ""

command = (
"cd $(dirname %s) && git blame -C -C -C -M -w -e %s | awk '{print $2\" \"$3\" \"$4}'|egrep -o '<.*>.*[0-9][0-9][0-9][0-9]-' | sed 's/ */ /g' | cut -d ' ' -f 1-2 | sort -u|grep -v not.committed.yet"
"cd $(dirname %s) && git blame -C -M -w -e %s | awk '{print $2\" \"$3\" \"$4}'|egrep -o '<.*>.*[0-9][0-9][0-9][0-9]-' | sed 's/ */ /g' | cut -d ' ' -f 1-2 | sort -u|grep -v not.committed.yet"
% (plugin["plugin"], plugin["plugin"])
)

Expand Down

0 comments on commit 52ad29e

Please sign in to comment.