Package Details: exiftool-rs-git 0.1.0-1

Git Clone URL: https://aur.archlinux.org/exiftool-rs-git.git (read-only, click to copy)
Package Base: exiftool-rs-git
Description: Image metadata scrubber written in Rust.
Upstream URL: https://github.com/jae1911/exiftool-rs
Keywords: exif metadata rust
Licenses: MIT
Submitter: jae
Maintainer: jae
Last Packager: jae
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-16 01:28 (UTC)
Last Updated: 2022-04-16 01:32 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

d3m3vilurr commented on 2024-05-09 07:43 (UTC)

pkgver function of PKGBUILD makes wrong version.

here is simple patch.

From 818df8753009b3258a5b80c08f9a5ae8c86abe37 Mon Sep 17 00:00:00 2001
From: Sunguk Lee <d3m3vilurr@gmail.com>
Date: Thu, 9 May 2024 16:36:21 +0900
Subject: [PATCH] Fix invalid pkgver generation

after the patch a verison could be `0.1.0.r4.g2c130d9-1`
---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 2451f77..5e78b03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ sha512sums=('SKIP')
 pkgver() {
     cd "${srcdir}/${_pkgname}"

-    echo r$(git rev-list --all --count).g$(git rev-parse --short HEAD)
+    echo $(git describe --tags --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
 }

 package() {
--
2.45.0

AskrKenneth commented on 2023-10-24 09:31 (UTC)

exiftool-rs works fine. I have an issue with updates using yay. When I execute 'yay -Su', I get 'aur/exiftool-rs-git r57.g2c130d9-1 -> 0.1.0-1'. But when I launch the update, I get: exiftool-rs-git r57.g2c130d9-1 r57.g2c130d9-1 0,00 MiB The old and the new version are the same. For yay it's a mere reinstall. If I execute 'yay -Su', he proposes the update 'r57.g2c130d9-1 -> 0.1.0-1' again... Completing the full circle.