diff options
author | Fabian Kirchner <kirchner@posteo.de> | 2023-09-27 14:50:57 +0200 |
---|---|---|
committer | Fabian Kirchner <kirchner@posteo.de> | 2023-09-27 14:52:07 +0200 |
commit | c0c27cce536c7e10aa92004c539d3e01651acba3 (patch) | |
tree | 6056774be0ce887d26d549d3295c83eabf7fbcd1 /src | |
parent | 59d7b4bb6cd26dc0e451c637a94cac57b4eb2dd0 (diff) |
assign and schedule issues
Diffstat (limited to 'src')
-rwxr-xr-x | src/extract.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/extract.sh b/src/extract.sh index 678104e..3927f38 100755 --- a/src/extract.sh +++ b/src/extract.sh @@ -33,16 +33,22 @@ # # Users can add tags inside issue title and description. Tags are slugs # and start with @ +# +# @assigned aforemny # TODO Add filter by tags # # Users can filter issues for tags with the option -t/--tag @tag. +# +# @assigned kirchner@posteo.de # TODO Add command line modes list and show # # `anissue list` lists all issues in the current directory # `anissue show <issue>` shows an issue using it's id or automatically # assigned identifier +# +# @assigned aforemny # TODO Generate and show hash for each issue @@ -84,6 +90,10 @@ git ls-files --cached --exclude-standard --other | created_at=$(git show $first_commit --no-patch --format=%ad) heading=$(echo "$text" | sed '/^$/Q' | sed 's/.*TODO //') # TODO body is not extracted in shell scripts + # + # @assigned aforemny + # @assigned kirchner@posteo.de + # @scheduled 2023-10-03 body=$(echo "$text" | tail -n +$(($(echo "$heading" | wc -l) + 2)) | \ awk -F '[^ ]' ' NR == 1 {n = length($1)} |