Skip to content

Commit

Permalink
don't try FailedByDeps packages when packages are given on the cmdline
Browse files Browse the repository at this point in the history
They are a bit scary on the current building page, and will be picked up
next time.
  • Loading branch information
lilydjwg committed Mar 31, 2024
1 parent 327ddd6 commit 0454bb9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lilac
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,11 @@ def main_may_raise(
for p in need_rebuild_failed:
build_reasons[p].append(BuildReason.UpdatedFailed())

for p, i in failed_info.items():
# p might have been removed
if p in REPO.lilacinfos and (deps := i['missing']):
build_reasons[p].append(BuildReason.FailedByDeps(deps))
if not pkgs_from_args:
for p, i in failed_info.items():
# p might have been removed
if p in REPO.lilacinfos and (deps := i['missing']):
build_reasons[p].append(BuildReason.FailedByDeps(deps))

if_this_then_those = defaultdict(set)
for p, info in REPO.lilacinfos.items():
Expand Down

0 comments on commit 0454bb9

Please sign in to comment.