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

AUR package does not update automatically #35

Open
stewi1014 opened this issue Mar 28, 2022 · 2 comments
Open

AUR package does not update automatically #35

stewi1014 opened this issue Mar 28, 2022 · 2 comments

Comments

@stewi1014
Copy link
Contributor

The AUR package I created works properly and follows guidelines, but I wanted to start a discussion on bumping its pkgver (make AUR helpers update it automatically). Currently the package builds from the latest commit and installs, and never updates without the user explicitly re-installing it.

There's some interesting discussion here;
https://wiki.archlinux.org/title/Talk:VCS_package_guidelines#Guidelines_on_updating_version_numbers
https://wiki.archlinux.org/title/Talk:VCS_package_guidelines#Warn_against_trivial_pkgver_bumps

Notably there doesn't seem to be much consensus on how packagers should handle this. I think the arguments against mostly focus on avoiding bumping it on every commit, which is fair. Bumping on new releases seems more common, and IMHO, a reasonable path to take to make it explicit to the user that it's worth updating.

My proposal would be to implement a pipeline to update the pkgver on the creation of new releases. I can implement this.

What are people's thoughts on this and what do we do for the other packages? Other options are adding a second non '-git' package that follows releases, or leaving it as is and letting updates be the responsibility of users.

@stewi1014
Copy link
Contributor Author

stewi1014 commented Oct 21, 2022

@kernc I think I will attempt to create an 'xsuspender' or 'xsuspender-bin' package and have it update through a pipeline.

I'll fork the repo and experiment with github ci and get back to you with what I find.

@kernc
Copy link
Owner

kernc commented Oct 21, 2022

I'm not familiar with Arch or AUR, but bumping packages on tagged releases (as long as they are prompt and proper 😅) sounds perfectly reasonable. Thanks!

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