submodule_roller: Separate submodule path and name

Allow specifying separate submodule paths and names.

The .gitmodules file for the open-dice repository has names of
submodules that don't match the paths of those submodules. These were
created with 'git submodule add --name $NAME $URL $PATH'.

https://pigweed.googlesource.com/open-dice/+/c6463a55859b753193448b03c326e2c65d683ae6/.gitmodules

Change-Id: I6fbf8296ffbb02a774b00d011d506d76ac9efaf4
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/37326
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
2 files changed
tree: 990ca708b2054f960e79a583b83525975cf4dce1
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. recipes.py