Commit Graph

61 Commits

Author SHA1 Message Date
Hsiao-nan Cheung 2474ab73e4 builds(schema): Add 'installer' and 'shortcuts' to 'autoupdate' (#5220) 2022-10-25 23:51:36 +08:00
Rashil Gandhi 7a599f062f feat(install): Add support for ARM64 architecture (#5154)
* Initial support for ARMv8

* Add fallback mechanism

* Update changelog

* Update useragent

* Some typo and format changes

* Use `env:ProgramFiles(Arm)` to detect ARM64

- Move `default_architecture()` to `core.ps1`

* Rename 'ensure_architecture()' and 'default_architecture()'

* Refactor 'supports_architecture()' to 'Get-SupportedArchitecture()'

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-09-28 04:19:03 +05:30
Hsiao-nan Cheung 146dab60d1 builds(schema): Remove 'object' from 'anyOf' under 'sourceforge' (#5163) 2022-09-26 20:14:31 +08:00
Hsiao-nan Cheung 04595b417a builds(checkver): Implement SourceForge checkver functionality (#5113)
Co-authored-by: Mathias Hermansson <mathias.hermansson@se.ibm.com>
2022-09-26 19:56:40 +08:00
Chawye Hsu dea9ebb01a builds(schema): Set manifest schema to be stricter (#5093) 2022-08-21 19:58:27 +08:00
Chawye Hsu dd0f51426b feat(core): Add pre_uninstall and post_uninstall hooks (#4957) 2022-06-02 00:34:57 +08:00
Hsiao-nan Cheung f6679c2170 build(schema): Remove 'description' from required fields (#4853) 2022-04-03 00:35:13 +08:00
Hsiao-nan Cheung 5f407ca434 build(schema): Fix typo ('note' -> 'notes') (#4678) 2022-01-20 23:08:40 +08:00
Parker Mauney 92c89f86ed build(schema): Add explicit escape to opening bracket matcher in jp/jsonpath regex (#3719) 2022-01-08 20:07:29 +08:00
caoli5288 3c5f5ff20a build(schema): Add '$schema' property (#4623) 2022-01-07 02:57:28 +08:00
Hsiao-nan Cheung 5d8aeb54bb test(test-bin): Only write output file in CI and fix trailing whitespaces (#4613) 2021-12-31 02:14:53 +08:00
Hsiao-nan Cheung 0d1ad20869 Sync branch 'master' 2021-12-26 23:03:38 +08:00
Hsiao-nan Cheung 5602083868 fix(schema): Add 'license' definition (#4596)
* fix(schema): Add 'license' definition

Fix AppVeyor error

* Fix 'Manifest.Tests'
2021-12-26 23:01:44 +08:00
Hsiao-nan Cheung 1dbab1fee8 Merge branch 'develop' into 'master' (#4594)
Related PRs:
- #4531 @filmor 
  - ac71fcc @niheaven 
- #4535 @rashil2000 
- #4522 @pratikpc 
- #4550 @niheaven 
- #4528 @niheaven 
- #4532 @MrNuggelz
- #4155 @MrNuggelz Co-authored-by: @rashil2000 
  - #4581 @niheaven 
  - fb496c4 @rashil2000 
- #4543 @rashil2000 Co-authored-by: @niheaven 
  - #4555 @rashil2000 
  - 3c90d1a @rashil2000 
  - 2ec00d5 @rashil2000 
- #4567 @rashil2000 
  - cbe29ed @rashil2000 
- #4570 @niheaven 
  - #4582 @niheaven 
- #4571 @niheaven 
- #3244 @nickbudi 
- #3821 @jfastnacht Co-authored-by: @rasa 
- #4578 @tukanos
- #4579 @rashil2000 

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Ross Smith II <ross@smithii.com>
Co-authored-by: Benedikt Reinartz <filmor@gmail.com>
Co-authored-by: Joris <MrNuggelz@users.noreply.github.com>
Co-authored-by: Pratik Chowdhury <pratikc@live.co.uk>
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com>
Co-authored-by: nickbudi <nickbudi@users.noreply.github.com>
Co-authored-by: Julian <github@fastnacht.consulting>
Co-authored-by: tukanos <patrik.svestka@gmail.com>
2021-12-25 23:09:49 +08:00
Rashil Gandhi cbe29eddb3 chore: Update repo links 2021-12-16 01:09:21 +05:30
Hsiao-nan Cheung ab8be955b4 feat(schema): Enable autoupdate for 'license' (#4528) 2021-12-01 22:41:50 +08:00
Pratik Chowdhury 84590f89f4 Merge pull request #4504 from ScoopInstaller/rasa-fix-schema
Fix schema to support + in version
2021-11-09 23:03:39 -08:00
Ross Smith II 948daa0c63 Fix schema to support + in version
See 	https://github.com/ScoopInstaller/Main/blob/3590444367de0178ad6a35d861a24c9f105fd466/bucket/x265.json#L2
2021-11-09 11:41:54 -08:00
Hsiao-nan Cheung 30e7967a04 feat(autoupdate): add multiple URL/hash/extract_dir... support 2021-11-01 13:36:37 +08:00
Jakub Čábera 398ccea2ae feat(checkver): Present script property (#3900) 2020-04-20 15:29:10 +02:00
Hsiao-nan Cheung efcd3bfa38 feat(schema): add arch-spec items in 'autoupdate'
Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Ross Smith II 9c9cc807ba feat(autoupdate): initial multi-urls works by @rasa
Add multiple URLs support to 'autoupdate'

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Hsiao-nan Cheung c7d72d21b9 feat(install): Add arch support to env_add_path and env_set (#3503) 2019-08-26 14:58:55 +02:00
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