diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-02-16 18:58:36 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-02-17 20:29:10 -0500 |
commit | de9932b3955f921aa76277975ca1eb2d14eb6f20 (patch) | |
tree | 34bc66c40e404a6fe76aa22d5c8ad44d718b3cb5 | |
parent | 944ffd881152c5332cbaa9ec2342b3bf67121485 (diff) |
wip - poolswip-2022-02-16
-rw-r--r-- | parabola_repolint/repocache.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/parabola_repolint/repocache.py b/parabola_repolint/repocache.py index 995ff70..8ca9b75 100644 --- a/parabola_repolint/repocache.py +++ b/parabola_repolint/repocache.py @@ -904,6 +904,7 @@ class Repo(): self._set_pkgstatus(pkgpath, arch.name, PkgFile.ERROR_PKG_NOTORRENT) else: self._litterfiles.append(repofile.path) + for pkgpath in self._pkgstatus[arch.name]: if not self._pkgbuilds: self._set_pkgstatus(pkgpath, arch.name, PkgFile.ERROR_PKG_NOABS) @@ -1038,6 +1039,10 @@ class RepoCache(): for repo_name in sorted(RepoCache.PARABOLA_REPOS): self._repos[repo_name] = Repo(repo_name, has_abs_tree=True) + for pool_name in sorted(RepoCache.POOLS): + self._pools[pool_name] = Repo(os.path.join('pool', pool_name)) + # NOTE: only each _pkgfiles and _pkgstatus will be interesting + self._extract_keyring() logging.info('keyring entries: %i', len(self._keyring)) with open(os.path.join(RepoCache.KEYRING_DIR, '.keyring'), 'w') as out: |