Chawye Hsu
f6062855ba
feat(manifest): xpath support in checkver and autoupdate ( #3458 )
2019-05-13 21:06:26 +02:00
Richard Kuhnt
59e994c5fd
schema: extract_to property is on active duty (not deprecated)
...
close #3312
2019-04-08 18:47:18 +02:00
Jakub Čábera
bc8985402a
[Schema] Add metalink mode to hashmode ( #3170 )
...
* [Schema] Add metalink mode
Schema is missing property for metalink
See: https://github.com/lukesampson/scoop/blob/57b0b0e1eb2c946ca74541b2464d3e61e195e979/lib/autoupdate.ps1#L213-L218
* Make fosshub and sourceforge same as other methods
2019-03-04 14:00:16 +01:00
Richard Kuhnt
aefba66bf5
schema.json: Switch to JSON Schema Draft-07
2019-02-24 13:20:44 +01:00
Hsiao-nan Cheung
50edae2542
json schema: Add bracket-notation in jsonpath pattern ( #3010 )
2019-01-20 13:25:26 +01:00
Richard Kuhnt
696f2e2e22
schema.json: Add example SPDX license identifiers to schema
2018-11-03 20:43:23 +01:00
Richard Kuhnt
8feb3867a7
checkver: add 'useragent' property
2018-09-18 19:31:23 +02:00
Richard Kuhnt
3453487ed6
autoupdate: add 'regex' alias for 'find'
2018-09-18 19:30:18 +02:00
Richard Kuhnt
76fdb6b74c
checkver: add 'jsonpath' alias for 'jp'
2018-09-18 19:29:48 +02:00
Richard Kuhnt
468649c88d
checkver: Add 're' alias 'regex'
2018-09-18 18:56:40 +02:00
Ross Smith II
b5ed0761ae
Improve comments in schema.json
2018-07-17 08:32:30 -07:00
Ross Smith II
15e3c25ea3
Fix license attributes to SPDX standard ( #2377 )
2018-07-10 18:06:40 -07:00
Ross Smith II
5e8a0feb6e
Change multiline strings to arrays ( #2363 )
2018-07-07 23:16:09 +02:00
Richard Kuhnt
b4b4fda456
Remove description description from schema.json
2018-05-13 13:31:37 +02:00
Richard Kuhnt
0c7e60024a
Add shortcutsArray definition to schema.json
2018-01-08 17:48:01 +01:00
Richard Kuhnt
5308c9b043
Change installer keep property to boolean
2018-01-04 13:40:23 +01:00
Richard Kuhnt
24ac1fe36e
Add replace to schema.json (related to #1709 )
2017-09-28 20:41:46 +02:00
Richard Kuhnt
8098bf58b7
Add reverse property to checkver ( #1630 )
...
* Add reverse property to checkver
If set to true, the regex matches get reversed. This helps to find new versions in directory listings. (see x264)
* Update x264 to version 2851
2017-09-10 17:53:31 +02:00
Richard Kuhnt
6e5793dca4
Fix required properties for un/installer in schema.json
2017-08-22 15:29:11 +02:00
Richard Kuhnt
5af29e1b25
Add script to un/installer property
...
Allow custom installer and uninstaller scripts without creating/downloading *.ps1 files (could also be used to clean-up post_install and pre_install scripts)
2017-08-21 12:52:22 +02:00
Luke Sampson
43265f59e7
Use ## for manifest comments.
2017-06-20 21:46:47 +10:00
Richard Kuhnt
884a7a3361
Allow architecture specific shortcuts for special cases like dont-sleep or mpc-hc
2017-05-23 22:28:49 +02:00
Richard Kuhnt
d138445417
Make tests pass for $baseurl
2017-05-15 13:24:49 +02:00
Richard Kuhnt
58db09593f
Mark hash type as deprecated in schema.json
2017-05-14 04:53:30 +02:00
Richard Kuhnt
7fc0aa8d8c
Add hash extraction for each architecture to schema
2017-04-15 13:12:28 +02:00
Richard Kuhnt
05a5e6e1b5
Remove hash type from manifest schema
2017-04-14 18:02:44 +02:00
Richard Kuhnt
a563f753e1
Hash url should at least $url somewhere
2017-04-02 23:01:28 +02:00
Rémy
9afe014dca
add persist to JSON schema.json
2017-03-25 16:28:05 +01:00
Rémy
6b41096c05
fix the schema reference on the schema 🤺
2017-03-25 16:28:05 +01:00
Rémy
9388c90232
remove travel_dir partial implementation
2017-03-25 16:28:05 +01:00
Richard Kuhnt
2e5bf31bde
Add testing for valid hashs
2017-03-08 17:47:47 +01:00
Richard Kuhnt
825f19aa52
Add jsonpath support for checkver and hash extraction
...
Unravel if-blocks in checkver
Use new jsonpath for openssl, nuget, dart and bfg
2017-03-03 21:15:37 +01:00
Richard Kuhnt
ecd2d16143
Improve schema
...
* Use architecture definition
* Arrays of string shouldn't be empty
* Add back uniqueItems directive
* match version against pattern from install.ps1
* reindent
2017-02-18 17:57:56 +01:00
Richard Kuhnt
1feda7a088
[WIP] Validate manifests against JSON Schema in CI Tests ( #1331 )
...
* Add suggest and psmodule to schema.json
* Fix required fields in schema.json
* Improve url validation in schema.json
* Add validator.exe as a single file validation tool
* Add Scoop.Validator Lib for use in Manifest-Tests
* Add buildscript for Scoop.Validator and validator.exe
* Exclude .dll and packages folder from Project-Tests
* Validate manifests against JSON Schema in CI Tests
* Complete JSON Schema Validation
* Dlls shouldn't be treated as text
2017-02-17 19:00:56 +01:00
Ross Smith II
7d76dd5da1
Update descriptions in schema
2017-01-12 10:35:33 -08:00
Ross Smith II
c5ba44eb19
Add documentation to schema
2017-01-12 09:12:10 -08:00
Ross Smith II
c0f8e9800c
Add nl to schema.json
2017-01-12 08:27:15 -08:00
Ross Smith II
a319cad826
Add manifest schema (all manifests pass)
2017-01-12 07:18:06 -08:00