You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deduplicate 'already installed' / HEAD message. (#1683)
Improve console output when installing packages by deduplicating 'already installed' message, --head warning, and merging the 'green success' message into the total elapsed time part.
Cherry picked from #1514
Co-authored-by: Robert Schumacher <[email protected]>
if ($output-notmatch'vcpkg-internal-e2e-test-port3:[^ ]+ is already installed -- not building from HEAD') {
68
-
throw'Wrong already installed message for --head'
69
-
}
67
+
Throw-IfNonContains -Expected @"
68
+
The following packages are already installed, but were requested at --head version. Their installed contents will not be changed. To get updated versions, remove these packages first:
Copy file name to clipboardExpand all lines: locales/messages.json
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -114,13 +114,11 @@
114
114
"_AllFormatArgsRawArgument.comment": "example of {value} is 'foo {} bar'",
115
115
"AllFormatArgsUnbalancedBraces": "unbalanced brace in format string \"{value}\"",
116
116
"_AllFormatArgsUnbalancedBraces.comment": "example of {value} is 'foo bar {'",
117
-
"AllPackagesAreUpdated": "All installed packages are up-to-date.",
117
+
"AllPackagesAreUpdated": "No action taken because all installed packages are up-to-date.",
118
118
"AllShasValid": "All checked sha's are valid.",
119
119
"_AllShasValid.comment": "sha = sha512 of url",
120
120
"AlreadyInstalled": "{spec} is already installed",
121
121
"_AlreadyInstalled.comment": "An example of {spec} is zlib:x64-windows.",
122
-
"AlreadyInstalledNotHead": "{spec} is already installed -- not building from HEAD",
123
-
"_AlreadyInstalledNotHead.comment": "'HEAD' means the most recent version of source code An example of {spec} is zlib:x64-windows.",
124
122
"AmbiguousConfigDeleteConfigFile": "Ambiguous vcpkg configuration provided by both manifest and configuration file.\n-- Delete configuration file {path}",
125
123
"_AmbiguousConfigDeleteConfigFile.comment": "An example of {path} is /foo/bar.",
126
124
"AnArrayOfDefaultFeatures": "an array of default features",
@@ -1003,6 +1001,7 @@
1003
1001
"InstalledBy": "Installed by {path}",
1004
1002
"_InstalledBy.comment": "An example of {path} is /foo/bar.",
1005
1003
"InstalledPackages": "The following packages are already installed:",
1004
+
"InstalledPackagesHead": "The following packages are already installed, but were requested at --head version. Their installed contents will not be changed. To get updated versions, remove these packages first:",
1006
1005
"InstalledRequestedPackages": "All requested packages are currently installed.",
1007
1006
"InstallingFromFilesystemRegistry": "installing from filesystem registry here",
1008
1007
"InstallingFromGitRegistry": "installing from git registry",
@@ -1486,6 +1485,8 @@
1486
1485
"_ToolOfVersionXNotFound.comment": "An example of {tool_name} is signtool. An example of {version} is 1.3.8.",
0 commit comments