[aur-general] When should pkgrel be updated?

Denis A. Altoé Falqueto denisfalqueto at gmail.com
Fri Apr 1 11:21:54 EDT 2011


On Fri, Apr 1, 2011 at 4:12 AM, Ray Rashif <schiv at archlinux.org> wrote:
> On 1 April 2011 08:12, Oon-Ee Ng <ngoonee.talk at gmail.com> wrote:
>> I've seen (in the past) various packages on the AUR which jumped by 3
>> or 4 pkgrels in a very short period of time. Sometimes it happens like
>> this:-
>>
>> 1. Maintainer changes something and breaks the package with pkgrel=2
>> 2. Bug reported on comments. Maintainer reverts changand makes pkgrel=3
>
> It's really very simple - you only need to remember this:
>
> Whenever the resulting binary changes (in an important way) for the
> user, you bump pkgrel.
>
> Examples:
>
> * Changing pkgdesc -> do NOT bump (unless it's severely wrong or something)
>
> * Changing deps -> bump
>
> * Changing makedeps -> do NOT bump, ever
>
> * Changing optdeps -> do NOT bump (unless very important functionality provided)
>
> * Changing build stuff (i.e changing PKGBUILD but no change to
> resulting binary) -> do NOT bump

Are you sure about that? I would bump pkgrel in all your examples,
except the first. Even though they may not change the resulting
binary, they change how they are built. I always thought of pkgrel as
a way to differentiate between versions of PKGBUILDs.

-- 
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

-------------------------------------------
Denis A. Altoe Falqueto
Linux user #524555
-------------------------------------------


More information about the aur-general mailing list