Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimus-manager is always updated in AUR even when it shouldn't with "yay" #29

Closed
NerosTie opened this issue Dec 8, 2018 · 3 comments
Closed

Comments

@NerosTie
Copy link

NerosTie commented Dec 8, 2018

The packages manager "yay" (command: yay -Syu --devel) always see a commit and it tries to update it even if there is no commit.

It's probably a mistake in the PKGBUILD see here: Jguer/yay#691

(Same message posted on AUR, if someone know how to fix that)

@Askannz
Copy link
Owner

Askannz commented Dec 9, 2018

If I understand correctly, this command is supposed to pull the latest master from git, ignoring the tags each release is pinned to ?

If it doesn't work, then honestly I don't know how to fix it. The PKGBUILD syntax looks correct, so this may be a bug in yay.

@NerosTie
Copy link
Author

NerosTie commented Dec 9, 2018

I have many packages using git as a source installed from AUR and optimus-manager is the only one with this issue. So I don't think it's a bug with yay.

This command is supposed to update a package if there is a new commit in the case it's a "pckgname-git" in AUR or if there is a new release for a "pckgname" package. If not, do nothing.

I think you want optimus-manager to be updated only if there is a new release.
But here, the package is reinstalled every time.

I think the source should be something like this:

source=("https://github.com/Askannz/optimus-manager/archive/v$pkgver.tar.gz")

@NerosTie
Copy link
Author

It looks like it's fixed, I don't even know why 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants