-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable upgrading only specified repos
Reimplement support for `newt upgrade <repo1> <repo2>...`. Not specifying repos upgrades everything; specifying repos update only the ones given, without upgrading/installing its dependencies, etc. This should allow advanced users to install only what is required, eg. if developing an app for nrf52x one could simply run: `newt upgrade --depth=1 apache-mynewt-core apache-mynewt-nimble nordic-nrfx` This is also useful for CI, eg, for MCUboot it's possible to use MCUboot as the root project and run: `newt upgrade --depth=1 apache-mynewt-core nordic-nrfx mbedtls` And this brings down the complete download from 1GB to just around 250MB. Signed-off-by: Fabio Utzig <utzig@apache.org>
- Loading branch information
Showing
5 changed files
with
74 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters