Package Details: monitorix-git 3.10.0.r48.gf260e1c-1

Git Clone URL: https://aur.archlinux.org/monitorix-git.git (read-only, click to copy)
Package Base: monitorix-git
Description: A lightweight system monitoring tool that uses rrd databases.
Upstream URL: http://www.monitorix.org
Licenses: GPLv2
Conflicts: monitorix
Replaces: monitorix
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 0
Popularity: 0.000000
First Submitted: 2016-10-05 18:34
Last Updated: 2018-05-02 20:32

Dependencies (19)

Required by (0)

Sources (1)

Latest Comments

kyak commented on 2018-05-04 17:44

@graysky: thanks! It works as expected now.

graysky commented on 2018-05-02 20:32

@kyak - updated for you AUR helper junkies

kyak commented on 2018-05-02 14:09

@Wild_Penguin: AUR ate my escapes, thanks for noticing :)

Wild_Penguin commented on 2018-05-02 12:57

I second kyaks idea. Current Monitorix has a few annoying bugs and I too, use AUR helpers (specifically because I use several PKGBUILDS from AUR).

This example should work and is more in line with VCS package guidelines (which are not official AFAIK nor binding):

git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

see: https://wiki.archlinux.org/index.php/VCS_package_guidelines

(Btw. seems this commenting system removes \ before ( or ) !)

Thanks for your work in any case!

kyak commented on 2018-03-25 04:19

The root cause of the problem is that you are using

git describe --always | sed 's|-|.|g'

to report package version. This returns something like f260e1c, and pacaur gets confused when checking if this git package version has increased or not.

If you were using something like

git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g'

which returns v3.10.0.r48.gf260e1c, then it would make pacaur happy.

Is it possible that you change it in PKGBUILD?

graysky commented on 2018-03-22 18:18

I don't use AUR helpers so no idea. By definition a VCS package like *-git will update very frequently.

kyak commented on 2018-03-22 16:58

@graysky - I'm bound to using monitorix git version for a while. Is it expected that pacaur reports monitorix-git package as outdated every time and tries to install it? I don't see this behaviour with other *-git packages.