
On Sun, 2022-10-23 at 21:32 +0000, c.buhtz@posteo.jp wrote:
Why there are 4 BIT packages on one distro? I don't get it.
And is AUR the official Arch distro or "just" the community repo of that distro?
$ yay -Ss backintime aur/backintime-git 1.3.1.r1.ge1ae23dd-2 (+27 0.01) Simple backup/snapshot system inspired by Flyback and TimeVault. Qt5 GUI version. aur/backintime-cli-git 1.3.1.r1.ge1ae23dd-2 (+27 0.01) Simple backup/snapshot system inspired by Flyback and TimeVault. CLI version. aur/ba ckintime-cli 1.3.2-2 (+287 1.81) Simple backup system inspired from the Flyback Project and TimeVault. CLI version. aur/backintime 1.3.2-2 (+287 1.81) Simple backup system inspired from the Flyback Project and TimeVault. QT5 GUI version. Like in every distro there are always many more or less "official" repos to install packages and AUR seems to be the main "community" repo for additional software: https://wiki.archlinux.org/title/Official_repositories
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=backintime-git
I'm not sure about all details. But it seems to me that this script does build an arch package with version "1.3.1.r1.ge1ae23dd" in it's name but use the current upstream master for that. This is a bug on Arch side.
This irritated me too. The version in the display name is not used to pull from Git, this in determined by the "source" entry in PKGBUILD and this does not use a version or tag here, only the $_pkgname and $url vars to build the URL to the source code: _pkgname=backintime pkgname=($_pkgname-git $_pkgname-cli-git) pkgver=1.3.1.r1.ge1ae23dd pkgrel=2 url="https://github.com/bit-team/backintime" ... source=($_pkgname::git+$url.git) "man PKGBUILD 5" tells more about the source URL in the section "USING VCS SOURCES"...
It seems to me that the distro maintainer did something wrong in that build script. It is not our responsibility.
From a formal point of view this may be correct, as developer I am happy to get early feed-back as soon as possible to fix bugs timely.