Guessica
August 21, 2024 · View on GitHub
Update a PKGBUILD file by guessing the latest version number and finding the latest git tag and hash online.
This utility is a bit experimental and needs a version 2 that can improve the detection and hash sum generation. Perhaps by using LLMs.
Installation (development version)
go get -u github.com/xyproto/guessica/cmd/guessica
Usage
Detect the latest version
guessica PKGBUILD
Detect the latest version and write the changes back to the PKGBUILD
guessica -i PKGBUILD
Note
The pkgver and source arrays will be guessed by searching the project webpage as defined by the url. For for projects on GitHub, github.com may also be visited.
General info
- Version: 1.1.2
- License: BSD-3
- Author: Alexander F. Rødseth <xyproto@archlinux.org>