Revert "Only stop importing when it isn't a jengelh repository"

This reverts commit 44b4d690dbc8532125399298d8765d2548c32b6b.

this breaks detection of scmsync projects. Jan can live with not synced
git for a few weeks
This commit is contained in:
Adam Majer 2025-02-21 13:24:40 +01:00
parent 44b4d690db
commit fb80d0c105

View File

@ -268,12 +268,9 @@ class Importer:
return self.scmsync_cache[key] return self.scmsync_cache[key]
root = self.obs._meta(key) root = self.obs._meta(key)
scmsync = None
scmsync_exists = False scmsync_exists = False
if root and root.find('scmsync') is not None: if root is not None:
scmsync = root.find('scmsync').text scmsync_exists = root.find('scmsync') is not None
if scmsync:
scmsync_exists = scmsync.startswith('https://src.opensuse.org/pool/')
self.scmsync_cache[key] = scmsync_exists self.scmsync_cache[key] = scmsync_exists
return scmsync_exists return scmsync_exists