Package Details: wakatime 2.26.0-1

Git Clone URL: https://aur.archlinux.org/wakatime.git (read-only, click to copy)
Package Base: wakatime
Description: Command line interface used by all WakaTime text editor plugins
Upstream URL: https://github.com/wakatime/wakatime-cli
Licenses: BSD-3-Clause
Submitter: arojas
Maintainer: Glucy2
Last Packager: Glucy2
Votes: 4
Popularity: 0.190255
First Submitted: 2026-04-06 19:25 (UTC)
Last Updated: 2026-09-03 09:59 (UTC)

Latest Comments

saveman71 commented on 2026-08-24 07:02 (UTC)

Hello!

The epoch part ("1:") of the version was dropped in the 2.9.1 bump (2026-04-30), so anyone still on 1:1.60.4-2 gets no updates because now the new versions reads as older:

$ vercmp '1:1.60.4-2' '2.24.4-1' 1

I was able to "upgrade" with an explicit -S, and it shows "downgrading package wakatime (1:1.60.4-2 => 2.24.4-1)".

That has been the case for four months of releases (2.9.1 through 2.24.4) and users on the old version are stuck on a wakatime-cli that predates --sync-ai-activity, so recent editor and agent plugins fail on every heartbeat.

A fix would be to restore the epoch: 2:2.24.4-1

Thanks!

marmis commented on 2026-07-01 04:07 (UTC) (edited on 2026-07-09 22:43 (UTC) by marmis)

Hi, could you please add support for debug packages as per the Go package guidelines? Also, stripping with makepkg leads to smaller binaries than with -trimpath.

According to my tests, the following changes are enough. Thanks!

improve-debug-package.patch
diff --git a/PKGBUILD b/PKGBUILD
index 49f26eb..cb062e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,13 +42,13 @@ build() {
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
+  export GOPATH="${srcdir}"

   go build -o build/$pkgname \
-    -trimpath \
     -buildmode=pie \
     -mod=readonly \
     -modcacherw \
-    -ldflags "-linkmode external -extldflags '${LDFLAGS}' -X '${_repo}/pkg/version.OS=linux' -X '${_repo}/pkg/version.Arch=amd64' -X '${_repo}/pkg/version.BuildDate=${_date}' -X '${_repo}/pkg/version.Commit=${_commit}' -X '${_repo}/pkg/version.Version=${pkgver}'"
+    -ldflags "-compressdwarf=false -linkmode external -extldflags '${LDFLAGS}' -X '${_repo}/pkg/version.OS=linux' -X '${_repo}/pkg/version.Arch=amd64' -X '${_repo}/pkg/version.BuildDate=${_date}' -X '${_repo}/pkg/version.Commit=${_commit}' -X '${_repo}/pkg/version.Version=${pkgver}'"
 }

 package() {

Kamack38 commented on 2026-04-20 17:50 (UTC)

This package is also missing download links for other architectures.

Xerxes_2 commented on 2026-04-17 04:50 (UTC) (edited on 2026-04-17 06:17 (UTC) by Xerxes_2)

https://github.com/wakatime/wakatime-cli/releases/tag/v2.3.1

Newest version is 2.3.1