Weekly deploy static website.
  • Issue number: #35

Service

  • Execute net.splitcells.martins.avots.website.deploy.diff.

Tasks

  • [ ] Speed up RenderingValidatorForHtmlLinks by caching ProjectsRenderer#projectsPaths().
    • [ ] Refresh cache, when invalid links was found and recheck.
    • [ ] Check valid links, by rendering it internally.
  • [ ] Invalid-Link-Counter page, has old history file: https://splitcells.net/net/splitcells/website/server/project/validator/RenderingValidatorForHtmlLinks/build/splitcells-XPS-15-9570.csv.html
    • [ ] Check the last CSV entry is new enough. Otherwise, create a status warning exactly for this.

Completed Tasks

  • [x] Full and differential deployment does not always seem to update already uploaded files See https://splitcells.net/net/splitcells/network/community/blog/articles/2024-04-14-assertj-considered-unfit.html It seems to affect HTML pages, but not files like *.js (see https://splitcells.net/net/splitcells/gel/ui/no/code/editor/lib.js). The reason seams to be, that bin/serve.to.folder does not server most HTML documents, that are based on XML or CommonMark documents. -> The reason for that was a file name, that started with a whitespace, which was rejected by the server. This caused bin/serve.to.folder fail and thereby the rest of bin/deploy.diff to upload incomplete data, because the Java program's return code was always 0. This was adjusted, so that net.splitcells.website.martins.avots.StaticFileServer exits with the return code 1, if the server aborted serving the files to the folder.