Merge pull request #2281 from XhmikosR/patch-2

This commit is contained in:
Steven Black
2023-04-08 11:30:03 -04:00
committed by GitHub
5 changed files with 25 additions and 19 deletions

View File

@@ -1,14 +1,20 @@
# editorconfig.org
root = true
[*.py]
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
end_of_line = LF
[*.bat]
end_of_line = CRLF
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false
insert_final_newline = true
[*.py]
indent_size = 4

View File

@@ -52,12 +52,10 @@ extensions/social/tiuxo
IFS='
'
for item in $lists
do
for item in $lists; do
echo -n "" > $item/stats.out
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item)
do
for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item); do
# echo $item $HASH_DATE
IFS=" "
split=(${HASH_DATE//,/ })

View File

@@ -1,10 +1,12 @@
#!/usr/bin/env bash
echo \n "" > stats.out
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
# echo "$TAG_DATE"
split=(${TAG_DATE//,/ })
# echo ${split[0]}
git checkout tags/${split[0]} readmeData.json
entries=$(jq '.base.entries' readmeData.json)
echo ${split[1]},${entries} >> stats.out
# echo "$TAG_DATE"
split=(${TAG_DATE//,/ })
# echo ${split[0]}
git checkout tags/${split[0]} readmeData.json
entries=$(jq '.base.entries' readmeData.json)
echo ${split[1]},${entries} >> stats.out
done