tversteeg / emplace

πŸ‘©β€β€οΈβ€πŸ’‹β€πŸ‘© Synchronize installed packages on multiple machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Request to mirror an Unsuccessful brew install

jayvdb opened this issue Β· comments

Describe the bug
A failed attempt to install a package with brew should not initiate emplace.

To Reproduce

brew install pyflakes
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "pyflakes".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Opening Emplace repo: "/Users/john.vandenberg/Library/Application Support/emplace".
Mirror this command?
- pyflakes (Homebrew)
no

Expected behavior
If the install was unsuccessful, it shouldnt be mirrored to other machines.

Machine information

Software version

emplace 1.2.2

Operating system

Darwin 20.3.0

Command-line

emplace bugreport

Environment variables

SHELL=/usr/local/bin/zsh

Git version

> git --version
git version 2.31.0

Compile time information

  • Profile: release
  • Target triple: x86_64-apple-darwin
  • Family: unix
  • OS: macos
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2,sse3,ssse3
  • Host: x86_64-apple-darwin

@tversteeg

I've put up a pull request to add @jayvdb! πŸŽ‰

Thanks for the report, I couldn't find a consistent way to get the last command status in ZSH and Bash, I'll have to look into it a bit more later when I have more time.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.