aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-15 22:42:00 -0300
committerEuAndreh <eu@euandre.org>2021-01-15 22:42:00 -0300
commit6f345d08c4dd4aa7b9f0bac3488fac9351511343 (patch)
tree54f7953512a91c6a038f57d3ae76f65f72f0739e
parentos.scm: Add fzf, openssh, xmodmap and setxkbmap packages (diff)
downloaddotfiles-6f345d08c4dd4aa7b9f0bac3488fac9351511343.tar.gz
dotfiles-6f345d08c4dd4aa7b9f0bac3488fac9351511343.tar.xz
fake-symlinks: TODOs.org -> TODOs.rst
-rw-r--r--bash/templates/..gitignore6
-rwxr-xr-xbash/templates/build-aux/assert-todos.sh10
-rw-r--r--bash/templates/build-aux/html-files-from-sources.am2
3 files changed, 7 insertions, 11 deletions
diff --git a/bash/templates/..gitignore b/bash/templates/..gitignore
index 91cd32b8..88a8afcb 100644
--- a/bash/templates/..gitignore
+++ b/bash/templates/..gitignore
@@ -42,9 +42,5 @@ autom4te.cache
/doc/dictionaries/all.txt
-# TODOs.org
-/tasks-and-bugs.org
-/tasks-and-bugs.html
-/tasks-and-bugs.html~
+
/public/
-/build-aux/workflow/preamble.org \ No newline at end of file
diff --git a/bash/templates/build-aux/assert-todos.sh b/bash/templates/build-aux/assert-todos.sh
index 3fe513ab..ebed4e84 100755
--- a/bash/templates/build-aux/assert-todos.sh
+++ b/bash/templates/build-aux/assert-todos.sh
@@ -1,22 +1,22 @@
#!/bin/sh -eu
-if git grep FIXME | grep -v '^TODOs.org' | grep -v '^build-aux/assert-todos.sh' | grep -v '^build-aux/docbook-xsl/'; then
+if git grep FIXME | grep -v '^TODOs.rst' | grep -v '^build-aux/assert-todos.sh' | grep -v '^build-aux/docbook-xsl/'; then
echo "Found dangling FIXME markers on the project."
- echo "You should write them down properly on TODOs.org."
+ echo "You should write them down properly on TODOs.rst."
exit 1
fi
KNOWN_IDS=''
has_error=0
# shellcheck disable=2013
-for todo in $(sed -e '/^\* Tasks$/,/^\* Improvements$/!d' TODOs.org | grep -nE '^\*\* .*$' | cut -d: -f1); do
- if sed "${todo}q;d" TODOs.org | grep -qE '^\*\* (CANCELLED|DONE)'; then
+for todo in $(sed -e '/^\* Tasks$/,/^\* Improvements$/!d' TODOs.rst | grep -nE '^\*\* .*$' | cut -d: -f1); do
+ if sed "${todo}q;d" TODOs.rst | grep -qE '^\*\* (CANCELLED|DONE)'; then
ID_OFFSET=3
else
ID_OFFSET=2
fi
line_n="$((todo+ID_OFFSET))"
- ID_LINE="$(sed "${line_n}q;d" TODOs.org)"
+ ID_LINE="$(sed "${line_n}q;d" TODOs.rst)"
if echo "$ID_LINE" | grep -q '^:CUSTOM_ID: .*$'; then
ID="$(echo "$ID_LINE" | awk '{print $2}')"
if echo "$KNOWN_IDS" | grep -q "$ID"; then
diff --git a/bash/templates/build-aux/html-files-from-sources.am b/bash/templates/build-aux/html-files-from-sources.am
index 1561045a..3f335ed9 100644
--- a/bash/templates/build-aux/html-files-from-sources.am
+++ b/bash/templates/build-aux/html-files-from-sources.am
@@ -16,7 +16,7 @@ doc/dictionaries/all.txt: $(DICTIONARIES)
exit 1; \
}
-public: README TODOs.org $(DOC_SRCS) doc/dictionaries/all.txt
+public: README TODOs.rst $(DOC_SRCS) doc/dictionaries/all.txt
$(srcdir)/build-aux/build-web-assets.sh '$(PACKAGE)' $(LANGS)
$(srcdir)/build-aux/generate-tasks-and-bugs.sh