Skip to content

Commit

Permalink
[Backport release-24.11] ci/eval: Also count added packages as rebuil…
Browse files Browse the repository at this point in the history
…ds (#361215)
  • Loading branch information
infinisil authored Dec 2, 2024
2 parents cc99227 + d7ba9d0 commit 3d6108a
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions ci/eval/compare.jq
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,23 @@ def diff($before; $after):
| ($after[0] | expand_system) as $after
| .attrdiff = diff($before; $after)
| .rebuildsByKernel = (
.attrdiff.changed
| map({
key: .,
value: diff($before."\(.)"; $after."\(.)").changed
})
[
(
.attrdiff.changed[]
| {
key: .,
value: diff($before."\(.)"; $after."\(.)").changed
}
)
,
(
.attrdiff.added[]
| {
key: .,
value: ($after."\(.)" | keys)
}
)
]
| from_entries
| transpose
)
Expand Down

0 comments on commit 3d6108a

Please sign in to comment.