About News Download Docs Forum Bugs Contact

Forum

Information

Tools

Resources

Script for checking updates from git

Submitted by SneakyThunder 13 Aug, 2022 14:29 #

HI. I wrote a little script for finding updates for "spells". I think it could be helpful to maintainers of (especially large) grimoires

It checks latest tag version from git repo specified in "SOURCE_URL" and tries go guess if this version is greater than one in "grimoire". Then it displays message containing spell name, current version and "latest" version.

Example output for my personal grimoire:

$ ./update-checker.elv serpentine
mold: 1.3.0 -> 1.4.0
neovim: 0.7.0 -> 0.7.2
luv: 1.43.0-0 -> 1.44.2-0
elvish: 0.18.0 -> 0.19.0-dev
kitty: 0.24.2 -> 0.25.2

I'm not sure if tool like this already exists, but at least didn't find any

Repo: https://gitlab.com/SneakyThunder/baf

Edited 13 Aug, 2022 14:31
Submitted by lee 14 Aug, 2022 03:43 #

Pretty cool license BTW.

;-)

Submitted by SneakyThunder 14 Aug, 2022 08:00 #

Pretty cool license BTW.

;-)

Yeah, I don't see a reason to use something less permissive for a small script

Submitted by esselfe 06 Aug, 2023 16:49 #

Hey I got one too!

It's written in bash and uses curl to fetch HTML listing pages. Currently there are only GNU/Xorg spells, but who knows if this can grow :P

https://github.com/esselfe/verchk

 
Register or login to post a reply.