msanders / cider

Hassle-free bootstrapping with Homebrew.
https://pypi.python.org/pypi/cider/
MIT License
839 stars 25 forks source link

`taps` added to bootstrap.yaml are invalid #45

Open Chekote opened 6 years ago

Chekote commented 6 years ago

Method

Run cider missing taps

Expected Behavior

bootstrap.yaml should have valid entries for taps. In my case:

$ brew tap
blackfireio/blackfire
buo/cask-upgrade
homebrew/cask
homebrew/cask-versions
homebrew/core

Actual Behavior

Output of the taps being updated was captured, plus some other unexpected entries.

- !!python/unicode ''
- !!python/unicode '==> Auto-updated Homebrew!'
- !!python/unicode '==> Updated Formulae'
- !!python/unicode 'Updated 3 taps (homebrew/cask-versions, homebrew/core, homebrew/cask).'
- !!python/unicode 'blackfireio/blackfire'
- !!python/unicode 'buo/cask-upgrade'
- !!python/unicode 'gtk-vnc'
- !!python/unicode 'homebrew/cask'
- !!python/unicode 'homebrew/cask-versions'
- !!python/unicode 'homebrew/core'
- !!python/unicode 'radare2'

Which results in the following error:

$ cider restore
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.

Error: Invalid tap name ''
Whoops! `brew tap ` failed with code 1

Brew config outout:

HOMEBREW_VERSION: 1.7.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: d6a245c05110c240e680da594c2cc6038998b82e
Last commit: 4 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5292329db701b0085f555663121a1e8b1ffe3c6c
Core tap last commit: 7 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit skylake
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_181
macOS: 10.13.6-x86_64
CLT: 10.0.0.0.1.1527767617
Xcode: N/A
XQuartz: N/A
RogerThiede commented 5 years ago

Does this still reproduce? Could it have been fixed by c91b508ecfc079f8ff9deae36ed799230cfcdc7e?