coreboot-kgpe-d16/util/scripts
Martin Roth 3201e1e68c 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>
2022-05-04 13:12:23 +00:00
..
config
cross-repo-cherrypick util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
decode_spd.sh util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
description.md
dts-to-fmd.sh util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
find-unused-kconfig-symbols.sh util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
gerrit-rebase util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
get_maintainer.pl util: Add SPDX header, replacing boiler plate where applicable 2020-05-11 17:11:59 +00:00
maintainers.go maintainers.go: Work around common mistake in MAINTAINERS 2021-04-14 12:18:58 +00:00
no-fsf-addresses.sh util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
parse-maintainers.pl util: Add SPDX header, replacing boiler plate where applicable 2020-05-11 17:11:59 +00:00
prepare-commit-msg.clang-format
ucode_h_to_bin.sh util: Add SPDX header, replacing boiler plate where applicable 2020-05-11 17:11:59 +00:00
update_submodules util/scripts: Add options to update_submodules 2022-05-04 13:12:23 +00:00