Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2019 15:32:39 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        John Kennedy <warlock@phouka.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: "poudriere testport" to download binary depends
Message-ID:  <0bca6948-4d70-91d1-8599-b6b3b9714e48@FreeBSD.org>
In-Reply-To: <20191021135907.GA6587@phouka1.phouka.net>
References:  <a43bb211-c43f-5781-667f-c6737279d9ab@gmail.com> <03bfeabb-69eb-8f51-2ff0-e16f880fe2be@FreeBSD.org> <20191021135907.GA6587@phouka1.phouka.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/10/2019 14:59, John Kennedy wrote:
> On Mon, Oct 21, 2019 at 01:59:17PM +0100, Matthew Seaman wrote:
>> On 21/10/2019 13:31, Sergei Vyshenski wrote:
>>> Is it possible to instruct "poudriere testport" such
>>> that it downloads depends (in a form of binary packages) from the
>>> central repository,
>>> and actually tests only the port in question?
>>
>> Currently, no this is not available.  Using another repo to seed the
>> repo you're building test packages in is something that has been talked
>> about, but not implemented yet.  I get the feeling that it's trickier
>> than it at first seems.
> 
>    For my current one-offs, I pull down ports via git, have a local branch
> where my changes are (refreshing by merging from "master" in my case), and
> then have poudriere base ports off my branch.
> 

That's great, but it's not what the OP was asking about.  If you do a 
'poudriere testport' then you will ultimately end up having built all of 
the packages in the dependency tree at least once, which can take a long 
time and a lot of system resources.  You'll see this effect even on your 
local branch.

Usually if you're working on a port you'll end up rebuilding it 
repeatedly, and the second and subsequent times it's quite likely that 
all of the dependencies will already have been built, so additional 
'poudriere testport' runs will only re-build your port of interest. 
Much quicker.

Which is fine, until you start working on a different port with a 
different dependency tree and a whole new list of dependency packages to 
build...

	Cheers,

	Matthew





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0bca6948-4d70-91d1-8599-b6b3b9714e48>