[aur-general] Automatic package version

Eli Schwartz eschwartz at archlinux.org
Fri Oct 26 18:41:37 UTC 2018


On 10/26/18 2:33 PM, Shay Gover via aur-general wrote:
> That's from outside the PKGBUILD. I already did that when I uploaded the
> package a month ago. But since then the package was updated. It's not
> automatic versioning if I need to update SRCINFO every time.

You what now? Why do you need to update the .SRCINFO at all? The
PKGBUILD is not updated in the AUR, therefore the .SRCINFO is not
updated in the AUR either.

.SRCINFO is not used by makepkg at all, in any way, shape or form, so
there's simply nothing to discuss about that.

This is simply how git packages work. Stop trying to automatically
version it, because there's no such thing as automatic versioning.

There is only automatic updating.

>> On 10/26/18 2:07 PM, Shay Gover via aur-general wrote:
>>>> First thing coming to mind: Did you possibly forget to update the
>> .SRCINFO
>>>> file?
>>>
>>> Hoe do I update it from the PKGBUILD itself?
>>
>> The PKGBUILD format is by definition separate from the .SRCINFO, you
>> don't update it automatically by the PKGBUILD.
>>
>> You update it separately. The general process is described here:
>>
>> https://wiki.archlinux.org/index.php/Arch_User_Repository#Uploading_packages
>>
>> The "aurpublish" package available in the community repositories can do
>> this for you.
>>
>>
>> OK. But I'll still need to create a local script that will do that, right?

aurpublish *is* a local script to do that.

...

I'm still rather unclear on what your goal is.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20181026/d8530ff5/attachment.asc>


More information about the aur-general mailing list