Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bypass git dependency in build #1664
It is possible for the firmware to build correctly without having
The branch check forces a dependency on Git and spews error messages in its absence. The false positive error messages obfuscate true errors and warnings, which make it harder for a developer to monitor and catch warnings and errors.
Gate the logic in
Steps to Test
Build the firmware
Git is and will always be an important part of our workflow, but "compiling the code" is a separate task from "acquiring the code" and this change will allow us to better separate our concerns.
An immediate benefit that can be realized by separating concerns is the ability to minimize the space requirements of a container housing the build dependencies (which so happens to be the motivation for this PR).
First, we will perform a simple check to see if
The reasoning behind this approach is as follows: