Repository navigation
stdenv/check-meta: move remedation message into dedicated file - #556367
Merged
Merged
Conversation
Contributor
|
Seems good in concept to me. I'll give a day or two for people to complain and then merge. |
This is moving the remediation messagesd into their dedicated file where all their (internal) utiltiy functions aren't cluttering the check-meta implementation and the remediation messages could potentially be emitted from other places in nixpkgs while keeping the styling the same. The driving motivation behind this is moving more checks into meta.problems and there we should very likely emit the messages in the same flavour users might be used to (either visually, by script or the wording). This was previously proposed as part of NixOS#545234 but is worthwhile on its own IMO.
andir
force-pushed
the
check-meta-remediations
branch
from
August 28, 2026 12:10
62432c0 to
3ae30cc
Compare
infinisil
enabled auto-merge
August 28, 2026 12:11
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is moving the remediation messagesd into their dedicated file where all their (internal) utiltiy functions aren't cluttering the check-meta implementation and the remediation messages could potentially be emitted from other places in nixpkgs while keeping the styling the same.
The driving motivation behind this is moving more checks into meta.problems and there we should very likely emit the messages in the same flavour users might be used to (either visually, by script or the wording).
This was previously proposed as part of #545234 but is worthwhile on its own IMO and eases the need for constant rebasing on the other PR whenever something small changes in the remediation world.
Things done
hellostill builds :-) )