Closed corinnekrych closed 7 years ago
when we query github for the list of repos, we could also query the BuildConfig objects from openshift via...
openshiftClient.buildConfigs().inNamespace(userNamespace).list();
then for each one, find their git repo URLs and filter them out of the resulting list of repos to import.
We may wanna cache the above results in a Cache (see the various other CacheManager stuff in forge) to speed up repeated calls to get/validate the repo
we need to handle already imported repo that a little better - e.g. filtering out imported repos maybe atm the we just return with an empty result: