@opentermsarchive/engine 0.22.0 → 0.24.0
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/README.md +2 -3
- package/config/production.json +0 -3
- package/package.json +1 -1
- package/config/contrib.json +0 -35
- package/config/dating.json +0 -37
- package/config/france.json +0 -40
- package/config/p2b-compliance.json +0 -40
- package/config/pga.json +0 -40
- package/config/vagrant.json +0 -24
package/README.md
CHANGED
|
@@ -371,7 +371,7 @@ The default configuration can be found in `config/default.json`. The full refere
|
|
|
371
371
|
}
|
|
372
372
|
```
|
|
373
373
|
|
|
374
|
-
The default configuration is merged with (and overridden by) environment-specific configuration that can be specified at startup with the `NODE_ENV` environment variable.
|
|
374
|
+
The default configuration is merged with (and overridden by) environment-specific configuration that can be specified at startup with the `NODE_ENV` environment variable. See [node-config](https://github.com/node-config/node-config) for more information about configuration files.
|
|
375
375
|
|
|
376
376
|
In order to have a local configuration that override all exisiting config, it is recommended to create a `config/development.json` file with overridden values.
|
|
377
377
|
|
|
@@ -426,8 +426,7 @@ If an outgoing HTTP/HTTPS proxy to access the Internet is required, it is possib
|
|
|
426
426
|
|
|
427
427
|
## Deploying
|
|
428
428
|
|
|
429
|
-
Deployment
|
|
430
|
-
|
|
429
|
+
Deployment recipes are available in a [dedicated repository](https://github.com/OpenTermsArchive/deployment). Look at the [README](https://github.com/OpenTermsArchive/deployment#readme) to know how to deploy the engine.
|
|
431
430
|
## Contributing
|
|
432
431
|
|
|
433
432
|
### Getting a copy
|
package/config/production.json
CHANGED
package/package.json
CHANGED
package/config/contrib.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/contrib-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"snapshotIdentiferTemplate": "mongo://contrib/open-terms-archive/snapshots/%SNAPSHOT_ID",
|
|
10
|
-
"repository": "git@github.com:OpenTermsArchive/contrib-versions.git"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"snapshots": {
|
|
15
|
-
"storage": {
|
|
16
|
-
"type": "mongo"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"notifier": {
|
|
21
|
-
"sendInBlue": {
|
|
22
|
-
"updatesListId": 596,
|
|
23
|
-
"updateTemplateId": 39
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"tracker": {
|
|
27
|
-
"githubIssues": {
|
|
28
|
-
"repository": "OpenTermsArchive/contrib-declarations"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"dataset": {
|
|
32
|
-
"title": "contrib",
|
|
33
|
-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/contrib-versions"
|
|
34
|
-
}
|
|
35
|
-
}
|
package/config/dating.json
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/dating-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/dating-snapshots/commit/%SNAPSHOT_ID",
|
|
10
|
-
"repository": "git@github.com:OpenTermsArchive/dating-versions.git"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"snapshots": {
|
|
15
|
-
"storage": {
|
|
16
|
-
"git": {
|
|
17
|
-
"repository": "git@github.com:OpenTermsArchive/dating-snapshots.git"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"notifier": {
|
|
23
|
-
"sendInBlue": {
|
|
24
|
-
"updatesListId": 594,
|
|
25
|
-
"updateTemplateId": 40
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"tracker": {
|
|
29
|
-
"githubIssues": {
|
|
30
|
-
"repository": "OpenTermsArchive/dating-declarations"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"dataset": {
|
|
34
|
-
"title": "dating",
|
|
35
|
-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/dating-versions"
|
|
36
|
-
}
|
|
37
|
-
}
|
package/config/france.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/france-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/france-snapshots/commit/%SNAPSHOT_ID",
|
|
10
|
-
"repository": "git@github.com:OpenTermsArchive/france-versions.git"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"snapshots": {
|
|
15
|
-
"storage": {
|
|
16
|
-
"git": {
|
|
17
|
-
"repository": "git@github.com:OpenTermsArchive/france-snapshots.git"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"fetcher": {
|
|
23
|
-
"language": "fr"
|
|
24
|
-
},
|
|
25
|
-
"notifier": {
|
|
26
|
-
"sendInBlue": {
|
|
27
|
-
"updatesListId": 595,
|
|
28
|
-
"updateTemplateId": 42
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"tracker": {
|
|
32
|
-
"githubIssues": {
|
|
33
|
-
"repository": "OpenTermsArchive/france-declarations"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"dataset": {
|
|
37
|
-
"title": "france",
|
|
38
|
-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/france-versions"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/p2b-compliance-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/p2b-compliance-snapshots/commit/%SNAPSHOT_ID",
|
|
10
|
-
"repository": "git@github.com:OpenTermsArchive/p2b-compliance-versions.git"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"snapshots": {
|
|
15
|
-
"storage": {
|
|
16
|
-
"git": {
|
|
17
|
-
"repository": "git@github.com:OpenTermsArchive/p2b-compliance-snapshots.git"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"fetcher": {
|
|
23
|
-
"language": "en"
|
|
24
|
-
},
|
|
25
|
-
"notifier": {
|
|
26
|
-
"sendInBlue": {
|
|
27
|
-
"updatesListId": 861,
|
|
28
|
-
"updateTemplateId": 56
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"tracker": {
|
|
32
|
-
"githubIssues": {
|
|
33
|
-
"repository": "OpenTermsArchive/p2b-compliance-declarations"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"dataset": {
|
|
37
|
-
"title": "p2b-compliance",
|
|
38
|
-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/p2b-compliance-versions"
|
|
39
|
-
}
|
|
40
|
-
}
|
package/config/pga.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/pga-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/pga-snapshots/commit/%SNAPSHOT_ID",
|
|
10
|
-
"repository": "git@github.com:OpenTermsArchive/pga-versions.git"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"snapshots": {
|
|
15
|
-
"storage": {
|
|
16
|
-
"git": {
|
|
17
|
-
"repository": "git@github.com:OpenTermsArchive/pga-snapshots.git"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"fetcher": {
|
|
23
|
-
"language": "en"
|
|
24
|
-
},
|
|
25
|
-
"notifier": {
|
|
26
|
-
"sendInBlue": {
|
|
27
|
-
"updatesListId": 855,
|
|
28
|
-
"updateTemplateId": 41
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"tracker": {
|
|
32
|
-
"githubIssues": {
|
|
33
|
-
"repository": "OpenTermsArchive/pga-declarations"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"dataset": {
|
|
37
|
-
"title": "pga",
|
|
38
|
-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/pga-versions"
|
|
39
|
-
}
|
|
40
|
-
}
|
package/config/vagrant.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"services": {
|
|
3
|
-
"repository": "https://github.com/OpenTermsArchive/contrib-declarations.git"
|
|
4
|
-
},
|
|
5
|
-
"recorder": {
|
|
6
|
-
"versions": {
|
|
7
|
-
"storage": {
|
|
8
|
-
"git": {
|
|
9
|
-
"repository": "git@github.com:OpenTermsArchive/sandbox-versions.git"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"snapshots": {
|
|
14
|
-
"storage": {
|
|
15
|
-
"git": {
|
|
16
|
-
"repository": "git@github.com:OpenTermsArchive/sandbox-snapshots.git"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"logger": {
|
|
22
|
-
"sendMailOnError": false
|
|
23
|
-
}
|
|
24
|
-
}
|