Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2021 18:07:42 -0800
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        freebsd-ports@freebsd.org
Subject:   Running php-composer as part of a build process
Message-ID:  <b8168e1a-4c10-ba7b-800a-f2aa4e80a333@bluerosetech.com>

next in thread | raw e-mail | index | archive | help
I'm porting a PHP application that uses composer[1] to download and 
manage what effectively becomes locally-bundled contrib.

Doing this during the build process isn't an option because it creates a 
nightmare of licensing and version management. Also, composer needs 
internet access and can be configured to do other things, like code 
compliance and unit tests.

Can I run something like composer from the post-install target?  Is it 
reasonable to assume internet access is available during port/pkg install?

1: https://getcomposer.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b8168e1a-4c10-ba7b-800a-f2aa4e80a333>