Richard Kuhnt
3d145e0b8f
Fix forced updates on unix in auto-pr.ps1
2017-08-24 22:30:38 +02:00
Richard Kuhnt
3f495c6eb2
Add output for forced updates to auto-pr.ps1
2017-08-24 22:17:40 +02:00
Richard Kuhnt
8cc4a7a77b
auto-pr.ps1: detect LR/CRLF changes and skip them
...
This is mainly for Unix
2017-06-10 17:48:25 +02:00
Richard Kuhnt
d575c0a5dd
Add $specialSnowflakes parameter to auto-pr.ps1
...
Comma separated list of apps which should be force updated
2017-06-10 16:50:59 +02:00
Richard Kuhnt
2d8e2a079a
Remove wrong continue from checkver.ps1
2017-06-10 15:49:04 +02:00
Richard Kuhnt
492dc44b4d
Improve force update logic in checkver.ps1
...
force update now really forces an update (prior to this change it only worked when the versions were the same)
2017-06-10 15:45:27 +02:00
Richard Kuhnt
5d8f276035
Change $dir behavior in auto-pr.ps1
...
Accompanies changes in scoop-extras and versions bin scripts
2017-05-31 00:02:15 +02:00
Richard Kuhnt
f737315e73
Merge pull request #1517 from lukesampson/unix-compatible
...
[WIP] Add Unix compatibility (for maintenance jobs and manifest testing)
2017-05-30 21:59:15 +02:00
Luke Sampson
887f041fc7
Extract to _tmp instead of _scoop_extract to conserve 10 more characters in path.
2017-05-29 17:59:09 +10:00
Richard Kuhnt
24fd3a3c7e
Move unix compatible functions to unix.ps1
...
- Change helper functions to snake_case
2017-05-28 13:59:42 +02:00
Richard Kuhnt
687fcaabb2
Fix response closed and freed before usage
2017-05-27 18:27:02 +02:00
Richard Kuhnt
d28cf794cc
Add isUnix/isLinux/isMacOS helper functions
2017-05-27 17:07:36 +02:00
Richard Kuhnt
9282751914
Make auto-pr.ps1 able to run on unix
2017-05-24 20:02:02 +02:00
Luke Sampson
6914508e8e
Auto-describe apps based on homepage. No UI yet.
2017-05-24 21:59:04 +10:00
Richard Kuhnt
deb7ebdab2
Add tab replacment to formatjson.ps1
2017-05-07 20:50:13 +02:00
Richard Kuhnt
215d8edf90
Fix auto-pr.ps1 pull requests
2017-04-14 21:39:50 +02:00
Richard Kuhnt
274f4e0533
Fix auto-pr.ps1 pull requests
2017-04-14 21:22:54 +02:00
Richard Kuhnt
95a600d953
Fix auto-pr.ps1 pull requests
2017-04-14 20:52:13 +02:00
Richard Kuhnt
83000a8539
Improve exception handling for specific version installation and checkver
2017-04-06 18:37:17 +01:00
Richard Kuhnt
a5ce716758
Add newline to checkurls.ps1
2017-04-03 22:11:51 +01:00
Richard Kuhnt
25ddb381ea
Add tool to check for broken urls
2017-04-03 22:10:23 +01:00
Richard Kuhnt
9a650799e0
Strip filename from referer url
2017-03-21 17:52:10 +01:00
Richard Kuhnt
c682723d99
Add referer-header to all webrequests
2017-03-19 16:29:27 +01:00
Rémy
df74d2bc0e
autoupdate: do not autodowngrade
...
The autoupdate function did not check if the found version is newer
(just !=) so it was happy to downgrade everything automatically.
Downgrades can still be forced with the -force param
2017-03-13 21:12:19 +01:00
Rémy
693491b5af
add -skipSupported param to missing-checkver script for easier filtering
2017-03-13 21:12:19 +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
cd49d0e37c
Better error handling for autoupdate and checkver
...
do_dl() now rethrows an exception instead of aborting. this prevents killing the autoupdate process prematurely and thus skipping queued updates.
2017-03-02 21:01:54 +01:00
Richard Kuhnt
6f932ec113
Add missing variable
2017-02-27 10:09:59 +01:00
Richard Kuhnt
c1486fdaa3
Unstage manifests if something goes wrong
2017-02-16 18:28:31 +01:00
Richard Kuhnt
8ef3f9637e
Pretty print missing-checkver.ps1 output
2017-02-15 13:24:48 +01:00
Luke Sampson
e8e5ac5615
Update more UI messages for consistency.
2017-02-13 20:53:36 +11:00
Luke Sampson
1c173bc56d
Use sentence case for UI messages.
2017-02-13 20:20:41 +11:00
Richard Kuhnt
e5a5f41db1
Add $dir parameter to auto-pr
2017-02-07 19:00:24 +01:00
Richard Kuhnt
5a0bab5949
Small fixes on auto-pr.ps1
2017-02-06 22:10:55 +01:00
Richard Kuhnt
ef3cc28422
Small fix on auto-pr.ps1
2017-02-06 22:08:21 +01:00
Richard Kuhnt
a5ea1828ce
Add autopushing to auto-pr.ps1
...
auto-pr.ps1can now push directly to master branch or create pull requests. Also added commandline help
2017-02-06 22:06:19 +01:00
Richard Kuhnt
8bc791a96e
Create branches for auto pullrequests under manifest/*
...
Use manifest/* as branch name for automatic pullrequests so it can be collapsed in GUI clients (convince feature)
2017-02-01 18:01:18 +01:00
Luke Sampson
8a457e3abf
fix autoupdate always writes to main bucket directory even when another directory is specified (see #1273 )
2017-01-27 15:48:35 +11:00
Luke Sampson
f5cbae7707
Check the effective execution policy rather than limit to current scope, in case it is defined for the machine and not the user (see #1221 )
2017-01-23 09:55:22 +11:00
Luke Sampson
1340a762f6
allow and recommend 'RemoteSigned' execution policy (see #1221 )
2017-01-23 09:50:31 +11:00
Richard Kuhnt
6ceb8ee821
Remove rocket emoji from pull request title
2017-01-21 18:59:37 +01:00
Richard Kuhnt
c767560b52
Add auto-pr command
...
Automated creation of pull-requests for new manifest updates
2017-01-17 21:13:33 +01:00
Luke Sampson
b79c5d4825
use any available SSL/TLS protocol with checkver (see #1214 )
2017-01-17 18:31:38 +11:00
Richard Kuhnt
c9a6c4b49d
Add matching regex groups as url templates
2017-01-15 16:31:54 +01:00
Luke Sampson
8b1871b20d
fix: uninstall fails to remove architecture-specific shims ( fixes #1191 )
2017-01-04 17:42:32 +11:00
Rémy
98fba649fb
Checkver add github helper
...
Lot of manifests are using github tags to find the latest version the
url's and regex is mostly the same.
`checkver` now can also be the string "github" if the `homepage` links
to the github repo
If `homepage` is not the repo `{"checkver": "github":
"https://github.com/user/repo "}` can be used
2017-01-01 18:22:31 +01:00
Rémy
5bb63483a4
Add -forceUpdate switch to bin/checkver.ps1
...
Useful for when only hash updates and for testing ;-)
2017-01-01 16:59:22 +01:00
Luke Sampson
abd6d0e6c5
Use a 'current' directory junction for the current version of apps, so that path is maintained across app updates (see #1179 )
2016-12-31 22:12:53 +11:00
Ross Smith II
c3a0e77412
Add Windows NT to useragent ( fixes #1180 )
2016-12-30 12:58:52 -08:00
Mikhail-T
cc37f6e335
improved message
2016-12-25 17:42:07 -06:00