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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,22 @@
2
2
3
3
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
5
+
## Unreleased [major]
6
+
7
+
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
const{ applyTechnicalUpgrades }=awaitimport(pathToFileURL(path.resolve(__dirname,'../src/index.js')));// load asynchronously to ensure env.js is loaded before
12
+
13
+
program
14
+
.name('ota apply-technical-upgrades')
15
+
.description('Apply technical upgrades by generating new versions from the latest snapshots using updated declarations, engine logic, or dependencies, and by retrieving any missing snapshots for newly added source documents')
16
+
.option('-s, --services [serviceId...]','service IDs to apply technical upgrades to')
17
+
.option('-t, --types [termsType...]','terms types to apply technical upgrades to');
Copy file name to clipboardExpand all lines: bin/ota.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ program
11
11
.description(description)
12
12
.version(version)
13
13
.command('track','Track the current terms of services according to provided declarations')
14
+
.command('apply-technical-upgrades','Apply technical upgrades by generating new versions from the latest snapshots using updated declarations, engine logic, or dependencies')
14
15
.command('validate','Run a series of tests to check the validity of terms declarations')
15
16
.command('lint','Check format and stylistic errors in declarations and auto fix them')
16
17
.command('dataset','Export the versions dataset into a ZIP file and optionally publish it to GitHub releases')
awaitthis.fetchAndRecordNewSourceDocuments(terms);// In technical upgrade mode, fetch and record snapshots only for new source documents that don't have existing snapshots yet (e.g., when a declaration is updated to add a new source document)
0 commit comments