emplace icon indicating copy to clipboard operation
emplace copied to clipboard

[BUG] Request to mirror an Unsuccessful brew install

Open jayvdb opened this issue 4 years ago • 4 comments
trafficstars

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

jayvdb avatar Mar 16 '21 23:03 jayvdb

@all-contributors please add @jayvdb for bug

tversteeg avatar Mar 17 '21 08:03 tversteeg

@tversteeg

I've put up a pull request to add @jayvdb! :tada:

allcontributors[bot] avatar Mar 17 '21 08:03 allcontributors[bot]

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.

tversteeg avatar Mar 17 '21 19:03 tversteeg

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.

stale[bot] avatar Jun 02 '21 15:06 stale[bot]