Skip to content

Commit

Permalink
pkglistgen: ignore bootstrap_copy repo
Browse files Browse the repository at this point in the history
Never use the bootstrap_copy repo for package solving. Staging content
might be very different so don't confuse the solver.
  • Loading branch information
lnussel committed Mar 26, 2021
1 parent a747e49 commit abaa6d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkglistgen/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,8 @@ def update_and_solve_target(self, api, target_project, target_config, main_repo,
project, scope, force, no_checkout,
only_release_packages, stop_after_solve):
self.all_architectures = target_config.get('pkglistgen-archs').split(' ')
self.repos = self.expand_repos(project, main_repo)
ignore_repos = set(target_config.get('pkglistgen-ignore_repos', 'bootstrap_copy').split(' '))
self.repos = [ r for r in self.expand_repos(project, main_repo) if r[0] != project or r[1] not in ignore_repos ]
print('[{}] {}/{}: update and solve'.format(scope, project, main_repo))

group = target_config.get('pkglistgen-group', '000package-groups')
Expand Down

0 comments on commit abaa6d6

Please sign in to comment.