[haiku-development] Re: [haiku-development] Re: HaikuPorts Build - Question on HPKR Embedded Info Message

  • From: "Andrew Lindesay" <apl@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 18 Jun 2020 12:49:27 +1200

name HaikuPorts-BuildPackages
vendor "Haiku Project"
summary "The HaikuPorts/Build-Packages repository"
priority 1
url https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/
architecture $ARCH$

I presume you want this template to be updated to use baseUrl and 
identifier?

Hi Michael and Alex; thanks for coming back and explaining how this works.  Yes 
it would be great if you could add the "baseUrl" (is the expected casing 
"base-url" instead actually?) and replicate the "url" field as "identifier" so 
that it is forward compatible.

Due to deployment issues it is not possible to bootstrap/update the 
buildmasters on the server itself, so this is currently done externally. 
That means the package tools on the server may not be current. Is there 
a specific version the package tools need to have for them to be 
compatible? I can update them as needed.

Looking at the source it seems that the `package_repo` tool parses the provided 
file into a model object and then serializes that to BMessage then to a blob.  
So this means that the existing tooling won't work.  What I will plan to do is 
to adjust the necessary classes to work with the old as well as new file 
format.  You can then transition the tooling and then I can make the final 
adjustments after that.

Regards.

Other related posts:

  • » [haiku-development] Re: [haiku-development] Re: HaikuPorts Build - Question on HPKR Embedded Info Message - Andrew Lindesay