Skip to content

Commit

Permalink
fix: Typos and changelog tweaks [shovel skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash258 committed May 8, 2021
1 parent f5de145 commit 621d7d7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 45 deletions.
78 changes: 41 additions & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
- **Config**: Do not support `rootPath`, `globalPath`, `cachePath` config options
- **checkver**:
- Prevent hitting GitHub rate limits
- GitHub checkver will use `api.github.com/repos` and github token from environment `GITHUB_TOKEN` or config option `githubToken`
- GitHub checkver will use `api.github.com/repos` and github token from environment variable `GITHUB_TOKEN` or config option `githubToken`
- Properly reflect execution issues with exit code

### 0.6-pre2

- **scoop-search**: Fix search without parameter provided
- New command `utils` added
- Native parameter binding for aliases works again
- **git**: Fix proxy handling
- **psmodules**: Add global modules to path only if global manifest is installed
- **decompress**: Support `INNOSETUP_USE_INNOEXTRACT` config option and `Expand-InnoArchive -UseInnoextract`
- **Git**: Fix proxy handling
- **Psmodules**: Add global modules to path only if module is being installed globally
- **Decompress**: Support `INNOSETUP_USE_INNOEXTRACT` config option and `Expand-InnoArchive -UseInnoextract`
- **format**: Extract checkver fixes into own function and add generic adjust property function
- **schema**
- **Schema**
- Add `disable` property to `checkver` and `autoupdate`
- `-Force` will ignore this property
- Remove deprecated short properties
Expand All @@ -47,67 +47,71 @@
- Require `-Upstream` only when `-Request` is provided
- Scoop proxy configuration will be used for git calls
- Call native `git` command instead of `hub` for push operation
- Refactor all git/hub calls to use -C option
- Refactor all git/hub calls to use `-C` option
- **scoop-checkup**:
- Check for main branches adoption (if supported)
- Check for full shovel adoption
- **scoop-alias**: First alias addition is correctly registered and created
- **autoupdate**: Do not autoupdate unless URL is accessible after successful hash extraction
- **Autoupdate**: Do not autoupdate unless URL is accessible after successful hash extraction

### 0.6-pre1

- Support YAML typed manifests in some commands
- **virustotal**: Command now works again with V3 API
- **scoop-virustotal**: Command now works again with V3 API
- Requires Api key for all operations
- **decompress**: Add `Expand-ZstdArchive` function for extracting standalone zstd archives
- **scoop-install**: Allow modules to be installed globally
- **scoop-install**: Prevent repeated installation of same manifest/url/local file
- **Decompress**: Add `Expand-ZstdArchive` function for extracting standalone zstd archives
- **scoop-install**:
- Allow modules to be installed globally
- Prevent repeated installation of same manifest/url/local file
- **binaries**: Support YAML typed manifests
- General code cleanup and documentation tweaks
- General code cleanup and code documentation tweaks

## [0.5.5](https://github.com/Ash258/Scoop-Core/milestone/2)

### 0.5.5-pre5

- **manifests**: Introduce manifest helpers to avoid repeating lines in manifests
- `Assert-Administrator`, `Assert-WindowsMinimalVersion`, `Assert-ScoopConfigValue`, `Test-Persistence`, `Edit-File`, `Remove-AppDirItem`, `New-JavaShortcutWrapper`
- **install**
- **scoop-install**
- Remove mutually exclusivity of `installer.script` and `installer.file`
- `script` property is executed after `file`
- Fix `installer.file` exit code from ps1 scripts
- Fix `installer.keep` inconsitency between powershell scripts and executables
- **manifests**: Present `pre_download` property
- **scoop-install**: Fix installlation of different/older versions
- **scoop-info**: Respect NO_JUNCTION config
- **scoop-info**: Respect `NO_JUNCTION` config
- Add changelog to repository
- **autoupdate**: Initial preparations for array support
- **manifests**: Add `changelog` property
- It will be shown on manifest installation/updates also in `scoop info` output
- **Autoupdate**: Initial preparations for array support
- **Manifest**:
- Introduce manifest helpers to avoid repeating lines in manifests
- `Assert-Administrator`, `Assert-WindowsMinimalVersion`, `Assert-ScoopConfigValue`, `Test-Persistence`, `Edit-File`, `Remove-AppDirItem`, `New-JavaShortcutWrapper`
- [See ManifestHelpers "module" for possible parameters](https://github.com/Ash258/Scoop-Core/blob/main/lib/ManifestHelpers.ps1)
- Present `pre_download` property
- Add `changelog` property
- It will be shown on manifest installation/updates and `scoop info` output
- **scoop-alias**: Add `path` and `edit` subcommands
- **completion**: Correctly support `&&` and `||`
- **Completion**: Correctly support `&&` and `||`
- **scoop-(un)hold**: Support `--global` parameter
- **persist**: Pre-create nested directories
- **autoupdate**: Support base64 for all extraction types
- **Persist**: Pre-create nested directories
- **Autoupdate**: Support base64 for all extraction types
- Small code cleanup and refactorings

### 0.5.5-pre4

- **update**: Ignore merge commits in update log
- **Update**: Ignore merge commits in update log
- `scoop --version` reports PowerShell version
- **depends**: Correctly detect globally installed dependencies
- **buckets**: Indicate successfull bucket removal
- **buckets**: Indicate inability of bucket removal
- **Depends**: Correctly detect globally installed dependencies while resolving script dependencies
- **Buckets**:
- Indicate successful bucket removal
- Indicate inability of bucket removal

### 0.5.5-pre3

- Sync with upstream/master
- Sync with `upstream/master`

### 0.5.5-pre2

- `scoop search` reimplemented
- **scoop-config**: Fix regression from `--help` addition
- **decompress**: Fix 7zip requirements detection
- **autoupdate**: Added `$headVersion` and `$tailVersion` substitutes
- **Decompress**: Fix 7zip requirements detection
- **Autoupdate**: Added `$headVersion` and `$tailVersion` substitutes

### 0.5.5-pre1

Expand All @@ -116,8 +120,8 @@

### 0.5.5-pre - Abort deprecation 🎉

- `abort` funcion completely eliminated
- Multiple manifest installation is not broken in case of one failure. (for example)
- `abort` function completely eliminated
- One failed manifest installation/update/download/... will not cause whole command to exit prematurelly
- **lint**: Code fixes

## 0.5.2 - Shim fixes
Expand All @@ -137,7 +141,7 @@

- Fosshub downloads hotfix

## [0.5 - Fork initializaiton](https://github.com/Ash258/Scoop-Core/milestone/1)
## [0.5 - Fork initialization](https://github.com/Ash258/Scoop-Core/milestone/1)

- Licensed under `GPL-3.0-only`

Expand All @@ -154,25 +158,25 @@

### Binaries

- `formatjson`: Sort properties and do some automatic fixes
- `formatjson`: Sort properties and do some automatic fixes for consistent format of manifests

### Manifests

- `pre|post` uninstaller scripts added
- `pre|post_uninstaller` properties added
- `version`, `description`, `homepage`, `license` properties are required

### General quality of life changes

- Native shell (tab) completion for PowerShell
- License is shown on installation/update
- Source bucket of manifest is shown on installation
- Source bucket of manifest is always shown on installation
- Git operations no longer change user context
- Nongit buckets are not updated == invalid repository error will not be shown
- Update log will not show commits with `[scoop skip]` or `[shovel skip]` in title
- Refactored handling of manifests versions
- Exit codes are handled in a saner way
- See `scoop --help` for used exit codes
- Internal application files are not using generic name
- Internal application files do not use generic name
- `install.json` -> `scoop-install.json`
- `manifest.json` -> `scoop-manifest.json`
- System bitness is determined by integer pointer size
Expand Down
21 changes: 13 additions & 8 deletions libexec/scoop-config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,34 @@
# * To bypass the system proxy and connect directly, use 'none' (with no username or password)
#
# default-architecture: 64bit|32bit
# Allow to configure preferred architecture for application installation.
# If not specified, architecture is determined be system.
# Allows to configure preferred architecture for application installation.
# If not specified, architecture is determined automatically.
#
# 7ZIPEXTRACT_USE_EXTERNAL: $true|$false
# External 7zip (from path) will be used for archives extraction.
#
# MSIEXTRACT_USE_LESSMSI: $true|$false
# Prefer lessmsi utility over native msiexec for installation of msi based installers.
# This is preferred option and will be default in future.
#
# INNOSETUP_USE_INNOEXTRACT: $true|$false
# Prefer innoextract utility over innounp for installation of innosetup based installers.
#
# NO_JUNCTIONS: $true|$false
# The 'Current' version alias will not be used.
# The 'current' version alias will not be used.
# Shims and shortcuts will point to specific version instead.
#
# debug: $true|$false
# Additional and detailed output will be shown.
# Additional output will be shown to identify possible source of problems.
#
# SCOOP_REPO: http://github.com/lukesampson/scoop
# Git repository containining scoop source code.
# This configuration is useful for custom tweaked forks.
#
# SCOOP_BRANCH: main|NEW
# Allow to use different branch than master.
# Could be used for testing specific functionalities before released into all users.
# If you want to receive updates earlier to test new functionalities use develop (see: 'https://github.com/lukesampson/scoop/issues/2939')
# Allow to use different branch than main.
# Could be used for testing specific functionalities before stable release.
# If you want to receive updates earlier to test new functionalities use NEW branch.
#
# show_update_log: $true|$false
# Do not show changed commits on 'scoop update'
Expand All @@ -70,6 +71,10 @@
# API key used for uploading/scanning files using virustotal.
# See: 'https://support.virustotal.com/hc/en-us/articles/115002088769-Please-give-me-an-API-key'
#
# githubToken:
# GitHub API token used for checkver/autoupdate runs to prevent rate limiting.
# See: 'https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token'
#
# ARIA2 configuration
# -------------------
#
Expand All @@ -81,7 +86,7 @@
# See: 'https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-retry-wait'
#
# aria2-split: 5
# Number of connections used for downlaod.
# Number of connections used for download.
# See: 'https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-s'
#
# aria2-max-connection-per-server: 5
Expand Down

0 comments on commit 621d7d7

Please sign in to comment.