-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support building with non-git repositories #95
Conversation
Okay - I got a little caught out during testing while attempting to repro my failures in different scenarios, so I ended up writing a testing harness to get some repeatable results. I'm extremely confident this change behaves in the way we expect it to, and I'm happy to perform testing in other scenarios, if desired. Testing scenariosbuilding with `IDF_PATH` pointing to a non-git directory using current `embuild`/`esp-idf-sys` fails (testing current issue)
building with `IDF_PATH` pointing to a non-git directory with updated `embuild`/`esp-idf-sys` passes (testing fix)
building with `IDF_PATH` pointing to git directory with updated `embuild`/`esp-idf-sys` passes (testing no regression)
building with `IDF_PATH` unset with updated `embuild`/`esp-idf-sys` passes (testing no regression)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the PR is super-short and very clean, so I would like to apply it.
The one thing I'm struggling with is this external idf_path
which might be passed from the outside, which kind of dillutes the semantics of EspIdf::from_env
.
As in the other PR - can you elaborate why it is necessary, specifically in the context of using ESP IDF as a non-GIT repo?
Thank you for your patience! |
This is a repackaging of the work originally done in #80 and #82.
This allows
embuild
to build non-git source repositories. This work will allow dependencies (such wasesp-idf
) to be provided by sources other thanembuild
that may not include the surroundinggit
repo, such as the Nix package manager.Reasonable testing has been completed in the comment below.
Closes #80
Closes #81
Closes #82