sals.place

Tasty treats in the pico.sh fall update

Lots of goodies in the latest roundup from pico.sh.

The most relevant one for me is right at the top: the rsync receiver got a big upgrade. It can now handle the --checksum flag, which tells rsync to compare files by content instead of modification time and size. Since this is a Hugo static site, my local files are rebuilt before every deploy, which means they always have different mod times compared to the deployed files. This caused the entire site to be uploaded instead of just the changed files, which negated the benefit of rsync.

I built a multi-stage deployment pipeline to work around this and deploy only the files that had changed. But now I can get rid of that and just use --checksum. It’s been working great so far.

Check out the rest of the post for more cool stuff, including updates to prose.sh, pico’s blogging platform.

Tags