diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-12-02 08:18:56 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-12-02 08:18:56 -0500 |
commit | 66ae0b351fe2709d583073496f3ff6812989cdd2 (patch) | |
tree | c70099fba7f9e38e6162f0dab4be0c780d65b861 /roles/prerec/templates/talk | |
parent | 58a16c0d64ca9ba3bc8861fbaeb19d2630de04aa (diff) | |
download | emacsconf-ansible-66ae0b351fe2709d583073496f3ff6812989cdd2.tar.xz emacsconf-ansible-66ae0b351fe2709d583073496f3ff6812989cdd2.zip |
prerec updates
Diffstat (limited to '')
-rwxr-xr-x | roles/prerec/templates/talk (renamed from roles/prerec/templates/update-task-status.sh) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/prerec/templates/update-task-status.sh b/roles/prerec/templates/talk index b3f59d2..0531cda 100755 --- a/roles/prerec/templates/update-task-status.sh +++ b/roles/prerec/templates/talk @@ -1,7 +1,7 @@ #!/bin/bash # {{ ansible_managed }} -# How to use: update-task-status.sh slug from-status-regexp to-status -# or update-task-status.sh slug to-status +# How to use: talk slug from-status-regexp to-status +# or talk slug to-status SLUG="$1" FROM_STATUS="$2" @@ -11,11 +11,11 @@ if [ "x$TO_STATUS" == "x" ]; then TO_STATUS="$2" fi cd {{ emacsconf_private_dir }} -echo "Pulling conf.org..." -git pull +#echo "Pulling conf.org..." +#git pull echo "Updating status..." emacsclient --eval "(emacsconf-with-todo-hooks (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\"))" -a emacs -echo "Committing and pushing in the background" -git commit -m "Update task status for $SLUG from $FROM_STATUS to $TO_STATUS" conf.org -git push & +#echo "Committing and pushing in the background" +#git commit -m "Update task status for $SLUG from $FROM_STATUS to $TO_STATUS" conf.org +#git push & |