Hi, Le 17/02/2016 23:11, Jozef Riha a écrit : > hello, > > this might not be a perfect place to propose new things to pkgbuild but > otoh it does affect pkgbuild and does make sense for aur packages. my point > is: at the moment the only way that the aur maintainers learn about > upstream version bump is either by a user notification system (flags on > aur) or some external (rss for instance) checks. this may work to some > extent but wouldn't it be nice if the checking function would be the part > of the pkgbuild (a new function alongside prepare(), build(), package()..) > and this function would be invoked by an aur wrapper such as yaourt? > > the implementation probably would not be trivial due to security concerns > but in the end, maybe having a possibility to process an html page with a > regex or read rss would be a good start.
They are already packages doing this sort of things (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=firefox-nightly-fr), but I don’t think it’s a good idea in general. As you said, they are already notification for packages updates from upstream, auto-updating PKGBUILD has a lot of issues (among them, security indeed, but also it goes against KISS for me).
signature.asc
Description: OpenPGP digital signature
