Package Details: icingaweb2-git 2.8.0.r23.ge5af1684a-1

Git Clone URL: (read-only, click to copy)
Package Base: icingaweb2-git
Description: Icinga Web 2 Interface
Upstream URL:
Licenses: GPL
Conflicts: icingaweb2
Provides: icingaweb2
Submitter: Zearan
Maintainer: julianbrost
Last Packager: julianbrost
Votes: 2
Popularity: 0.000000
First Submitted: 2015-05-29 09:37
Last Updated: 2020-08-19 10:23

Dependencies (5)

Required by (6)

Sources (1)

Latest Comments

wuestengecko commented on 2019-01-24 23:10

According to the Wiki, "the developer should get the release version somehow e.g. by parsing the project files" - this can be done easily by reading the VERSION file and checking when it was last changed:

diff --git a/PKGBUILD b/PKGBUILD
index fa301ef..2bbb118 100644
@@ -21,7 +21,8 @@ sha256sums=('SKIP')

 pkgver() {
   cd "$_pkgname"
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  local ver_commit="$(git blame --porcelain VERSION | head -c 40)"
+  printf "%s.r%s.%s" "$(sed 's/^v//' < VERSION)" "$(git rev-list --count $ver_commit..HEAD)" "$(git rev-parse --short HEAD)"

 package() {