artifact-engine 1.282.0 → 1.283.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Engine/artifactEngine.js +28 -2
- package/Engine/worker.js +4 -0
- package/Providers/filesystemProvider.d.ts +8 -0
- package/Providers/filesystemProvider.js +251 -2
- package/Strings/resources.resjson/de-DE/resources.resjson +4 -1
- package/Strings/resources.resjson/en-US/resources.resjson +3 -0
- package/Strings/resources.resjson/es-ES/resources.resjson +4 -1
- package/Strings/resources.resjson/fr-FR/resources.resjson +4 -1
- package/Strings/resources.resjson/it-IT/resources.resjson +4 -1
- package/Strings/resources.resjson/ja-JP/resources.resjson +4 -1
- package/Strings/resources.resjson/ko-KR/resources.resjson +4 -1
- package/Strings/resources.resjson/ru-RU/resources.resjson +4 -1
- package/Strings/resources.resjson/zh-CN/resources.resjson +4 -1
- package/Strings/resources.resjson/zh-TW/resources.resjson +4 -1
- package/lib.json +3 -0
- package/package.json +1 -1
package/Engine/artifactEngine.js
CHANGED
|
@@ -62,6 +62,11 @@ class ArtifactEngine {
|
|
|
62
62
|
}
|
|
63
63
|
processArtifactItemImplementation(sourceProvider, item, destProvider, artifactEngineOptions, resolve, reject, retryCount) {
|
|
64
64
|
var retryIfRequired = (err) => {
|
|
65
|
+
if (err && err.nonRetryable) {
|
|
66
|
+
this.artifactItemStore.updateState(item, models.TicketState.Failed);
|
|
67
|
+
reject(err);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
65
70
|
if (retryCount === artifactEngineOptions.retryLimit - 1) {
|
|
66
71
|
this.artifactItemStore.updateState(item, models.TicketState.Failed);
|
|
67
72
|
reject(err);
|
|
@@ -122,11 +127,34 @@ class ArtifactEngine {
|
|
|
122
127
|
}
|
|
123
128
|
return value;
|
|
124
129
|
});
|
|
130
|
+
const isPathValidationEnabled = tl.getPipelineFeature("EnableArtifactEnginePathValidation") && !tl.getPipelineFeature("EnableLegacyArtifactPathValidation");
|
|
131
|
+
if (!isPathValidationEnabled) {
|
|
132
|
+
if (items.length > 0) {
|
|
133
|
+
this.artifactItemStore.addItems(items);
|
|
134
|
+
this.artifactItemStore.updateState(item, models.TicketState.Processed);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
destProvider.putArtifactItem(item, null)
|
|
138
|
+
.then((item) => {
|
|
139
|
+
this.artifactItemStore.updateState(item, models.TicketState.Processed);
|
|
140
|
+
resolve();
|
|
141
|
+
}, (err) => {
|
|
142
|
+
logger_1.Logger.infoExternalOutput("Error creating folder " + item.path + ": " + err);
|
|
143
|
+
retryIfRequired(err);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
logger_1.Logger.logInfo("Enqueued " + items.length + " for processing.");
|
|
147
|
+
resolve();
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
125
150
|
if (items.length > 0) {
|
|
126
151
|
this.artifactItemStore.addItems(items);
|
|
127
152
|
this.artifactItemStore.updateState(item, models.TicketState.Processed);
|
|
153
|
+
logger_1.Logger.logInfo("Enqueued " + items.length + " for processing.");
|
|
154
|
+
resolve();
|
|
128
155
|
}
|
|
129
156
|
else {
|
|
157
|
+
logger_1.Logger.logInfo("Enqueued " + items.length + " for processing.");
|
|
130
158
|
destProvider.putArtifactItem(item, null)
|
|
131
159
|
.then((item) => {
|
|
132
160
|
this.artifactItemStore.updateState(item, models.TicketState.Processed);
|
|
@@ -136,8 +164,6 @@ class ArtifactEngine {
|
|
|
136
164
|
retryIfRequired(err);
|
|
137
165
|
});
|
|
138
166
|
}
|
|
139
|
-
logger_1.Logger.logInfo("Enqueued " + items.length + " for processing.");
|
|
140
|
-
resolve();
|
|
141
167
|
}, (err) => {
|
|
142
168
|
logger_1.Logger.infoExternalOutput("Error getting " + item.path + ":" + err);
|
|
143
169
|
retryIfRequired(err);
|
package/Engine/worker.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Worker = void 0;
|
|
4
4
|
const logger_1 = require("./logger");
|
|
5
|
+
var tl = require('azure-pipelines-task-lib/task');
|
|
5
6
|
class Worker {
|
|
6
7
|
constructor(id, execute, getNextItem, canExit, hasDownloadFailed) {
|
|
7
8
|
this.id = id;
|
|
@@ -20,6 +21,9 @@ class Worker {
|
|
|
20
21
|
try {
|
|
21
22
|
if (this.hasDownloadFailed()) {
|
|
22
23
|
logger_1.Logger.logInfo(`Aborting respawning worker, as download failed for some file(s).`);
|
|
24
|
+
if (tl.getPipelineFeature("EnableArtifactEnginePathValidation") && !tl.getPipelineFeature("EnableLegacyArtifactPathValidation")) {
|
|
25
|
+
reject(new Error('Aborting worker: download failed for one or more item(s).'));
|
|
26
|
+
}
|
|
23
27
|
return;
|
|
24
28
|
}
|
|
25
29
|
let item = this.getNextItem();
|
|
@@ -8,6 +8,14 @@ export declare class FilesystemProvider implements models.IArtifactProvider {
|
|
|
8
8
|
getArtifactItems(artifactItem: models.ArtifactItem): Promise<models.ArtifactItem[]>;
|
|
9
9
|
getArtifactItem(artifactItem: models.ArtifactItem): Promise<NodeJS.ReadableStream>;
|
|
10
10
|
putArtifactItem(item: models.ArtifactItem, stream: NodeJS.ReadableStream): Promise<models.ArtifactItem>;
|
|
11
|
+
private putArtifactItemLegacy;
|
|
12
|
+
private putArtifactItemSecure;
|
|
13
|
+
private getWriteOpenFlags;
|
|
14
|
+
private getTempWritePath;
|
|
15
|
+
private createSecurityRejection;
|
|
16
|
+
private createValidatedDirectory;
|
|
17
|
+
private validateExistingIntermediateSegment;
|
|
18
|
+
private resolveSafeOutputPath;
|
|
11
19
|
isCaseInsensitiveFilesystem(): boolean;
|
|
12
20
|
dispose(): void;
|
|
13
21
|
private getItems;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FilesystemProvider = void 0;
|
|
4
|
+
const os = require("os");
|
|
4
5
|
const path = require("path");
|
|
5
6
|
const fs = require("fs");
|
|
6
7
|
const models = require("../Models");
|
|
7
8
|
const logger_1 = require("../Engine/logger");
|
|
9
|
+
const ci = require("../Engine/cilogger");
|
|
8
10
|
const filesystemCaseSensitivity_1 = require("./filesystemCaseSensitivity");
|
|
9
11
|
var tl = require('azure-pipelines-task-lib');
|
|
10
12
|
class FilesystemProvider {
|
|
@@ -45,13 +47,20 @@ class FilesystemProvider {
|
|
|
45
47
|
return promise;
|
|
46
48
|
}
|
|
47
49
|
putArtifactItem(item, stream) {
|
|
50
|
+
if (!tl.getPipelineFeature("EnableArtifactEnginePathValidation") || tl.getPipelineFeature("EnableLegacyArtifactPathValidation")) {
|
|
51
|
+
return this.putArtifactItemLegacy(item, stream);
|
|
52
|
+
}
|
|
53
|
+
return this.putArtifactItemSecure(item, stream);
|
|
54
|
+
}
|
|
55
|
+
// Unmodified pre-fix implementation. Runs verbatim whenever path validation is off, or
|
|
56
|
+
// EnableLegacyArtifactPathValidation is On, so rollback restores the exact legacy behavior.
|
|
57
|
+
putArtifactItemLegacy(item, stream) {
|
|
48
58
|
return new Promise((resolve, reject) => {
|
|
49
59
|
let outputItemPath;
|
|
50
60
|
if (!tl.getPipelineFeature("EnableArtifactEnginePathValidation")) {
|
|
51
61
|
outputItemPath = path.join(this._rootLocation, item.path);
|
|
52
62
|
}
|
|
53
63
|
else {
|
|
54
|
-
// Feature on: reject item paths that resolve outside the download root.
|
|
55
64
|
const resolvedRoot = path.resolve(this._rootLocation);
|
|
56
65
|
const resolvedTarget = path.resolve(resolvedRoot, item.path);
|
|
57
66
|
const relative = path.relative(resolvedRoot, resolvedTarget);
|
|
@@ -66,7 +75,6 @@ class FilesystemProvider {
|
|
|
66
75
|
if (item.itemType === models.ItemType.File) {
|
|
67
76
|
const folder = path.dirname(outputItemPath);
|
|
68
77
|
try {
|
|
69
|
-
// create parent folder if it has not already been created
|
|
70
78
|
tl.mkdirP(folder);
|
|
71
79
|
logger_1.Logger.messageExternalOutput(tl.loc("DownloadingTo", item.path, outputItemPath));
|
|
72
80
|
const outputStream = fs.createWriteStream(outputItemPath);
|
|
@@ -101,6 +109,247 @@ class FilesystemProvider {
|
|
|
101
109
|
}
|
|
102
110
|
});
|
|
103
111
|
}
|
|
112
|
+
putArtifactItemSecure(item, stream) {
|
|
113
|
+
return new Promise((resolve, reject) => {
|
|
114
|
+
let outputItemPath;
|
|
115
|
+
try {
|
|
116
|
+
outputItemPath = this.resolveSafeOutputPath(item.path);
|
|
117
|
+
}
|
|
118
|
+
catch (err) {
|
|
119
|
+
if (stream && typeof stream.destroy === 'function') {
|
|
120
|
+
stream.destroy();
|
|
121
|
+
}
|
|
122
|
+
reject(err);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (item.itemType === models.ItemType.File) {
|
|
126
|
+
const folder = path.dirname(outputItemPath);
|
|
127
|
+
const tempItemPath = this.getTempWritePath(outputItemPath);
|
|
128
|
+
let settled = false;
|
|
129
|
+
const cleanupTempFile = () => {
|
|
130
|
+
fs.unlink(tempItemPath, () => { });
|
|
131
|
+
};
|
|
132
|
+
try {
|
|
133
|
+
tl.mkdirP(folder);
|
|
134
|
+
logger_1.Logger.messageExternalOutput(tl.loc("DownloadingTo", item.path, outputItemPath));
|
|
135
|
+
const writeOptions = { flags: this.getWriteOpenFlags() };
|
|
136
|
+
const outputStream = fs.createWriteStream(tempItemPath, writeOptions);
|
|
137
|
+
stream.pipe(outputStream);
|
|
138
|
+
stream.on("end", () => {
|
|
139
|
+
logger_1.Logger.messageExternalOutput(tl.loc("DownloadedTo", item.path, outputItemPath));
|
|
140
|
+
if (!item.metadata) {
|
|
141
|
+
item.metadata = {};
|
|
142
|
+
}
|
|
143
|
+
item.metadata[models.Constants.DestinationUrlKey] = outputItemPath;
|
|
144
|
+
});
|
|
145
|
+
stream.on("error", (error) => {
|
|
146
|
+
if (settled) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
settled = true;
|
|
150
|
+
cleanupTempFile();
|
|
151
|
+
reject(error);
|
|
152
|
+
});
|
|
153
|
+
outputStream.on("error", (error) => {
|
|
154
|
+
if (settled) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
settled = true;
|
|
158
|
+
cleanupTempFile();
|
|
159
|
+
reject(error);
|
|
160
|
+
});
|
|
161
|
+
outputStream.on("finish", () => {
|
|
162
|
+
if (settled) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
try {
|
|
166
|
+
fs.renameSync(tempItemPath, outputItemPath);
|
|
167
|
+
}
|
|
168
|
+
catch (renameErr) {
|
|
169
|
+
settled = true;
|
|
170
|
+
cleanupTempFile();
|
|
171
|
+
reject(renameErr);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
settled = true;
|
|
175
|
+
this.artifactItemStore.updateFileSize(item, outputStream.bytesWritten);
|
|
176
|
+
resolve(item);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
catch (err) {
|
|
180
|
+
cleanupTempFile();
|
|
181
|
+
reject(err);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
try {
|
|
186
|
+
this.createValidatedDirectory(outputItemPath, item.path);
|
|
187
|
+
resolve(item);
|
|
188
|
+
}
|
|
189
|
+
catch (err) {
|
|
190
|
+
reject(err);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
getWriteOpenFlags() {
|
|
196
|
+
let flags = fs.constants.O_WRONLY | fs.constants.O_CREAT | fs.constants.O_TRUNC;
|
|
197
|
+
if (typeof fs.constants.O_NOFOLLOW === 'number') {
|
|
198
|
+
flags |= fs.constants.O_NOFOLLOW;
|
|
199
|
+
}
|
|
200
|
+
return flags;
|
|
201
|
+
}
|
|
202
|
+
getTempWritePath(outputItemPath) {
|
|
203
|
+
const dir = path.dirname(outputItemPath);
|
|
204
|
+
const base = path.basename(outputItemPath);
|
|
205
|
+
const unique = `${process.pid}-${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
206
|
+
return path.join(dir, `.${base}.tmp-${unique}`);
|
|
207
|
+
}
|
|
208
|
+
createSecurityRejection(messageKey, itemPath, cause) {
|
|
209
|
+
const err = new Error(tl.loc(messageKey, itemPath));
|
|
210
|
+
err.nonRetryable = true;
|
|
211
|
+
if (cause !== undefined && cause !== null) {
|
|
212
|
+
err.cause = cause;
|
|
213
|
+
}
|
|
214
|
+
try {
|
|
215
|
+
ci.publishEvent('pathValidationRejection', {
|
|
216
|
+
reason: messageKey,
|
|
217
|
+
causeCode: cause && cause.code ? cause.code : undefined,
|
|
218
|
+
pathValidationFlag: !!tl.getPipelineFeature("EnableArtifactEnginePathValidation"),
|
|
219
|
+
legacyPathValidationFlag: !!tl.getPipelineFeature("EnableLegacyArtifactPathValidation"),
|
|
220
|
+
os: os.platform(),
|
|
221
|
+
provider: 'filesystem'
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
catch (telemetryErr) {
|
|
225
|
+
// Telemetry must never block or fail the rejection it is reporting on.
|
|
226
|
+
}
|
|
227
|
+
return err;
|
|
228
|
+
}
|
|
229
|
+
// Creates a directory-type artifact's final path segment with the same symlink-safe
|
|
230
|
+
// guarantee as the intermediate segments in resolveSafeOutputPath, instead of an
|
|
231
|
+
// unchecked mkdirP call that would reopen the TOCTOU window the latter closes.
|
|
232
|
+
createValidatedDirectory(dirPath, itemPath) {
|
|
233
|
+
try {
|
|
234
|
+
fs.mkdirSync(dirPath);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
catch (err) {
|
|
238
|
+
if (!err || err.code !== 'EEXIST') {
|
|
239
|
+
throw err;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
let raceStat;
|
|
243
|
+
try {
|
|
244
|
+
raceStat = fs.lstatSync(dirPath);
|
|
245
|
+
}
|
|
246
|
+
catch (raceErr) {
|
|
247
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath, raceErr);
|
|
248
|
+
}
|
|
249
|
+
const resolvedRoot = path.resolve(this._rootLocation);
|
|
250
|
+
let realRoot;
|
|
251
|
+
try {
|
|
252
|
+
realRoot = fs.realpathSync(resolvedRoot);
|
|
253
|
+
}
|
|
254
|
+
catch (err) {
|
|
255
|
+
realRoot = resolvedRoot;
|
|
256
|
+
}
|
|
257
|
+
this.validateExistingIntermediateSegment(dirPath, raceStat, realRoot, itemPath);
|
|
258
|
+
}
|
|
259
|
+
validateExistingIntermediateSegment(current, stat, realRoot, itemPath) {
|
|
260
|
+
if (stat.isSymbolicLink()) {
|
|
261
|
+
let real;
|
|
262
|
+
try {
|
|
263
|
+
real = fs.realpathSync(current);
|
|
264
|
+
}
|
|
265
|
+
catch (err) {
|
|
266
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath, err);
|
|
267
|
+
}
|
|
268
|
+
const relToRoot = path.relative(realRoot, real);
|
|
269
|
+
if (relToRoot === '..'
|
|
270
|
+
|| relToRoot.startsWith('..' + path.sep)
|
|
271
|
+
|| path.isAbsolute(relToRoot)) {
|
|
272
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath);
|
|
273
|
+
}
|
|
274
|
+
return real;
|
|
275
|
+
}
|
|
276
|
+
if (!stat.isDirectory()) {
|
|
277
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath);
|
|
278
|
+
}
|
|
279
|
+
return current;
|
|
280
|
+
}
|
|
281
|
+
resolveSafeOutputPath(itemPath) {
|
|
282
|
+
const resolvedRoot = path.resolve(this._rootLocation);
|
|
283
|
+
const resolvedTarget = path.resolve(resolvedRoot, itemPath);
|
|
284
|
+
const relative = path.relative(resolvedRoot, resolvedTarget);
|
|
285
|
+
if (relative === '..'
|
|
286
|
+
|| relative.startsWith('..' + path.sep)
|
|
287
|
+
|| path.isAbsolute(relative)) {
|
|
288
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath);
|
|
289
|
+
}
|
|
290
|
+
if (relative !== '') {
|
|
291
|
+
tl.mkdirP(resolvedRoot);
|
|
292
|
+
}
|
|
293
|
+
let realRoot;
|
|
294
|
+
try {
|
|
295
|
+
realRoot = fs.realpathSync(resolvedRoot);
|
|
296
|
+
}
|
|
297
|
+
catch (err) {
|
|
298
|
+
realRoot = resolvedRoot;
|
|
299
|
+
}
|
|
300
|
+
const segments = relative.split(path.sep);
|
|
301
|
+
let current = realRoot;
|
|
302
|
+
for (let i = 0; i < segments.length - 1; i++) {
|
|
303
|
+
current = path.join(current, segments[i]);
|
|
304
|
+
let stat;
|
|
305
|
+
try {
|
|
306
|
+
stat = fs.lstatSync(current);
|
|
307
|
+
}
|
|
308
|
+
catch (err) {
|
|
309
|
+
if (err && err.code !== 'ENOENT') {
|
|
310
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath, err);
|
|
311
|
+
}
|
|
312
|
+
try {
|
|
313
|
+
fs.mkdirSync(current);
|
|
314
|
+
continue;
|
|
315
|
+
}
|
|
316
|
+
catch (mkdirErr) {
|
|
317
|
+
if (!mkdirErr || mkdirErr.code !== 'EEXIST') {
|
|
318
|
+
throw mkdirErr;
|
|
319
|
+
}
|
|
320
|
+
let raceStat;
|
|
321
|
+
try {
|
|
322
|
+
raceStat = fs.lstatSync(current);
|
|
323
|
+
}
|
|
324
|
+
catch (raceErr) {
|
|
325
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath, raceErr);
|
|
326
|
+
}
|
|
327
|
+
current = this.validateExistingIntermediateSegment(current, raceStat, realRoot, itemPath);
|
|
328
|
+
continue;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
current = this.validateExistingIntermediateSegment(current, stat, realRoot, itemPath);
|
|
332
|
+
}
|
|
333
|
+
const finalPath = path.join(current, segments[segments.length - 1]);
|
|
334
|
+
try {
|
|
335
|
+
const finalStat = fs.lstatSync(finalPath);
|
|
336
|
+
if (finalStat.isSymbolicLink()) {
|
|
337
|
+
throw this.createSecurityRejection("ArtifactPathIsSymlink", itemPath);
|
|
338
|
+
}
|
|
339
|
+
if (!finalStat.isFile() && !finalStat.isDirectory()) {
|
|
340
|
+
throw this.createSecurityRejection("ArtifactPathIsSpecialFile", itemPath);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
catch (err) {
|
|
344
|
+
if (err && err.nonRetryable) {
|
|
345
|
+
throw err;
|
|
346
|
+
}
|
|
347
|
+
if (err && err.code !== 'ENOENT') {
|
|
348
|
+
throw this.createSecurityRejection("InvalidArtifactPath", itemPath, err);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
return finalPath;
|
|
352
|
+
}
|
|
104
353
|
isCaseInsensitiveFilesystem() {
|
|
105
354
|
if (!this._hasDeterminedFilesystemCaseSensitivity) {
|
|
106
355
|
try {
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "Fehler beim Analysieren des Antworttexts: %s. Erhaltener Fehler: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "Download von \"%s\" nach \"%s\" wird durchgeführt.",
|
|
5
5
|
"loc.messages.DownloadedTo": "Download von \"%s\" nach \"%s\" wurde durchgeführt.",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "Der Artifactpfad \"%s\" liegt außerhalb des Downloadverzeichnisses.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "Der Artifactpfad \"%s\" ist bereits ein symbolischer Link und wurde abgelehnt.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "Der Artifactpfad \"%s\" ist bereits eine Datei mit einem Hardlink und wurde abgelehnt.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "Der Artifactpfad \"%s\" ist bereits eine Datei, die kein regulärer Dateityp ist (z. B. ein Gerät, eine Pipe oder ein Socket), und wurde abgelehnt.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "Das Verzeichnis \"%s\" kann nicht gelesen werden. Fehler: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Download von \"%s\" wird erneut versucht, Wiederholungsanzahl: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Die Verarbeitung des Elements \"%s\" wird übersprungen.",
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
"loc.messages.DownloadingTo": "Downloading %s to %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "Downloaded %s to %s",
|
|
6
6
|
"loc.messages.InvalidArtifactPath": "Artifact path %s resolves outside the download directory.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "Artifact path %s already exists as a symbolic link and was rejected.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "Artifact path %s already exists as a hard-linked file and was rejected.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "Artifact path %s already exists as a non-regular file (e.g. a device, pipe, or socket) and was rejected.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "Unable to read directory %s. Error: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Retrying download of %s, retry count: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Skipped processing item %s",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "No se pudo analizar el cuerpo de la respuesta: %s. Error: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "Descargando %s en %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "%s descargado en %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "La ruta de acceso del artefacto %s se resuelve fuera del directorio de descarga.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "La ruta de acceso del artefacto %s ya existe como vínculo simbólico y se rechazó.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "La ruta de acceso del artefacto %s ya existe como archivo con vínculo físico y se rechazó.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "La ruta de acceso del artefacto %s ya existe como archivo no habitual (por ejemplo, un dispositivo, una canalización o un socket) y se rechazó.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "No se puede leer el directorio %s. Error: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Reintentando la descarga de %s, número de reintentos: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Procesamiento de %s omitido",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "Échec d’analyse du corps de la réponse : %s, erreur : %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "Téléchargement de %s à %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "Téléchargé de %s à %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "Le chemin d’accès de l’artefact %s se résout en dehors du répertoire de téléchargement.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "Le chemin d’accès de l’artefact %s existe déjà en tant que lien symbolique et a été rejeté.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "Le chemin d’accès de l’artefact %s existe déjà en tant que fichier à liens physiques et a été rejeté.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "Le chemin d’accès de l’artefact %s existe déjà en tant que fichier non standard (par exemple, un périphérique, un tube ou un socket) et a été rejeté.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "Impossible de lire le répertoire %s. Erreur : %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Nouvelle tentative de téléchargement de %s, nombre de tentatives : %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Traitement de l’élément ignoré %s",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "Non è stato possibile analizzare il corpo della risposta: %s. Errore restituito: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "Download di %s in %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "%s scaricato in %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "Il percorso dell'artifact %s viene risolto all'esterno della directory di download.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "Il percorso dell'artifact %s esiste già come collegamento simbolico ed è stato rifiutato.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "Il percorso dell'artifact %s esiste già come file con collegamento fisico ed è stato rifiutato.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "Il percorso dell'artifact %s esiste già come file non normale (ad esempio un dispositivo, una pipe o un socket) ed è stato rifiutato.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "Non è possibile leggere la directory %s. Errore: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Nuovo tentativo di download di %s. Conteggio dei tentativi: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Elaborazione dell'elemento %s ignorata",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "応答本文を解析できませんでした: %s、エラー発生: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "%s を %s へダウンロード中",
|
|
5
5
|
"loc.messages.DownloadedTo": "%s を %s へダウンロード済み",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "アーティファクト パス %s はダウンロード ディレクトリの外部に解決されます。",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "アーティファクト パス %s は既にシンボリック リンクとして存在するため、拒否されました。",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "アーティファクト パス %s は既にハード リンクされたファイルとして存在するため、拒否されました。",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "アーティファクト パス %s は既に特殊ファイル (デバイス、パイプ、ソケットなど) として存在するため、拒否されました。",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "ディレクトリ %s を読み取ることができません。エラー: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "%s のダウンロードを再試行しています。再試行回数: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "項目 %s の処理をスキップしました",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "응답 본문 %s을(를) 구문 분석하지 못했습니다. 오류: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "%s을(를) %s에 다운로드하는 중",
|
|
5
5
|
"loc.messages.DownloadedTo": "%s을(를) %s에 다운로드함",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "아티팩트 경로 %s이(가) 다운로드 디렉터리 외부로 확인됩니다.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "아티팩트 경로 %s이(가) 이미 심볼릭 링크로 존재하여 거부되었습니다.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "아티팩트 경로 %s이(가) 이미 하드 링크된 파일로 존재하여 거부되었습니다.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "아티팩트 경로 %s이(가) 이미 일반 파일이 아닌 파일(예: 장치, 파이프 또는 소켓)로 존재하여 거부되었습니다.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "디렉터리 %s을(를) 읽을 수 없습니다. 오류: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "%s 다운로드를 다시 시도하는 중, 다시 시도 횟수: %s회",
|
|
9
12
|
"loc.messages.SkippingItem": "항목 %s의 처리를 건너뜀",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "Не удалось проанализировать текст ответа: %s. Ошибка: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "Идет скачивание %s в %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "Скачано %s в %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "Путь к артефакту %s указывает за пределы каталога скачивания.",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "Путь к артефакту %s уже существует как символическая ссылка и был отклонен.",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "Путь к артефакту %s уже существует как файл с жесткой ссылкой и был отклонен.",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "Путь к артефакту %s уже существует как нестандартный файл (например, устройство, канал или сокет) и был отклонен.",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "Не удается считать каталог %s. Ошибка: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "Повторная попытка скачать %s, всего попыток: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "Пропущена обработка элемента %s",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "未能分析响应正文: %s,显示错误: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "正在将 %s 下载至 %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "已将 %s 下载至 %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "项目路径 %s 解析到下载目录之外。",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "项目路径 %s 已作为符号链接存在,已被拒绝。",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "项目路径 %s 已作为硬链接文件存在,已被拒绝。",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "项目路径 %s 已作为非常规文件(例如设备、管道或套接字)存在,已被拒绝。",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "未能读取目录 %s。错误: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "重新尝试下载 %s,重试计数: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "已跳过处理项目 %s",
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"loc.messages.FailedToParseResponse": "無法剖析回應主體: %s,收到錯誤: %s",
|
|
4
4
|
"loc.messages.DownloadingTo": "正在將 %s 下載到 %s",
|
|
5
5
|
"loc.messages.DownloadedTo": "已將 %s 下載到 %s",
|
|
6
|
-
"loc.messages.InvalidArtifactPath": "
|
|
6
|
+
"loc.messages.InvalidArtifactPath": "成品路徑 %s 解析到下載目錄外部。",
|
|
7
|
+
"loc.messages.ArtifactPathIsSymlink": "成品路徑 %s 已作為符號連結存在,已遭拒絕。",
|
|
8
|
+
"loc.messages.ArtifactPathIsHardLinked": "成品路徑 %s 已作為硬連結檔案存在,已遭拒絕。",
|
|
9
|
+
"loc.messages.ArtifactPathIsSpecialFile": "成品路徑 %s 已作為非一般檔案 (例如裝置、管道或通訊端) 存在,已遭拒絕。",
|
|
7
10
|
"loc.messages.UnableToReadDirectory": "無法讀取目錄 %s。錯誤: %s",
|
|
8
11
|
"loc.messages.RetryingDownload": "正在重試下載 %s,重試次數: %s",
|
|
9
12
|
"loc.messages.SkippingItem": "已跳過處理項目 %s",
|
package/lib.json
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
"DownloadingTo": "Downloading %s to %s",
|
|
6
6
|
"DownloadedTo": "Downloaded %s to %s",
|
|
7
7
|
"InvalidArtifactPath": "Artifact path %s resolves outside the download directory.",
|
|
8
|
+
"ArtifactPathIsSymlink": "Artifact path %s already exists as a symbolic link and was rejected.",
|
|
9
|
+
"ArtifactPathIsHardLinked": "Artifact path %s already exists as a hard-linked file and was rejected.",
|
|
10
|
+
"ArtifactPathIsSpecialFile": "Artifact path %s already exists as a non-regular file (e.g. a device, pipe, or socket) and was rejected.",
|
|
8
11
|
"UnableToReadDirectory": "Unable to read directory %s. Error: %s",
|
|
9
12
|
"RetryingDownload": "Retrying download of %s, retry count: %s",
|
|
10
13
|
"SkippingItem": "Skipped processing item %s",
|