Package Details: tmux-plugin-manager 3.1.0-1

Git Clone URL: https://aur.archlinux.org/tmux-plugin-manager.git (read-only, click to copy)
Package Base: tmux-plugin-manager
Description: tpm - Tmux Plugin Manager
Upstream URL: https://github.com/tmux-plugins/tpm
Keywords: manager plugin tmux tpm
Licenses: MIT
Submitter: rarick
Maintainer: rarick
Last Packager: rarick
Votes: 12
Popularity: 0.84
First Submitted: 2021-06-25 22:09 (UTC)
Last Updated: 2023-01-17 00:44 (UTC)

Latest Comments

rarick commented on 2023-01-17 00:45 (UTC)

Thanks @FranklinYu, done.

FranklinYu commented on 2023-01-14 02:15 (UTC)

Hi Tyler, I would recommend to keep the version without the v prefix. It seems more common among the official Arch packages.

rarick commented on 2023-01-11 19:45 (UTC)

Updated to v3.1.0. Removed automatic pkgver generation now that tags are once again being used in the upstream repo. Removed -git suffix from pkgname.

Note: It appears the upstream repo may actually be using tags again (after 8 years of not using them!), so the version will now be tied to the latest tag.

rarick commented on 2022-06-24 20:59 (UTC) (edited on 2022-08-02 19:23 (UTC) by rarick)

Hey @Anagastes, I looked into this, and the issue is just that pkgver is a required field in PKGBUILD. This field is set when uploaded, and doesn't auto-update after the fact. So yay detects drift between when the pkgver was set on my repo upload and the freshest commit from github at install-time.

The fix you suggested wouldn't solve this problem (I did give it a try!), so I won't be applying it. But thanks for raising awareness of this issue, I'll just have to push to the repo a couple times a year!

rarick commented on 2022-06-24 20:56 (UTC)

Hey @alex19EP, I wish I had known about the -git suffix before making this. But now that this is already made (and the userbase is so small), I think it's more hassle to the users if I were to make a second repo just to fix the -git suffix. I don't see a way to deprecate, so just doing to leave it up.

I've adopted namcap though for any future works, thanks for your suggestion!

Anagastes commented on 2022-01-18 10:18 (UTC) (edited on 2022-01-18 10:50 (UTC) by Anagastes)

Hi, the package reports continuously in an AUR helper this, no matter what version.

tmux-plugin-manager : local (v3.0.0.r69.gb699a7e-1) is newer than the AUR (v3.0.0.r60.g2afeff1-1)

Would it be possible to set the package here so that the version also fits? So you don't get to know if there is an update.

instead of this.

pkgver() {
  cd $_repo
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

it would probably be better to do it like this

pkgver() {
    cd $_repo
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

This way the version is always coupled and you don't get a message. Also the package can be reported as "outdated" if it is too far away from the master branch. :)

alex19EP commented on 2021-08-10 10:54 (UTC)

hello @rarick package builds from master, so should have -git suffix. master is a default branch, so #branch=master isn't needed.

I recommend to use namcap for pkgbuild and package linting.