Commit Graph
9799 Commits
Author SHA1 Message Date
Richard Kuhnt e997017f1a fix(update): Fix scoop update changelog output 2019-10-18 16:22:34 +02:00
Richard Kuhnt 8ee45a57dc chore(git): Remove unnecessary git_proxy_cmd() calls for local commands 2019-10-18 16:22:34 +02:00
linsui ce3464f2f4 fix(core): Use [Environment]::Is64BitOperatingSystem instead of [intptr]::size (#3690) 2019-10-18 16:14:10 +02:00
Richard Kuhnt 08af9ff6e7 Merge branch 'develop' of github.com:lukesampson/scoop 2019-10-18 2019-10-18 14:03:43 +02:00
Richard Kuhnt e44b848f24 Revert "Update 2019-10-18" (#3696)
This reverts commit d948720961.
2019-10-18 13:56:46 +02:00
Richard Kuhnt d948720961 Update 2019-10-18 2019-10-18 13:47:57 +02:00
Richard Kuhnt 11c42d782f fix(install): Allow installing specific version if latest is installed
closes #3693
see #3694
2019-10-18 13:36:25 +02:00
Hsiao-nan Cheung 5643818e1b Revert 'Compare-Version' (#3333, #3578) (#3648) 2019-10-18 13:32:06 +02:00
linsuiandJakub Čábera 19ed5e42a8 fix(autoupdate): Decode basename when extract hash (#3615)
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
2019-10-14 14:07:38 +02:00
StephaneandJakub Čábera 9a3579c523 feature(update): allow updating apps from local manifest or URL (#3685)
- Closes #3683 
- Closes #3607

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
2019-10-14 12:39:40 +02:00
Chawye Hsu 15e11e62ae fix(checkurls): Trim renaming suffix in url (#3677) 2019-10-06 10:35:09 +02:00
Jakub Čábera 9c04608c48 fix(install): Use Join-Path instead of string gluing. (#3566) 2019-10-04 21:22:31 +02:00
linsui 9f693cbb7d fix(scoop-info): remove a whitespace (#3652) 2019-09-19 16:51:54 +02:00
linsui 6fc708cb25 fix(scoop-info): Fix output for single binaries with alias (#3651) 2019-09-19 12:36:20 +02:00
Jakub Čábera a09926f5b9 fix(appveyor): use VS2019 image to fix PS6 issues (#3646)
Close #3643
2019-09-17 21:56:51 +02:00
gitolicious 8165b1d468 fix(bucket): only lookup directories in buckets folder (#3631)
IntelliJ is putting a project file in the buckets folder when setting up a project there. The bucket lookup then tries to open this as a folder as it lacks directory filter.
2019-09-06 16:00:23 +02:00
3e55a70971 docs(readme): Improve installation instructions (#3600) 2019-09-02 13:38:30 +02:00
Edgard Lorraine Messias e37e4ca666 feat(install): Use 7zip when available for faster zip file extraction (#3460) 2019-09-01 13:58:55 +02:00
Jakub Čábera 0d251bafd1 fix(update,uninstall): Regression from Get-Process workaround (#3610)
https://github.com/lukesampson/scoop/pull/3608
2019-08-26 15:32:08 +02: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
Jakub Čábera f555968c39 fix(uninstall,update): Do not uninstall when application is running (#3608) 2019-08-23 20:09:18 +02:00
Jakub Čábera f52b339523 feat(tests): Do not force maintainers to have SCOOP_HELPERS (#3604) 2019-08-21 17:17:26 +02:00
Hsiao-nan Cheung 96fef5827d fix(install): Allow $version to be used in uninstaller scripts (#3592) 2019-08-16 17:13:40 +02:00
Richard Kuhnt 7879d272b2 Merge branch 'master' into develop 2019-08-02 17:21:07 +02:00
Richard Kuhnt 79f8538b57 fix(auto-pr): hard reset bucket after running 2019-08-02 17:20:43 +02:00
Richard Kuhnt 073d10dbc9 Merge branch 'master' into develop 2019-08-02 13:18:52 +02:00
Richard Kuhnt 7decfd4c10 fix(auto-pr): Fix git status detection
- Reverts: https://github.com/lukesampson/scoop/pull/3026

See https://git-scm.com/docs/git-status#_short_format
If the file was modified it shows ` M` and `M ` means it's staged.
 Files only containing whitespaces don't get staged by `git add` and we only care about actually staged files.

Since the order of the `git status`-output is not sorted anymore the `Select-Object -First 1` is useless and it now uses `Where-Object` to find the correct line.
2019-08-02 13:18:26 +02:00
Hsiao-nan Cheung 3ca08a5ae8 fix(versions): Hotfix for #3333 (#3578)
* fix(versions): Hotfix for #3333
2019-08-02 11:52:14 +02:00
linsui 9ad783d3a5 fix(autoupdate): remove any whitespace from hash (#3579)
Allow extracting hashes with containing spaces and newlines
(e.g. `ef 5d 41 08 32 9c 71 b4 b5 b6 0f be 2f bc 49 ac ef 86 69 49 42 e8 37 65 a4 86 30
 10 ea be 0d 79`)

FreeCad Example:
```json
"hash": {
    "url": "$url-SHA256.txt",
    "regex": "(?sm):\\s+([a-f\\d\\s]+)CertUtil"
}
```
2019-08-01 18:08:16 +02:00
Hsiao-nan Cheung 1508d2ab00 fix(versions): Refactor compare_versions -> Compare-Version (#3333)
fix #3329 
fix #2981 
fix #2720 
fix lukesampson/scoop-extras#2106
close #3469
2019-07-31 15:36:19 +02:00
issaclin32 544e6094cc fix(decompress): fix bugs on extract_dir (#3540) 2019-07-24 22:37:31 +02:00
Eric Bouchard 78d2ff75f4 fix(help): Rename help() to scoop_help() (#3564)
When a user has an alias named `help`, the `scoop help` command does not work anymore.
To prevent collision with a user alias the function is renamed from `help` to `scoop_help`
2019-07-18 18:33:22 +02:00
Hsiao-nan Cheung f33799dee8 improvement(core): tweak Invoke-ExternalCommand parameters (#3547)
- Redirect standard error to log file.
- Fix `-RunAs` error.
  - `-RunAs` and `-Log` cannot be used together.
2019-07-16 18:30:15 +02:00
Niklas H 0550605de1 fix(comspec): Escape variables when calling COMSPEC commands (#3538)
COMSPEC commands fail when called with unescaped directory arguments which contain white spaces (typically a compound user name).

- Closes lukesampson/scoop-extras#1781
- Closes lukesampson/scoop-extras#2389
- Closes #2801

Signed-off-by: Niklas H. <Typhoon.CommanderCool@gmail.com>
2019-07-02 15:46:43 +02:00
Huiyi.FYJ b71b5074b2 fix(editorconfig): add missing } to bat/cmd regex (#3529) 2019-06-24 14:35:15 +02:00
Richard Kuhnt b9b48182b4 Merge remote-tracking branch 'origin/develop' into develop 2019-06-24 2019-06-24 14:27:09 +02:00
Hsiao-nan Cheung 1caaed8f3d feat(compress): Allow 'Expand-InnoArchive -ExtractDir' to accept '{xxx}' (#3487) 2019-06-24 14:26:35 +02:00
Jakub Čábera e12a7da593 fix(bin): Checkhashes downloading twice when architecture properties does hot have url property (#3479) 2019-06-24 14:26:35 +02:00
Hsiao-nan Cheung c8047bd5ed fix(decompress): '$ExtractDir' error with '.zip' and subdir (#3472)
For some `extract_dir` in .zip that has sub-dir, the former one would remove parent dir and get error (flac, flac-1.3.2-win\win64), now use temp dir instead. And also fix .msi, in case of some installer that don't have `SourceDir`.

`Expand-DarkArchive` will be used in wix extraction, so it doesn't need `-ExtractDir`.

`Expand-7zipArchive` and `Expand-InnoArchive` works well.

Tested:

- calibre-normal (msi, PFiles\Calibre2)
- flac (zip, flac-1.3.2-win\win64)
- pkg-config (zip, multiple url and extract_dir)

BTW, `Expand-Archive` has `-PassThru` param in PowerShell 6+, and it will be more convinient to support `-ExtractDir` with it. I'll check function's source code and plan to rewrite `Expand-ZipArchive`.

Fix #3473, ref https://github.com/lukesampson/scoop/issues/3473#issuecomment-493446461
2019-06-24 14:26:35 +02:00
Hsiao-nan Cheung a882c4f1eb fix(decompress): '$ExtractDir' removed original extract file by accident (#3470) 2019-06-24 14:26:35 +02:00
Hsiao-nan Cheung 2fafcb880a feature(decompress): Add 'ExtractDir' to 'Expand-...' functions (#3466)
* feature(decompress): Add 'ExtractDir' to 'Expand-...' functions

* Fix 'TrimEnd' and nested 7z
2019-06-24 14:26:35 +02:00
Hsiao-nan Cheung 61d1c1c41a refactor(core): Add more generic 'Invoke-ExternalCommand' instead of 'run' (#3432) 2019-06-24 14:26:35 +02:00
Mark Huo 2d22ac8233 fix(config): show correct output when removing a config value (#3462) 2019-06-24 14:26:27 +02:00
Jakub Čábera 1836edba88 fix(checkhashes): Do not call scoop directly (#3527)
* fix(checkhashes): Do not call scoop directly

https://github.com/Ash258/GithubActionsBucketForTesting/runs/153802813

* Also fix build
2019-06-22 12:42:05 -07:00
Ross Smith II e8d0be663b Update readme with correct count of nirsoft apps 2019-06-19 16:05:00 -07:00
Ross Smith II 03bb07c823 Fix typo in readme 2019-06-19 13:20:12 -07:00
Ross Smith II 2849e0f960 Add known buckets to end of readme
Fixes #3515
2019-06-19 13:18:24 -07:00
Asif Mehedi 69a0843e9a Fix a small typo (#3512) 2019-06-17 23:16:17 -07:00
Hsiao-nan Cheung 81e3cf61b6 feat(compress): Allow 'Expand-InnoArchive -ExtractDir' to accept '{xxx}' (#3487) 2019-05-30 14:55:48 +02:00
Richard Kuhnt 51f40e11c9 Sync hotfixes to develop 2019-05-29 18:55:38 +02:00