Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature to update a package whenever there is a change in pkgver in it's PKGBUILD, regardless of whether it is numerically smaller than local. #2565

Open
chigenwings opened this issue Jan 10, 2025 · 0 comments
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@chigenwings
Copy link

chigenwings commented Jan 10, 2025

Is your feature request related to a problem? Please describe.

Yay refuses to update packages when pkgver is numerically lower than the installed version, which is problematic when pkgver represents a commit hash.

For instance zen-twilight-bin won't update sometimes
-> zen-twilight-bin: local (859ff6c-1) is newer than AUR (24fec75-1)

Describe the solution you'd like

Provide with a feature to update certain packages when pkgver changes in the PKGBUILD, even when the new version is numerically lower than the installed one.

For example yay --always-update=zen-twilight-bin --save, which would ignore the version number and update zen-twilight-bin if the pkgver in AUR is different than local.

Describe alternatives you've considered

A temporary workaround is to reinstall the package manually.

@chigenwings chigenwings added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Jan 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant