Pulling from github as a vendorized dependency in poudriere

Derek (freebsd lists) 482254ac at razorfever.net
Mon Feb 22 12:19:41 UTC 2016


On 16-02-19 08:42 PM, Derek (freebsd lists) wrote:
> On 16-02-19 02:16 PM, Brooks Davis wrote:
>> On Fri, Feb 19, 2016 at 07:13:04AM -0500, Derek (freebsd lists)
>> wrote:
>>> I can provide more detail, but would like to know if I'm doing
>>> something horribly wrong first (i.e. trying to access the network
>>> with gb as a make target, versus some other way to do this).
>>
>> When you run "gb vendor", what stage does that happen in?  IIRC
>> poudriere only configures network access during the fetch stage
>> so you
>> must find a way to run it as part of the fetch process or
>> capture and
>> emulate its result.
>>
> Indeed, I was doing it in the post-extract stage, as there is
> some patching that happens to the pulled-in sources from there,
> and the vendor information is extracted from the tarball.
>
> I see now, poudriere wants "no network", as you mention:
>
> https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/design.mkd
>

I've submitted a patch to doc:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207416

Additionally, I was able to pull in my depends via:

5.4.3.1. Fetching Multiple Files from GitHub
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html#idp63641808

So it wasn't so bad.

Dunno what it would look like if my depends were in a few 
different places though.

Thanks all!
Derek



More information about the freebsd-ports mailing list