[haiku-commits] Re: haiku: hrev50723 - src/tools/get_package_dependencies src/kits/package src/tools/create_repository_config build/jam src

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 09 Dec 2016 23:33:01 +0100

On 12/09/2016 12:56 PM, Jérôme Duval wrote:

Am 09.12.2016 7:03 vorm. schrieb "Adrien Destugues"
<pulkomandy@xxxxxxxxxxxxx <mailto:pulkomandy@xxxxxxxxxxxxx>>:
    So, as far as I know, building with packages not commited to a repo,
    never actually worked, and we already

I did this locally multiple times without problems. One just has to
place packages in download directory and fake the checksum to the
latest.

I'm not sure what checksum you're referring to. Copying to download/ and adjusting the respective repository definition (build/jam/repositories/...) used to be all that was required.

I hope this does still work now, otherwise this would be
disappointing.

TBH, I haven't had the time to analyze what things the commit broke in what situations exactly. But given the change of the interface of get_package_dependencies -- it no longer gets repository files as arguments but only URLs where to download the repository files -- I'm confident that it cannot possibly resolve dependencies to not yet committed packages anymore. Since the HaikuPorts repository URL changes with the contents of the repository it should not even be able to retrieve a repository file at all in this case and thus cause the image build to fail.

CU, Ingo


Other related posts: