Skip to content

Commit 10336c6

Browse files
[release/v7.6.6] Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2652124 (#27918)
Co-authored-by: olprod <olprod@microsoft.com>
1 parent 581679c commit 10336c6

1,954 files changed

Lines changed: 409383 additions & 12 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/infrastructure/get-changed-files/action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ outputs:
1313
files:
1414
description: 'JSON array of changed file paths'
1515
value: ${{ steps.get-files.outputs.files }}
16+
files_path:
17+
description: 'Path to temp file containing the JSON array of changed file paths'
18+
value: ${{ steps.get-files.outputs.files_path }}
1619
count:
1720
description: 'Number of changed files'
1821
value: ${{ steps.get-files.outputs.count }}
@@ -109,7 +112,17 @@ runs:
109112
core.endGroup();
110113
111114
console.log(`Found ${changedFiles.length} changed files`);
115+
116+
// Write files to a temp file to avoid exceeding ARG_MAX for large PRs
117+
const fs = require('fs');
118+
const path = require('path');
119+
const tempDir = process.env.RUNNER_TEMP || '/tmp';
120+
const tempFile = path.join(tempDir, 'changed-files.json');
121+
fs.writeFileSync(tempFile, JSON.stringify(changedFiles));
122+
console.log(`File list written to ${tempFile}`);
123+
112124
core.setOutput('files', JSON.stringify(changedFiles));
125+
core.setOutput('files_path', tempFile);
113126
core.setOutput('count', changedFiles.length);
114127
115128
branding:

.github/actions/infrastructure/markdownlinks/action.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,17 @@ runs:
4040
id: verify
4141
shell: pwsh
4242
env:
43-
CHANGED_FILES_JSON: ${{ steps.changed-files.outputs.files }}
43+
CHANGED_FILES_PATH: ${{ steps.changed-files.outputs.files_path }}
4444
run: |
4545
Write-Host "Starting markdown link verification..." -ForegroundColor Cyan
4646
47-
# Get changed markdown files from environment variable (secure against injection)
48-
$changedFilesJson = $env:CHANGED_FILES_JSON
49-
$changedFiles = $changedFilesJson | ConvertFrom-Json
47+
# Read changed markdown files from temp file to avoid ARG_MAX limits with large PRs
48+
$changedFilesPath = $env:CHANGED_FILES_PATH
49+
if ($changedFilesPath -and (Test-Path $changedFilesPath)) {
50+
$changedFiles = @(Get-Content $changedFilesPath -Raw | ConvertFrom-Json)
51+
} else {
52+
$changedFiles = @()
53+
}
5054
5155
if ($changedFiles.Count -eq 0) {
5256
Write-Host "No markdown files changed, skipping verification" -ForegroundColor Yellow

.github/actions/infrastructure/merge-conflict-checker/action.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ runs:
2121
id: check
2222
shell: pwsh
2323
env:
24-
CHANGED_FILES_JSON: ${{ steps.changed-files.outputs.files }}
24+
CHANGED_FILES_PATH: ${{ steps.changed-files.outputs.files_path }}
2525
run: |
26-
# Get changed files from environment variable (secure against injection)
27-
$changedFilesJson = $env:CHANGED_FILES_JSON
28-
# Ensure we always have an array (ConvertFrom-Json returns null for empty JSON arrays)
29-
$changedFiles = @($changedFilesJson | ConvertFrom-Json)
26+
# Read changed files from temp file to avoid ARG_MAX limits with large PRs
27+
$changedFilesPath = $env:CHANGED_FILES_PATH
28+
if ($changedFilesPath -and (Test-Path $changedFilesPath)) {
29+
$changedFiles = @(Get-Content $changedFilesPath -Raw | ConvertFrom-Json)
30+
} else {
31+
$changedFiles = @()
32+
}
3033
3134
# Import ci.psm1 and run the check
3235
Import-Module "$env:GITHUB_WORKSPACE/tools/ci.psm1" -Force

.github/actions/infrastructure/path-filters/action.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
id: filter
4242
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
4343
env:
44-
FILES_JSON: ${{ steps.get-files.outputs.files }}
44+
FILES_PATH: ${{ steps.get-files.outputs.files_path }}
4545
with:
4646
github-token: ${{ inputs.GITHUB_TOKEN }}
4747
script: |
@@ -60,8 +60,15 @@ runs:
6060
return;
6161
}
6262
63-
// Get files from environment variable (secure against injection)
64-
const files = JSON.parse(process.env.FILES_JSON || '[]');
63+
// Read files from temp file to avoid ARG_MAX limits with large PRs
64+
const fs = require('fs');
65+
const filesPath = process.env.FILES_PATH;
66+
let files = [];
67+
if (filesPath && fs.existsSync(filesPath)) {
68+
files = JSON.parse(fs.readFileSync(filesPath, 'utf8'));
69+
} else {
70+
console.log('Warning: files_path not found, no files to analyze');
71+
}
6572
6673
// Calculate hash for verification (matches get-changed-files action)
6774
const crypto = require('crypto');
Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
57+
mimetype: application/x-microsoft.net.object.bytearray.base64
58+
value : The object must be serialized into a byte array
59+
: using a System.ComponentModel.TypeConverter
60+
: and then encoded with base64 encoding.
61+
-->
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64+
<xsd:element name="root" msdata:IsDataSet="true">
65+
<xsd:complexType>
66+
<xsd:choice maxOccurs="unbounded">
67+
<xsd:element name="metadata">
68+
<xsd:complexType>
69+
<xsd:sequence>
70+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
71+
</xsd:sequence>
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
73+
<xsd:attribute name="type" type="xsd:string" />
74+
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
76+
</xsd:complexType>
77+
</xsd:element>
78+
<xsd:element name="assembly">
79+
<xsd:complexType>
80+
<xsd:attribute name="alias" type="xsd:string" />
81+
<xsd:attribute name="name" type="xsd:string" />
82+
</xsd:complexType>
83+
</xsd:element>
84+
<xsd:element name="data">
85+
<xsd:complexType>
86+
<xsd:sequence>
87+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89+
</xsd:sequence>
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
94+
</xsd:complexType>
95+
</xsd:element>
96+
<xsd:element name="resheader">
97+
<xsd:complexType>
98+
<xsd:sequence>
99+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100+
</xsd:sequence>
101+
<xsd:attribute name="name" type="xsd:string" use="required" />
102+
</xsd:complexType>
103+
</xsd:element>
104+
</xsd:choice>
105+
</xsd:complexType>
106+
</xsd:element>
107+
</xsd:schema>
108+
<resheader name="resmimetype">
109+
<value>text/microsoft-resx</value>
110+
</resheader>
111+
<resheader name="version">
112+
<value>2.0</value>
113+
</resheader>
114+
<resheader name="reader">
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116+
</resheader>
117+
<resheader name="writer">
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119+
</resheader>
120+
<data name="CimOperationCompleted" xml:space="preserve">
121+
<value>Operation '{0}' complete.</value>
122+
<comment>{0} is a placeholder for operation name. (i.e, GetCimInstance)</comment>
123+
</data>
124+
<data name="CimOperationNameCreateInstance" xml:space="preserve">
125+
<value>Create CimInstance</value>
126+
</data>
127+
<data name="CimOperationNameDeleteInstance" xml:space="preserve">
128+
<value>Delete CimInstance</value>
129+
</data>
130+
<data name="CimOperationNameEnumerateAssociatedInstances" xml:space="preserve">
131+
<value>Enumerate Associated CimInstances</value>
132+
</data>
133+
<data name="CimOperationNameEnumerateClasses" xml:space="preserve">
134+
<value>Enumerate CimClasses</value>
135+
</data>
136+
<data name="CimOperationNameEnumerateInstances" xml:space="preserve">
137+
<value>Enumerate CimInstances</value>
138+
</data>
139+
<data name="CimOperationNameGetClass" xml:space="preserve">
140+
<value>Get CimClass</value>
141+
</data>
142+
<data name="CimOperationNameGetInstance" xml:space="preserve">
143+
<value>Get CimInstance</value>
144+
</data>
145+
<data name="CimOperationNameInvokeMethod" xml:space="preserve">
146+
<value>Invoke CimMethod</value>
147+
</data>
148+
<data name="CimOperationNameModifyInstance" xml:space="preserve">
149+
<value>Modify CimInstance</value>
150+
</data>
151+
<data name="CimOperationNameQueryInstances" xml:space="preserve">
152+
<value>Query CimInstances</value>
153+
</data>
154+
<data name="CimOperationNameSubscribeIndication" xml:space="preserve">
155+
<value>Subscribe CimIndication</value>
156+
</data>
157+
<data name="CimOperationStart" xml:space="preserve">
158+
<value>Perform operation '{0}' with following parameters, '{1}'.</value>
159+
<comment>{0} is a placeholder for operation name; {1} is a placeholder for parameters value</comment>
160+
</data>
161+
<data name="ConflictParameterWasSet" xml:space="preserve">
162+
<value>Parameter '{0}' cannot be used with the parameter '{1}'.</value>
163+
<comment>{0} is a placeholder for parameter name; {1} is a placeholder for another parameter name;</comment>
164+
</data>
165+
<data name="CouldNotFindCimsessionObject" xml:space="preserve">
166+
<value>Could not find CimSession with the given {0} = {1}</value>
167+
<comment>{0} is a placeholder for property name; {1} is a placeholder for property value.</comment>
168+
</data>
169+
<data name="CouldNotFindPropertyFromGivenClass" xml:space="preserve">
170+
<value>Could not find the following properties from the given class {0}: {1}.</value>
171+
<comment>{0} is a placeholder for class name; {1} is a placeholder for list of property names.</comment>
172+
</data>
173+
<data name="CouldNotModifyReadonlyProperty" xml:space="preserve">
174+
<value>Could not modify readonly property '{0}' of object '{1}'.</value>
175+
<comment>{0} is a placeholder for propertyname; {1} is a placeholder for object string.</comment>
176+
</data>
177+
<data name="DefaultStatusDescription" xml:space="preserve">
178+
<value>Default status description.</value>
179+
<comment>N/A</comment>
180+
</data>
181+
<data name="DidNotResolveFile" xml:space="preserve">
182+
<value>Cannot perform operation because the wildcard path {0} did not resolve to a file.</value>
183+
<comment>{0} is a placeholder for a path</comment>
184+
</data>
185+
<data name="InvalidAuthenticationTypeWithNullCredential" xml:space="preserve">
186+
<value>Authentication type '{0}' is invalid without credential. Only following authentication type are allowed without credential, '{1}', '{2}', '{3}', or '{4}'.</value>
187+
<comment>{0} is a placeholder for authentication type. {1}-{4} are placeholders for authentication types.</comment>
188+
</data>
189+
<data name="InvalidMethod" xml:space="preserve">
190+
<value>Can not find method '{0}' in class '{1}'.</value>
191+
<comment>{0} is a placeholder for method name. {1} is a placeholders for class name.</comment>
192+
</data>
193+
<data name="InvalidMethodParameter" xml:space="preserve">
194+
<value>Can not find Parameter '{0}' in method '{1}' of class '{2}'.</value>
195+
<comment>{0} is a placeholder for parameter name; {1} is a placeholder for method name; {2} is a placeholder for class name.</comment>
196+
</data>
197+
<data name="InvalidOperation" xml:space="preserve">
198+
<value>Invalid operation. Current cmdlet already have operation created.</value>
199+
<comment>N/A</comment>
200+
</data>
201+
<data name="InvalidParameterValue" xml:space="preserve">
202+
<value>Argument '{0}' contains characters that are not allowed in parameter '{1}'. Supply an argument that is valid and then try the command again.</value>
203+
<comment>{0} stand for argument value, {1} stand for parameter name.</comment>
204+
</data>
205+
<data name="MultipleFilesNotSupported" xml:space="preserve">
206+
<value>Cannot perform operation because the path resolved to more than one file. This command cannot operate on multiple files.</value>
207+
</data>
208+
<data name="NullArgument" xml:space="preserve">
209+
<value>Argument '{0}' can not be null.</value>
210+
<comment>N/A</comment>
211+
</data>
212+
<data name="OperationInProgress" xml:space="preserve">
213+
<value>CimSession proxy object already have operation in progress.</value>
214+
<comment>N/A</comment>
215+
</data>
216+
<data name="ReadWriteFileNotFileSystemProvider" xml:space="preserve">
217+
<value>Cannot open file because the current provider ({0}) cannot open a file.</value>
218+
<comment>{0} is a placeholder for PowerShell filesystem-like provider name (i.e. registry provider)</comment>
219+
</data>
220+
<data name="UnableToAddPropertyToInstance" xml:space="preserve">
221+
<value>Unable to add property '{0}' to input object '{1}'. The class schema does not contain the property.</value>
222+
<comment>{0} stand for property name, {1} stand for cim instance path.</comment>
223+
</data>
224+
<data name="UnableToResolveParameterSetName" xml:space="preserve">
225+
<value>Unable to resolve the parameter set name.</value>
226+
<comment>N/A</comment>
227+
</data>
228+
</root>

0 commit comments

Comments
 (0)