pimoroni / blinkt

Python Library for Blinkt; 8 APA102 LEDs for your Raspberry Pi
https://shop.pimoroni.com/products/blinkt
MIT License
314 stars 103 forks source link

Install one-liner not fetching up-to-date examples #57

Closed ghost closed 7 years ago

ghost commented 7 years ago

I've just installed the Blinkt software using the curl https://get.pimoroni.com/blinkt | bash one-liner (on a Pi Zero W, Raspbian Jessie, with everything up to date), and have noticed that there are fewer examples in the resulting 'full install' than there are in the main branch of the GitHub repo.

Changing copyhead="no" to copyhead="yes" in the installer bash script solves this, but I'm guessing there is a better solution than that.

Gadgetoid commented 7 years ago

This is intentional, so that examples relying on newer and potentially unreleased library features are not copied down with a version of the library that doesn't support them. Sometimes we'll, as you noticed, bump to copyhead="yes" because we know the examples will work.

ghost commented 7 years ago

Okay, gotcha. I'll close the issue.