ddk_bootstrap: Split --local and --kleaf_repo flags.

* After this change `--local` indicates whether to fetch or not the
  build dependencies, whereas `kleaf_repo` inidicates where to place
  these dependencies when downloaded given a --build_id or --branch or
  where to locate them otherwise.

* Additionally the script arguments are now sorted in lexicographical
  order.

* This also makes the init_ddk script execution verbose, as the outputs
  from the script are useful for determining what is happening.

Tested: python3 init.py  --local --kleaf_repo=/abs/path/to/kleaf
Bug: 328770706
Change-Id: I9f853e9d23480b37dc85a8ac444ba81d1f53c33b
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
2 files changed
tree: 5e88fe5b887fb6b36a55ba4917c4959ddf2a113b
  1. .gitignore
  2. CONTRIBUTING.md
  3. init.py
  4. init_test.py
  5. LICENSE
  6. METADATA
  7. MODULE_LICENSE_APACHE2
  8. OWNERS
  9. README.md
README.md

Bootstrapping DDKv2

This project contains code to bootstrap DDKv2 development.