Skip to content

fix(battery): den._.hostname strictness - #244

Merged
vic merged 1 commit into
mainfrom
hostname
Mar 9, 2026
Merged

vic merged 1 commit into
mainfrom
hostname

Conversation

@vic

@vic vic commented Mar 9, 2026

Copy link
Copy Markdown
Member

This changes den._.hostname from take.exactly {host} to take.atLeast {host,...}, to make it also work on user aspects because they have no {host} context, only a {host, user} one.

Also added tests that including den._.hostname in a second order include works. NOTE: the aspect using includes = [ den._.hostname ] needs to be parametric {} to be able to forward context.

Might be of interest @drupol

@vic vic added the allow-ci allow all CI integration tests label Mar 9, 2026
@vic
vic merged commit d60a473 into main Mar 9, 2026
12 of 19 checks passed
@vic
vic deleted the hostname branch March 9, 2026 16:15
@drupol

drupol commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

Testing now.

@drupol

drupol commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

Replied on Zulip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-ci allow all CI integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants