-
Task
-
Resolution: Done
-
Major
-
1.8.0
-
2
-
False
-
-
False
-
-
Currently, when sync-midstream.sh runs in the rhdh-plugin-catalog repo, it will git clone 51 times for all the various workspaces defined in the repo.
We can speed this up by checking the value of https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/main/workspaces/azure-devops/source.json against the local file https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/overlay-repo/workspaces/azure-devops/source.json?ref_type=heads
If the file is identical, we would default to skipping the git clone and update for that folder; we will also need a --force flag to allow updating specific workspaces (and a --always-clone for all workspaces), should we want to override this new faster behaviour.
This will also make it easier to debug problems like RHDHBUGS-1950
- blocks
-
RHDHBUGS-1950 Investigate missing files in sync for roadie-backstage-plugins
-
- New
-
- clones
-
RHIDP-8537 [plugin-catalog] prevent committing workspaces/backstage/.yarn/install-state.gz for no-op sync-midstream.sh runs
-
- Closed
-
- mentioned on