Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xyproto/guessica

:chopsticks: Update a PKGBUILD file by guessing the latest version number and finding the latest git tag and hash online
https://github.com/xyproto/guessica

guess pkgbuild utility

Last synced: about 1 month ago
JSON representation

:chopsticks: Update a PKGBUILD file by guessing the latest version number and finding the latest git tag and hash online

Awesome Lists containing this project

README

        

# Guessica

![Build](https://github.com/xyproto/guessica/workflows/Build/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/xyproto/guessica)](https://goreportcard.com/report/github.com/xyproto/guessica) [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/xyproto/guessica/master/LICENSE)

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.

![logo](img/guessica.svg)

## 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 <[email protected]>

## Stargazers over time

[![Stargazers over time](https://starchart.cc/xyproto/guessica.svg)](https://starchart.cc/xyproto/guessica)