Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/socket-patch-cli/CLI_CONTRACT.md

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions crates/socket-patch-cli/src/commands/vex_sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ const NOTE_MAVEN_REACTOR_ROOT: &str = "vex_maven_reactor_root";
/// (`vex::Unattested`).
const NOTE_MAVEN_CLASSIFIER_UNPATCHED: &str = "vex_maven_classifier_unpatched";
/// Omission tag and note: a hosted Maven pin's GA is also declared inside
/// `<profiles>` at another version, which overrides the pin whenever that
/// `<profiles>` at another version, or a profile's `<properties>` move
/// the pin's `${property}` version, which overrides the pin whenever that
/// profile is active (`vex::Unattested`).
const NOTE_MAVEN_PROFILE_UNPATCHED: &str = "vex_maven_profile_unpatched";
/// Omission tag and note: a hosted (or pre-v5 vendored) Maven pin is spelled
Expand Down Expand Up @@ -278,9 +279,10 @@ fn unattested_note(kind: UnattestedKind) -> (&'static str, &'static str) {
),
UnattestedKind::MavenProfileUnpatched => (
NOTE_MAVEN_PROFILE_UNPATCHED,
"not attested while a profile declares it at another version; the wiring itself is \
intact, so re-running `scan` does not change this (drop that profile <version> or \
set it to the pin, or re-patch with `scan --mode vendored`)",
"not attested while a profile declares it at, or its <properties> move it to, \
another version; the wiring itself is intact, so re-running `scan` does not change \
this (drop that profile <version> or property or set it to the pin, or re-patch \
with `scan --mode vendored`)",
),
UnattestedKind::MavenConfigOverride => (
NOTE_MAVEN_CONFIG_OVERRIDE,
Expand Down
Loading
Loading