@eui/tools 6.14.15 → 6.14.17

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.
@@ -1 +1 @@
1
- 6.14.15
1
+ 6.14.17
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.14.17 (2023-12-11)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * remove clone of devops-metadata for local install - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([557ce0f1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/557ce0f14bb44b8cc6a5e52ff8480cdda52ef45e))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.14.16 (2023-12-10)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * wrong fetch of old-remote flag - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([c911d2d4](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c911d2d4e37153661ea907da894cd23dab1c6641))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.14.15 (2023-12-10)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.14.15",
3
+ "version": "6.14.17",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
package/sandbox.js CHANGED
@@ -1477,7 +1477,7 @@ const publishUtils = require('./scripts/utils/publish/publish-utils');
1477
1477
  // });
1478
1478
  // })
1479
1479
 
1480
- // test commit history gathering
1480
+ // TODO test commit history gathering when hotfix is compared as old
1481
1481
 
1482
1482
  // "name": "eac-pmm-lib-ui",
1483
1483
  // "old": "3.17.2-3",
@@ -1495,9 +1495,9 @@ const publishUtils = require('./scripts/utils/publish/publish-utils');
1495
1495
  // "old": "3.27.3-2",
1496
1496
  // "new": "3.28.0",
1497
1497
 
1498
- Promise.resolve()
1499
- .then(() => {
1500
- // const test = configUtils.packages.isRemote('sedia-mop-eui10-remote-el-ui');
1501
- const test = configUtils.packages.isRemote('sedia-mop-ui');
1502
- console.log(test);
1503
- })
1498
+ // Promise.resolve()
1499
+ // .then(() => {
1500
+ // // const test = configUtils.packages.isRemote('sedia-mop-eui10-remote-el-ui');
1501
+ // // const test = configUtils.packages.isRemote('sedia-mop-ui');
1502
+ // // console.log(test);
1503
+ // })
@@ -247,7 +247,11 @@ module.exports.isRemote = (pkgName) => {
247
247
  const packagesConfig = require(path.join(process.cwd(), '.csdr', '.euirc-csdr-packages.json'));
248
248
  const packageConfig = packagesConfig[pkgName];
249
249
 
250
- return packageConfig.remote || false;
250
+ if (packageConfig) {
251
+ return packageConfig.remote || false;
252
+ } else {
253
+ return false;
254
+ }
251
255
  }
252
256
 
253
257
  module.exports.getBuildablePackagesWithDeps = () => {
@@ -15,10 +15,6 @@ module.exports.installPackage = (pkgName) => {
15
15
  const pkg = configUtils.packages.getPackage(pkgName, false, true);
16
16
 
17
17
  return Promise.resolve()
18
- .then(() => {
19
- return metadataUtils.common.cloneMetadataRepo(true);
20
- })
21
-
22
18
  .then(() => {
23
19
  if (pkg.remote) {
24
20
  return innerRemotes.installDeps(pkg);
@@ -38,10 +34,6 @@ module.exports.installRemote = (remoteName) => {
38
34
  const remote = configUtils.remotes.getRemote(remoteName);
39
35
 
40
36
  return Promise.resolve()
41
- .then(() => {
42
- return metadataUtils.common.cloneMetadataRepo(true);
43
- })
44
-
45
37
  .then(() => {
46
38
  return innerRemotes.installDeps(remote);
47
39
  })
@@ -60,11 +52,6 @@ module.exports.install = (providedDeps) => {
60
52
  }
61
53
 
62
54
  return Promise.resolve()
63
-
64
- // .then(() => {
65
- // return metadataUtils.common.cloneMetadataRepo(true);
66
- // })
67
-
68
55
  // getting internal packages deps - cloned locally
69
56
  .then(() => {
70
57
  return innerPackages.getLocalPackagesDeps();
@@ -35,11 +35,6 @@ module.exports.run = () => {
35
35
  utils.tools.logVersion();
36
36
  })
37
37
 
38
- // FOR UI and REMOTES clone metadata repositories
39
- .then(() => {
40
- return innerCommon.cloneMetadataReposCentral();
41
- })
42
-
43
38
  // INSTALL dependencies by type
44
39
  .then(() => {
45
40
  return Promise.resolve()
@@ -175,20 +175,6 @@ module.exports.cloneMetadataRepos = (pkg) => {
175
175
  }
176
176
 
177
177
 
178
- module.exports.cloneMetadataReposCentral = () => {
179
- utils.tools.logBanner('CLONE CENTRAL METADATA REPO');
180
-
181
- return Promise.resolve()
182
- .then(() => {
183
- // cloning metadata repo as further installation is based on historical builds from the past
184
- return metadataUtils.common.cloneMetadataRepo(true);
185
- })
186
- .catch((e) => {
187
- throw e;
188
- })
189
- }
190
-
191
-
192
178
  module.exports.preReleaseChecks = (pkg) => {
193
179
  utils.tools.logBanner('PRE-RELEASE checks');
194
180
 
@@ -157,13 +157,6 @@ module.exports.run = () => {
157
157
  }
158
158
  })
159
159
 
160
- // STORING PACKAGE HISTORY
161
- .then(() => {
162
- if (branches.isMaster) {
163
- return innerCommon.generateDiffReport(pkg, newVersion);
164
- }
165
- })
166
-
167
160
  // COMMITING METADATA
168
161
  .then(() => {
169
162
  if (branches.isMaster) {
@@ -119,9 +119,7 @@ module.exports.run = () => {
119
119
 
120
120
  // STORING PACKAGE HISTORY
121
121
  .then(() => {
122
- if (branches.isMaster && pkg.remote) {
123
- return innerCommon.generateDiffReport(pkg, newVersion);
124
- }
122
+ return innerCommon.generateDiffReport(pkg, newVersion);
125
123
  })
126
124
 
127
125
  // COMMITING METADATA
@@ -132,9 +130,7 @@ module.exports.run = () => {
132
130
 
133
131
  // EXPORT ADDITIONAL PIPELINE VARIABLES
134
132
  .then(() => {
135
- if (pkg.remote) {
136
- return innerCommon.exportPipelineVariables(pkg, compositeType);
137
- }
133
+ return innerCommon.exportPipelineVariables(pkg, compositeType);
138
134
  })
139
135
 
140
136
  // SEND SUCCESS NOTIFICATION