Re: Conventional method of producing -git packages

2022-12-06 Thread j.r
Hi, at least yay [1] has a feature which does exactly this. It fetches the upstream repos of VCS packages when it's told to look for updates and then also suggests updating the VCS packages, if there are new commits upstream since the last rebuild. Glad to help j.r [1] https://github.com/Jguer/y

Re: Conventional method of producing -git packages

2022-12-06 Thread Polarian
Hello, I made a suggestion to another arch user which I believe breaks the rules of the AUR, but I do not see why there can't be an addition to the AUR to specify if the package is a git package, and if so it fetches the latest commit hash of the package every x hours and dynamically bumps it

Re: Conventional method of producing -git packages

2022-12-06 Thread Kusoneko
AUR helpers are generally considered unsupported, however some of them provide a configuration option to rebuild VCS packages every x days, which solves this specific issue.

Re: Conventional method of producing -git packages

2022-12-06 Thread Polarian
Hello, So if you are building against static/specific commits, you should bump the package version every commit, however say if it is an aur package to just build the latest code in the master branch, you just let it roll and do not bump the version, correct? This brings up one question, a l

Conventional method of producing -git packages

2022-12-06 Thread Kusoneko
Hello, there is actually a wiki page covering exactly that at this link: https://wiki.archlinux.org/title/VCS_package_guidelines

Re: Conventional method of producing -git packages

2022-12-06 Thread Ralf Mardorf
Hi, to my knowledge, if it's for an explicit branch, that doesn't change, you bump pkgrel, to build against updated dependencies. If you provide a package building the last commit, you usually don't do anything. If a user does build the package, pkgver does change automatically. It's an annoyance

Re: Conventional method of producing -git packages

2022-12-06 Thread Evert Vorster
If you are building a package that tracks the master branch of git, you want to build the latest version of it. You could also track various branches or tags in the package as well. In each case, the assumption is that you would want to build the latest commit in that branch. This is mostly usefu

Re: Conventional method of producing -git packages

2022-12-06 Thread Doug Newgard
On Tue, 6 Dec 2022 13:34:05 + Polarian wrote: > Hello, > > I am pretty new to the AUR, however I have read through the arch wiki > and this question is not really referenced there. > > I have seen some -git packages which update the package on each new > commit to master, which is what I

Conventional method of producing -git packages

2022-12-06 Thread Polarian
Hello, I am pretty new to the AUR, however I have read through the arch wiki and this question is not really referenced there. I have seen some -git packages which update the package on each new commit to master, which is what I thought -git packages should aim to do, however I have seen oth