1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
Commit graph

11 commits

Author SHA1 Message Date
Rohan Kumar
76a18c2541
Include more generator information.
- Add generator info to Atom feed.
- Add generator version and commit hash to meta page, along with a link
  to the last CI job if available.
- Use $JOB_URL to detect CI since that variable can be re-used to fetch
  the URL to the latest CI logs.
2023-11-27 19:38:56 -08:00
Rohan Kumar
d1711699d4
Opportunistically use pipefail 2023-11-25 13:40:52 -08:00
Rohan Kumar
2e10fce294
Fix webmention issues for extended offline periods
It was still broken augh. This'll do the trick.
2023-11-25 12:59:55 -08:00
Rohan Kumar
d8eae6f057
fix fetching mentions when no webmention file exists 2023-11-23 20:05:54 -08:00
Rohan Kumar
aebc49772e
Fix: exit check_cached_webmentions early 2023-11-23 20:01:54 -08:00
Rohan Kumar
d88d98f829
Fix get-webmentions diagnostics 2023-11-23 19:03:40 -08:00
Rohan Kumar
2b016aa973
Refactor shell scripts.
- Avoid relative paths, so I can run them from any working directory.
- Make a dedicated curl-wrapping shell script instead of re-defining the
  same alias everywhere.
- Support extended offline periods: allow get-webmentions.sh to fall
  back to the cached copy of my webmentions for up to a day, and don't
  accidentally destroy it; keep changes atomic.
- Verify that the fetched webmentions are legit before replacing the
  cached ones.
- Make shellcheck happy about quoting in vnu.sh by passing the list of
  files with xargs instead of a shell variable.
2023-11-23 18:45:03 -08:00
Rohan Kumar
0dfcced14f
Make shellcheck happy 2023-11-15 02:31:06 -08:00
Rohan Kumar
2418560975
use curl -o instead of shell redirection 2023-11-14 23:01:46 -08:00
Rohan Kumar
e8ab433b22
Fix undefined "==" behavior in POSIX sh
Thanks, ShellCheck.
2023-02-09 22:51:12 -08:00
Rohan Kumar
5cbe4ef6c2
Clean up + rename get-webmention script
Now caches webmentions for an hour
2022-12-24 10:11:25 -08:00