we should still track repos that the hub tells us about
This commit is contained in:
parent
a58ce6bb38
commit
623131c96f
1 changed files with 0 additions and 11 deletions
11
util/kojira
11
util/kojira
|
|
@ -445,17 +445,6 @@ class RepoManager(object):
|
|||
self.logger.info('Found repo %s, state=%s'
|
||||
% (repo_id, koji.REPO_STATES[data['state']]))
|
||||
repo = ManagedRepo(self, data, repodata)
|
||||
if self.options.ignore_other_volumes:
|
||||
info = repo.get_info()
|
||||
if info is None:
|
||||
continue
|
||||
volume = info.get('volume')
|
||||
if volume is not None and volume != 'DEFAULT':
|
||||
# Other volume
|
||||
self.logger.info("Skipping repo ({}) on other volume {}".format(
|
||||
repo_id, volume,
|
||||
))
|
||||
continue
|
||||
self.repos[repo_id] = repo
|
||||
if not getTag(self.session, repo.tag_id) and not repo.expired():
|
||||
self.logger.info('Tag %d for repo %d disappeared, expiring.', repo.tag_id, repo_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue