Documentation ¶
Overview ¶
Package guessica provides a way to guess the latest source URL for a PKGBUILD
Index ¶
Constants ¶
const VersionString = "Guessica 1.1.2"
VersionString contains the name and current version of Guessica
Variables ¶
var SpecificSites = []string{"github.com", "gitlab.com", "sr.ht"}
SpecificSites adds extra support for examining specific URLs at certain git repository sites
Functions ¶
func GuessSourceString ¶
GuessSourceString is the function that is meant to be used from this source file It takes the contents of a PKGBUILD file and returns a new "source=" string. The new version number is guessed after looking online for a newer source. The git commit is included in the "source=" string, if possible. Returns the new pkgver and the new source. commonGitServer is often set to ie. "github.com"
func UpdateFile ¶ added in v1.1.0
UpdateFile will try to update the version in a given PKGBUILD filename
Types ¶
This section is empty.