@eui/tools 6.21.116 → 6.21.118
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/.version.properties +1 -1
- package/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/scripts/csdr/init/projects.js +7 -3
- package/scripts/utils/git-utils.js +6 -2
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.118
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 6.21.118 (2025-09-05)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted to handle script-eui-tools.json import for hybrid bitbucket / gitlab local install - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([1a8f7beb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1a8f7bebb810527bd92ba7799133bb3e7de93902))
|
|
7
|
+
* adapted to handle script-eui-tools.json import for hybrid bitbucket / gitlab local install ([7d006b89](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/7d006b89272d5b0182b7c6095c0632add1546e9d))
|
|
8
|
+
|
|
9
|
+
* * *
|
|
10
|
+
* * *
|
|
11
|
+
## 6.21.117 (2025-09-05)
|
|
12
|
+
|
|
13
|
+
##### Chores
|
|
14
|
+
|
|
15
|
+
* **other:**
|
|
16
|
+
* debug clone error - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([202f40a9](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/202f40a9bfb84d376b4264e4075d57645f22d3d1))
|
|
17
|
+
|
|
18
|
+
* * *
|
|
19
|
+
* * *
|
|
1
20
|
## 6.21.116 (2025-09-05)
|
|
2
21
|
|
|
3
22
|
##### Chores
|
package/package.json
CHANGED
|
@@ -22,11 +22,15 @@ module.exports.importScripts = () => {
|
|
|
22
22
|
projects.forEach((p) => {
|
|
23
23
|
tools.logInfo(`Project : ${p.name}`);
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
let scriptsFile = path.join(process.cwd(), p.folder, 'scripts-eui-tools.json');
|
|
26
26
|
if (!tools.isFileExists(scriptsFile)) {
|
|
27
|
-
|
|
27
|
+
scriptsFile = path.join(process.cwd(), p.folder, 'scripts.json');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (!tools.isFileExists(scriptsFile)) {
|
|
31
|
+
tools.logInfo('no scripts.json or scripts-eui-tools.json file found - skipping');
|
|
28
32
|
} else {
|
|
29
|
-
tools.logInfo('Processing scripts.json file');
|
|
33
|
+
tools.logInfo('Processing scripts-eui-tools.json file');
|
|
30
34
|
const scriptsJson = require(scriptsFile);
|
|
31
35
|
rootPackageJson.scripts = { ...rootPackageJson.scripts, ...scriptsJson };
|
|
32
36
|
}
|
|
@@ -269,7 +269,11 @@ const getGitHost = (externalRepo, sdlc = false) => {
|
|
|
269
269
|
if (externalRepo) {
|
|
270
270
|
return config.git.externals.remote;
|
|
271
271
|
} else {
|
|
272
|
-
|
|
272
|
+
if (sdlc) {
|
|
273
|
+
return config.git.sdlc;
|
|
274
|
+
} else {
|
|
275
|
+
return config.git.remote;
|
|
276
|
+
}
|
|
273
277
|
}
|
|
274
278
|
}
|
|
275
279
|
}
|
|
@@ -342,6 +346,7 @@ const cloneRepo = (repoUri, folder, forced = false, shallow = false, externalRep
|
|
|
342
346
|
auth = process.env.gituser_sdlc && process.env.gitpassword_sdlc ? `${process.env.gituser_sdlc}:${process.env.gitpassword_sdlc}@` : '';
|
|
343
347
|
}
|
|
344
348
|
const gitHost = getGitHost(externalRepo, sdlc);
|
|
349
|
+
tools.logInfo(`git host : ${gitHost}`);
|
|
345
350
|
|
|
346
351
|
if (shallow) {
|
|
347
352
|
execa.shellSync(`git clone --depth 1 https://${auth}${gitHost}${repoUri} ${folder}`);
|
|
@@ -361,7 +366,6 @@ const cloneRepo = (repoUri, folder, forced = false, shallow = false, externalRep
|
|
|
361
366
|
if (!build) {
|
|
362
367
|
console.log(e);
|
|
363
368
|
}
|
|
364
|
-
console.log(e);
|
|
365
369
|
throw new Error(`Error trying to clone ${repoUri} into ${folder}`);
|
|
366
370
|
})
|
|
367
371
|
}
|