diff options
author | Martin Roth <gaumless@gmail.com> | 2022-01-05 22:54:30 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-05-04 13:12:23 +0000 |
commit | 3201e1e68c6ee7d4012249d34133adfcbff7f427 (patch) | |
tree | 2bbf0bdff89605701f8c2e489c5a6fcefac8d464 /toolchain.inc | |
parent | 623e2b351c80d2086af3e9dbd523dd6e9d06339b (diff) |
util/scripts: Add options to update_submodules
This extends and adds various options to the update_submodules script.
Extensions:
- Add help text
- Add all options, but specifically allow a single repo to be specified,
along with a minimum number of changes instead of being fixed at 10.
- Make it a more formal script with main() and functions
- Show changes in commit message, unless there are > 65 commits.
Options:
-c | --changes <#> Specify the minimum number of changes to update a repo
-h | --help Print usage and exit
-R | --repo <dir> Specify a single repo directory to update
-s | --skipsync Assume that repos are already synced
-V | --version Print the version and exit
This does not fix style issues in the original, which will be fixed in
a follow-on commit.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I222103babff7d5f4f8eb02869c598a4e06748a17
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60831
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'toolchain.inc')
0 files changed, 0 insertions, 0 deletions