๐พ Archived View for bbs.geminispace.org โบ u โบ jsreed5 โบ 17718 captured on 2024-06-20 at 11:56:19. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2024-06-16)
โก๏ธ Next capture (2024-08-18)
-=-=-=-=-=-=-
Re: "How do you prefer to write your gemlogs?"
I manage my capsule using git. To publish a new log, I copy a template to a new file, write what I want in it, run a script to regenerate my log index pages, commit, and push it up. This allows me to compose logs from any device by simply cloning the repository.
Jun 06 ยท 2 weeks ago
๐ gritty ยท Jun 06 at 16:19:
@jsreed5 do you automate the pull?
๐ jsreed5 ยท Jun 06 at 18:22:
@gritty I don't automate the pull from the capsule to my devices--and that has bitten me before! Technically I have a bare repository on the capsule server to push and pull from, and Jetforce serves the capsule files from a local clone of the bare repository. That clone does pull automatically.
๐ gritty ยท Jun 07 at 00:46:
@jsreed5 I've not done this on the server. githooks?
๐ jsreed5 ยท Jun 13 at 13:33:
@gritty That's correct. I don't use Titan so I can't post the hook as a multiline comment here, but I use the "post-update" hook in the bare repo to cd to the local clone, unset the GIT_DIR variable (which otherwise defaults to the bare repo directory), and pull.
How do you prefer to write your gemlogs? โ How do you prefer to write your gemlogs? In the past I've done it straight on my server with nano or vi, and I've also experimented with writing everything locally and then using scp to copy thew new files over. Both seem to be equally good for my purposes as long as I have my column width set appropriately in my editor. I considered writing things and then uploading with Titan, but my current capsule software doesn't support Titan that I'm aware of...
๐ฌ Dio9sys ยท 10 comments ยท 2 likes ยท Jun 05 ยท 2 weeks ago