Commit Graph
101 Commits
Author SHA1 Message Date
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
Mikhail-T 4aebd39d8b show message only if execution policy is not set 2016-12-25 17:28:01 -06:00
Mikhail-T 566608b695 confirm making execution policy change 2016-12-25 16:57:38 -06:00
Mikhail-T 03c9f4e1f3 removed trailing spaces 2016-12-24 21:08:26 -06:00
Mikhail-T 73a2fcae35 set execution policy on scoop install
I've tested this by running updated script as below:
```iex (new-object net.webclient).downloadstring('https://gist.githubusercontent.com/mikhail-tsennykh/f65a3addf22b36681b1eb7c6d708bed2/raw/4040fe0c156512a63b1dcfea2fd5595b26e1a1f1/scoop%2520auto%2520set%2520execution%2520policy%2520test')```

nice to skip extra step (unless there is some good reason not to do it on scoop install).
2016-12-24 21:03:53 -06:00
Rémy 981fc22be4 show autoupdate info in checkver output 2016-12-11 14:03:21 +01:00
Rémy 976d358c87 autoupdate single url/hash support / update extract_dir / hashing by download 2016-12-11 13:34:01 +01:00
Rémy f3d486c1c5 fix manifest encoding 2016-12-11 09:50:09 +01:00
Rémy 904d0703f9 custom json formatter 2016-12-11 09:50:09 +01:00
Rémy 39360036c6 First implementation of manifest autoupdate 2016-11-26 17:32:35 +01:00
Rémy 2f982802d8 Add checkver definition to many apps (#1119)
* add checkver definitions

* add script to list manifests without checkver definition
2016-11-10 13:32:59 +11:00
Richard Kuhnt 7ce9b7617e Add scoop user-agent to checkver (closes #1077) (#1079) 2016-10-11 07:50:07 +10:00
Luke Sampson ef7bcce6f7 move shortcut functions to separate file 2016-09-21 09:41:01 +10:00
Luke Sampson b30afe650d don't terminate Powershell session when calling install with invoke-expression (see #980) 2016-08-15 07:10:33 +10:00
Roy Ivy III 6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Simon Hartcher 1a2db05366 Fix #376 Robocopy is not always in PATH
Add ensure_robocopy_in_path method to core.ps1 which checks if
robocopy is available, then shims it if not.
2015-05-30 17:53:41 +10:00
Luke Sampson bc1a8e4945 brute force fix for powershell alias problems 2015-05-11 20:17:59 +10:00
Simon Hartcher 24347c2afb Revert "Add ability to reset scoop (also adds Git Bash support)" 2015-05-10 12:05:11 +10:00
Simon Hartcher 5cdc47214a Add .bashrc generation to install script
Fixes #354
2015-05-09 23:38:32 +10:00
Luke Sampson 93b3630db5 add bin/test shortcut 2015-04-13 12:22:18 +10:00
Simon Hartcher ed3972ee75 Removed unused timestamp code 2015-04-04 14:58:04 +11:00
Luke Sampson b4ab131d91 add proxy support, see #86 2014-05-12 12:42:55 +10:00
Luke Sampson 89f0eca323 use single-line regexp for checkver 2014-04-04 10:48:29 +10:00
Luke Sampson 69c11d449a Revert "updated for new color naming in concfg (see lukesampson/concfg#3"
This reverts commit d4ff02bbef.
2014-03-17 18:08:33 +10:00
Luke Sampson d4ff02bbef updated for new color naming in concfg (see lukesampson/concfg#3 2014-03-17 15:58:49 +10:00
Luke Sampson f0ca6332f2 remove any existing events from session before checking versions 2014-03-03 22:25:13 +10:00
Luke Sampson 199919aedd async version checking 2014-03-03 22:15:07 +10:00
Luke Sampson 11cf9c7d93 make it easier to check one app 2014-03-03 21:16:19 +10:00