netutils/xedge: refactor Makefile to use git clone instead of zip dow… - #3148
Conversation
…nloads Previous zip-based approach was failing in CI environment. Changed to use git clone with specific commit hashes to resolve CI build issues. Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
|
@JorgeGzm but why not download zip doesn't work? you should fix this problem instead switching to git clone. |
To fix the problem, it was necessary to install the zip package through the apt install command in the CI. However, I couldn't understand why the LVGL package doesn't need the same treatment, since it also downloads a zip file from GitHub and then extracts it. I set up the CI environment via Docker on my machine to test as you suggested, but the linum-stm32h753bi:lvgl example (which downloads the LVGL zip file) compiles without issues, while qemu-armv8a:xedge_demo (which downloads from xedge) doesn't compile. If it were a zip package dependency, it should be installed and available for both to use, don't you agree? I believe the rules for modifying the CI are much more restrictive than the packages I'm trying to submit. Therefore, I chose to follow the same approach that the wolfssl package uses, which is to download the git repository directly. |
|
Ok |
Summary
This PR adds the Xedge application to NuttX-Apps, refactoring the Makefile to use git clone instead of zip downloads to resolve CI build failures. Xedge provides a lightweight edge computing platform based on the BAS (Barracuda Application Server) framework, enabling IoT applications and web server capabilities on embedded NuttX systems.
The build system now uses git clone with specific commit hashes for reproducible builds and improved CI compatibility.pendencies, similar problems and solutions), etc.
Impact
Changes Makefile to use git clone instead of zip downloads.
Testing
This NuttX-Apps PR depends on the core example created in NuttX PR #16665 which is still under review.
Tested using the official NuttX CI Docker environment: