diff options
author | Matěj Cepl <mcepl@redhat.com> | 2013-08-21 13:51:50 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-01 01:24:18 +0100 |
commit | 53a8fe1e9513d9116cd8ee99129041dfa111d9b9 (patch) | |
tree | 4fcce2ed2a08b27794dd63b157d564b5788a30c0 /.be | |
parent | 9f42485b9a20a4e991198232eb8121d5bfbc4981 (diff) | |
download | hlupak-53a8fe1e9513d9116cd8ee99129041dfa111d9b9.tar.gz |
fix(git-svn-fix-authors): Allow middle names.
And don't overuse export when it is not needed.
Diffstat (limited to '.be')
10 files changed, 186 insertions, 0 deletions
diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/body b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/body new file mode 100644 index 0000000..8f26b0d --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/body @@ -0,0 +1,2 @@ +The attached patch leads to REPL being empty for the author +(no author) diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/values b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/values new file mode 100644 index 0000000..6b8308d --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2/values @@ -0,0 +1,29 @@ +{ + + + + + + + "Author": "Mat\u011bj Cepl <mcepl@redhat.com>", + + + + + + + "Content-type": "text/plain", + + + + + + + "Date": "Wed, 21 Aug 2013 12:16:38 +0000" + + + + + + +} diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/body b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/body new file mode 100644 index 0000000..9548251 --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/body @@ -0,0 +1,35 @@ +diff --git a/git-svn-fix-authors b/git-svn-fix-authors +index f78bfbe..458a91a 100755 +--- a/git-svn-fix-authors ++++ b/git-svn-fix-authors +@@ -1,21 +1,25 @@ + #!/bin/sh +-set -eu ++set -eux + + AUTHORS_FILE=$(git config svn.authorsfile) || { + echo "ERROR: set config.svn.authorsfile!" + exit 1 + } +-export AUTHORS_FILE=$(readlink -f $AUTHORS_FILE) ++AUTHORS_FILE=$(readlink -f $AUTHORS_FILE) + + git filter-branch --env-filter ' + + function replacement() { +- REPL=$(awk -F"[[:space:]]*=[[:space:]]*" "/$1/ {print \$2;}" $AUTHORS_FILE) +- MAIL=$(echo $REPL|awk "{print \$NF}"|tr -d "<>" ) +- NAME=$(echo $REPL|awk "{print \$1, \$2}" ) ++ echo -e "\n\$1 = $1" ++ REPL=$(awk -F"[[:space:]]*=[[:space:]]*" "/$1/ {print \$2}" $AUTHORS_FILE) ++ echo -e "\nREPL = $REPL" ++ MAIL=$(echo "$REPL"|awk "{print \$NF}"|tr -d "<>" ) ++ NAME=$(echo "$REPL"|awk "{print gensub(/[[:space:]]*<[^[:space:]]*/,\"\",\"\")}" ) + } + ++ + replacement "${GIT_AUTHOR_NAME}" ++echo -e "\nGIT_AUTHOR_NAME = $GIT_AUTHOR_NAME, NAME = $NAME, MAIL = $MAIL" + + export GIT_AUTHOR_NAME="$NAME" + export GIT_AUTHOR_EMAIL="$MAIL" diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/values b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/values new file mode 100644 index 0000000..5cc9896 --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5/values @@ -0,0 +1,29 @@ +{ + + + + + + + "Author": "Mat\u011bj Cepl <mcepl@redhat.com>", + + + + + + + "Content-type": "text/x-diff", + + + + + + + "Date": "Wed, 21 Aug 2013 12:15:34 +0000" + + + + + + +} diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/body b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/body new file mode 100644 index 0000000..9faa9a1 --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/body @@ -0,0 +1,5 @@ +kasal: NAME .. $1, $2 -- a middle name neexistuje? +mcepl: v daném repo ne, a já nevím, jak to zawkovat správně +kasal: ze by gensub(/[[space:]]*<.*/,"","") + 4. parametr defaultuje na $0 + A ta slova "export" tam jsou navic. diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/values b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/values new file mode 100644 index 0000000..0a20dbb --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259/values @@ -0,0 +1,29 @@ +{ + + + + + + + "Author": "Mat\u011bj Cepl <mcepl@redhat.com>", + + + + + + + "Content-type": "text/plain", + + + + + + + "Date": "Wed, 21 Aug 2013 11:43:13 +0000" + + + + + + +} diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/values b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/values new file mode 100644 index 0000000..0b26d7a --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/values @@ -0,0 +1,50 @@ +{ + + + + + + + "creator": "Mat\u011bj Cepl <mcepl@redhat.com>", + + + + + + + "reporter": "Mat\u011bj Cepl <mcepl@redhat.com>", + + + + + + + "severity": "minor", + + + + + + + "status": "fixed", + + + + + + + "summary": "skasal's comments", + + + + + + + "time": "Wed, 21 Aug 2013 11:34:22 +0000" + + + + + + +} diff --git a/.be/e75fa81d-447c-41f5-8a36-888f899413df/settings b/.be/e75fa81d-447c-41f5-8a36-888f899413df/settings new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.be/e75fa81d-447c-41f5-8a36-888f899413df/settings @@ -0,0 +1 @@ +{} diff --git a/.be/id-cache b/.be/id-cache new file mode 100644 index 0000000..9615fbf --- /dev/null +++ b/.be/id-cache @@ -0,0 +1,5 @@ +d1bb5924-b5a0-41f2-bb69-3d92c481038c .be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c +55c16a2a-4877-4399-ae48-c5bb92010ef5 .be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/55c16a2a-4877-4399-ae48-c5bb92010ef5 +4e8148a6-0022-46f7-90d9-851228e729a2 .be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/4e8148a6-0022-46f7-90d9-851228e729a2 +599abbc1-7996-44e5-8a53-d0c38a98e259 .be/e75fa81d-447c-41f5-8a36-888f899413df/bugs/d1bb5924-b5a0-41f2-bb69-3d92c481038c/comments/599abbc1-7996-44e5-8a53-d0c38a98e259 +e75fa81d-447c-41f5-8a36-888f899413df .be/e75fa81d-447c-41f5-8a36-888f899413df diff --git a/.be/version b/.be/version new file mode 100644 index 0000000..38d39ae --- /dev/null +++ b/.be/version @@ -0,0 +1 @@ +Bugs Everywhere Directory v1.5 |