From 0c80c29d0fde63d9617d5769038963375e698628 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 9 Jun 2020 16:55:15 -0400 Subject: initial commit --- flow.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 flow.md (limited to 'flow.md') diff --git a/flow.md b/flow.md new file mode 100644 index 0000000..5c81d5e --- /dev/null +++ b/flow.md @@ -0,0 +1,57 @@ +#### Metadata +Startdate: 2020-05-30 15:51 +References: +Everything on this page, for jq filtering. https://stedolan.github.io/jq/manual/#Basicfilters + + +# Flow + +1. Use gitlablib to list all issue web urls, and then remove all the "build", "buildmodify" and similar CI/CD issues. + + . gitlablib.sh + list_all_issues | tee output/issues.all + output/issues.all.web_url + + Manually munge the data to put the devuan/devuan-project/issues/20 on top. + +2. Use fetch-issue-webpages.py to fetch all those webpages + + ln -s issues.all.web_url output/files-to-fetch.txt + ./fetch-issue-webpages.py + +3. munge the downloaded html + All of the following is performed by `flow-part2.sh` + + * fix newlines + + sed -i -r -e 's/\\n/\n/g;' /mnt/public/www/issues/*.html + + * find data-original-titles and replace the