Skip to content

Update stale 'brew cask' references and other cleanups#487

Merged
derrickstolee merged 4 commits intomicrosoft:mainfrom
derrickstolee:brew-list-cask
Mar 11, 2021
Merged

Update stale 'brew cask' references and other cleanups#487
derrickstolee merged 4 commits intomicrosoft:mainfrom
derrickstolee:brew-list-cask

Conversation

@derrickstolee
Copy link
Contributor

@derrickstolee derrickstolee commented Mar 8, 2021

Brew updated their CLI. Hence, scalar upgrade is currently broken. Users will need to run brew upgrade --cask scalar[-azrepos] to upgrade to a version including this fix.

Further, since #458 dropped the Scalar service, the next upgrade will fail because the service is still registered, just not running. Relax the conditions there.

I was also getting build failures locally around the internal verb parameters. They are no longer used, so just drop them. Keep the command-line reference around so we don't break compat with any potential consumers.

Homebrew updated their CLI around interacting with casks, and we missed
this one.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee self-assigned this Mar 8, 2021
@derrickstolee derrickstolee requested a review from mjcheetham March 8, 2021 14:44
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee changed the title Update stale 'brew cask' references Update stale 'brew cask' references and other cleanups Mar 8, 2021
This is leftover from removing Scalar.Service from the macOS version.
If we install a latest version via 'brew install --cask scalar[-azrepos]'
without the existing service registered, it will fail to stop the service
that is not running.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee merged commit 02c1dc5 into microsoft:main Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants