Speed up VOB tag lookups in update_from_remote.
Review Request #15150 — Created July 3, 2026 and submitted
ClearCaseRepositoryInfo.update_from_remoteresolved local VOB tags by
running "cleartool lsvob -s -family <uuid> -region <region>" once for
every combination of configured VOB UUID and registry region. On
installations with many regions and VOBs this is hundreds of
serialized cleartool invocations on every rbt run, which is slow.It now lists all VOBs in each region once with
cleartool lsvob -l -region <region>and matches them to the configured
UUIDs by parsing the family UUID out of the output. This scales with the
number of regions instead of regions * VOBs.
Ran unit tests.
| Summary | ID |
|---|---|
| tlvlkuvtozswutllmkpszrykxmrzvkrn |
| Description | From | Last Updated |
|---|---|---|
|
If you omit this, it should iterate through lines, streaming it in, instead of gathering them all up at once. … |
|
|
|
This should probably be typed str | None. |
|
|
|
You could do line.rsplit(' ', 1)[-1] to simplify what it needs to do. |
|
|
|
Small thing, but can we split with a max split count? |
|