msanders / cider

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

Update README with YAML formatted examples #26

Open alykhank opened 9 years ago

alykhank commented 9 years ago

Add example bootstrap.yaml and defaults.yaml files to README to demonstrate new syntax.

RogerThiede commented 9 years ago

I'm interested in this as well. I'm curious if my bootstrap.yaml is normal or not since it's cluttered with !!python/unicode.

alykhank commented 9 years ago

@RogerThiede I noticed the same thing, and I believe that it may be due to the allow_unicode=True flag to yaml.dump() in cider/_sh.py#L213-L227. According to the PyYAML documentation this seems to be expected behaviour.

RogerThiede commented 9 years ago

Was Prevent odd formatting of YAML files clobbered? It's not reachable on master branch.

msanders commented 9 years ago

Yes, turns out that didn't prevent the spammy output. Not sure what's causing this.

robsonpeixoto commented 8 years ago

About the !!python/unicode. To fix it, I forced the create of the .json file with the command touch ~/.cider/bootstrap.json

RogerThiede commented 8 years ago

Thanks @robsonpeixoto! I just tried that and Cider is now using the json file. Instructions like that in the README file would satisfy this filed bug.