Package Details: qp 4.2.1-1

Git Clone URL: https://aur.archlinux.org/qp.git (read-only, click to copy)
Package Base: qp
Description: qp - Query Packages. A CLI utility for querying installed packages, written in Go.
Upstream URL: https://github.com/Zweih/qp
Keywords: cli filter packages pacman qp query-packages search sort terminal yaylog
Licenses: GPL3
Conflicts: qp-bin, qp-git
Replaces: yaylog, yaylog-bin, yaylog-git
Submitter: Zweih
Maintainer: Zweih
Last Packager: Zweih
Votes: 5
Popularity: 3.99
First Submitted: 2025-04-01 01:22 (UTC)
Last Updated: 2025-04-04 03:53 (UTC)

Pinned Comments

Latest Comments

m040601 commented on 2025-04-01 17:29 (UTC) (edited on 2025-04-01 17:41 (UTC) by m040601)

@Zweih

Very nice work you continue to do polishing this tool and releasing often.

Although I personally dont agree with the name change "qp". It's cute, nice but ...too short. Will clash with something sooner or later. Think about it.

Anyways. I hope this tool gets enough votes on the AUR, to be turned into an official Arch package.

In the mean time, since you release so often, why not write the classical plain text "CHANGELOG" file ? Or instead the more succint and end user oriented plain text "NEWS" file ?

Makes life easier to end users, to keep up offline record highlighting important changes. There are many many tools that can help you as a developer pick up text from git diff to write it for humans. Stuff it in the precompiled tar.gz in github.

Install it on,

/usr/share/doc/qp/NEWS

Zweih commented on 2025-02-17 23:36 (UTC)

@Muflon can do! An update will be pushed out by EOD of 2/18/2025.

Muflone commented on 2025-02-17 22:34 (UTC)

@zweih would you please build this package from sources or it will be deleted as it's a duplicate of yaylog-bin

m040601 commented on 2025-02-09 19:10 (UTC) (edited on 2025-02-09 19:26 (UTC) by m040601)

Thanks for the PKGBUILD. Really nice little tool in Go. I also use yay and like the name "yaylog"

micwoj92 commented on 2025-01-24 00:59 (UTC)
Needs go in makedeps.
... @micwoj92: Nice catch, updated.
21 hours   Update to 3.0.0             Fernando N
- makedepends = go
34   if [[ $(vercmp "$previous_version" "3.0.0") -lt 0 ]]; then
35     echo "==> yaylog has been upgraded to a precompiled binary as of version 3.0.0."
36     echo "==> If you prefer to build from source, please install the yaylog-git package."
37   fi
38 }

That above is a little bit messy.

@zweih

I think you are confusing this "yaylog" PKGBUILD and the "yaylog-bin". And the "yaylog-git".

You need to do as micwoj92 told you.

As of this moment the way you have it, this "yaylog" PKGBUILD isnt building anything from source files. It just goes to github and pulls a released tar.gz containing the precompiled binary and the man page.

That's not the job for this "yaylog" PKGBUILD. That's the job for the "yaylog-bin" PKGBUILD.

The job for this "yaylog" PKGBUILD is to pull a specific release tar.gz containig source code. Not a binary. It then uses go to compile it.

36     echo "==> If you prefer to build from source, please install the yaylog-git package."

No. If you prefer to build from source you choose between "yaylog" or "yaylog-git". Both build from source.

You choose the "yaylog-git" if you want the latest/freshest/riskiest, keeps changing and rebuilding on your computer whenever there is activity on github. You choose the "yaylog" if you want a more stable one. Only rebuilds when there is a "release" on github.

The "yaylog-git" PKGBUILD should be almost exatctly as this "yaylog" PKGBUILD.

The only difference is that you go to github to (git clone) pull the latest fresh source. Instead of downloading a specific tar.gz containing source code.

You also have it wrong there and need to correct, https://aur.archlinux.org/packages/yaylog-git

12 source=("${url}/releases/download/v${pkgver}/yaylog-v${pkgver}.tar.gz")

The source of "XXX-git" PKGBUILDs should be git+https

13 source=("git+https://github.com/XXXXYYYYZZZZ...

Ask for help if you need. Dont forget to check the Arch wiki on AUR/PKGBUILDs/makepkg etc.

Zweih commented on 2025-01-24 01:38 (UTC)

@micwoj92: Nice catch, updated.

micwoj92 commented on 2025-01-24 01:20 (UTC)

makedepends, not depends.

Zweih commented on 2025-01-24 01:16 (UTC)

@micwoj92: Updated.

micwoj92 commented on 2025-01-24 00:59 (UTC)

Needs go in makedeps.