Skip to content

Bug: setup-util-brew --uninstall has several flows that requires brew #278

Open
@atajawa

Description

@atajawa

(this is @balupton)

I've done some local changes to work around the small matters, however the main one is setup-git, which goes through an entire setup flow. Passing --no-fallback is not enough. setup-git, gpg-helper, and ssh-helper all need some new flow here to avoid configation and installation.

sarlotha@Macbook-12-2015 dorothy % ./commands/dorothy run -- setup-util-brew --uninstall
┌  Ensure required dependencies  ┐
└  Ensure required dependencies  ┘
The [brew] utility is marked for uninstall. Uninstalling... ⏲
The [GnuPG] utility was installed via [brew]
The [GnuPG] utility was installed. ✅
The [OpenSSH Server] utility is already installed. ✅
Checking the existence of the service system/com.openssh.sshd requires your sudo/root/login password.
< launchctl print system/com.openssh.sshd >
Password:
</ launchctl print system/com.openssh.sshd >[113]
Skipping non-existent service: system/com.openssh.sshd
The [delta] utility was not found. Installing automatically... ⏲
Do you want to setup the [delta] utility?
Do you want to setup the [delta] utility?   NO 
The [diff] utility is already installed. ✅
The [Git Large File Storage] utility was not found. Installing automatically... ⏲
The [Git Large File Storage] utility was installed via [brew]
The [Git Large File Storage] utility was installed. ✅
The [Pinentry] utility is already installed. ✅
The [ssh-askpass] utility was not found. Installing automatically... ⏲
The [ssh-askpass] optional utility was not installed. ⚠️
Downloading https://raw.githubusercontent.com/deadc0de6/gitell/HEAD/gitell to /Users/sarlotha/.local/bin/gitell
Downloaded https://raw.githubusercontent.com/deadc0de6/gitell/HEAD/gitell to /Users/sarlotha/.local/bin/gitell
The [gitell] utility was installed via [download]
The [gitell] utility was installed. ✅
└  Install Git  ┘
What is the name that you want to configure git with?
> 

Metadata

Metadata

Assignees

Labels

bugBroken or unexpected

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions