From 9b11ea24a6d8ad1f7a5c6819a7d0da7d1803f7f7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Sep 2017 09:33:46 +0200 Subject: bin/build-master-status: write todos to website --- bin/build-master-status | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'bin') diff --git a/bin/build-master-status b/bin/build-master-status index 3a33a54..498405e 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -378,6 +378,42 @@ if ${web}; then rm -f "${tmp_dir}/broken-packages-names" + { + printf '%s\n' \ + '' \ + '' \ + 'Todos in the build scripts' \ + '' \ + '' + find "${base_dir}/bin/" "${base_dir}/conf/" -type f \ + -exec sed -n ' + /^\s*#\s*TODO:/{ + s/^\s*#\s*TODO:\s*// + :a + N + s/\s*\n\s*#/\n/ + ta + s/\n\n\+/\n/g + s/\n[^\n]*$/\n/ + i {} + = + p + }' {} \; | \ + sed ' + :a + N + /\n$/!ba + s|^[^\n]*/\([^/\n]\+/[^/\n]\+\)\n\([0-9]\+\)\n|\1 (line \2):\n| + ' | \ + sed ' + s|$|
| + ' + printf '%s\n' \ + '' \ + '' + } > \ + "${tmp_dir}/todos.html" + find "${tmp_dir}" -maxdepth 1 -type f | \ while read -r file; do cat "${file}" > \ -- cgit v1.2.3-70-g09d2