Re: [alpine-devel] checkdepends and bootstrapping new releases
On Sat, Apr 29, 2017 at 7:20 AM, Natanael Copa <ncopa_at_alpinelinux.org> wrote:
> I think we have an issue with checkdepends in APKBUILDs. The problem is
> that lua-aports does not pull in the the checkdepends as build time
> dependency while calculating the build order.
> We have 2 alternatives:
> - always pull in the checkdepends.
> This will make sure that the checkdepends are always built before the
> package needing it. But this also means that we need to make sure
> that we don't introduce any circular dependencies via checkdepends.
> - bootstrap new releases without running tests. By building the repo
> without any tests on the first run will allow us to have circular
> dependencies, but then we will not run any tests for our stable
> release (only updates will get the testing), or do we want rebuild all
> the package which checkdepends?
I think we should prefer bootstrapping without tests.
The reason why is that the tests may fail *anyway* under bootstrapping
conditions (due to cross compiling, etc).
So tests should probably just be run when we're not bootstrapping.
Received on Sat Apr 29 2017 - 16:51:52 GMT