[aur-general] Questions from a new TU

Allan McRae allan at archlinux.org
Sun Apr 12 05:16:14 EDT 2009


Xyne wrote:
>>> 3) Is there any way to avoid re-uploading a package when changing the
>>> PKGBUILD if the changes have no effect on the built package (e.g.
>>> appending packages to the depends array)?
>>>   
>>>       
>> Adding more depends does alter the package...   But you can always alter 
>> the package in cvs and just do "cvs commit" for things that _really_ do 
>> not alter the package.
>>
>> Allan
>>     
>
>
> Thanks for the reply.
>
> Will a cvs commit without a binary upload (e.g. when adding a package
> to the depends array) result in a new binary package in the repo with
> the correct information? Formulated another way, does the upload server
> create a new .PKGINFO file and replace the old one while keeping the
> installable package files?
>   

The .PKGINFO file is created by makepkg and compressed inside the 
package.  When you upload a package to the server, this file is 
extracted and an entry is made for the pacman database using this 
information.  So any change that alters the .PKGINFO file or any 
installed files requires a new binary upload.  Have a look at a PKGINFO 
file and note there are very few things that you can change without 
uploading a new package.

Allan





More information about the aur-general mailing list