Closed evaherrada closed 4 years ago
Are these meant to be in the cookiecutter output? I already added them here: https://github.com/adafruit/cookiecutter-adafruit-circuitpython/blob/master/%7B%7B%20cookiecutter.library_name%20%7D%7D/.github/workflows/build.yml
@tannewt yes, these are suppose to be in the cookiecutter output as an update to fix some issues with locating files to lint. I see they're not in the correct directory though; I'll make a review note
@tannewt @siddacious Thanks for catching that. Moving them now
@sommersoft @dherrada I'm starting to agree with Sommersoft's point that we don't want to encourage non adafruit_foo.py
libs by allowing them with the standard cookiecutter. I think maybe the best course of action is to fix the examples globbing and then accept that neopixel.py
, simpleio.py
, and neopixel_spi.py
should have non-standard workflow files. They're aberrant and we shouldn't gloss over that fact.
@siddacious Would you like me to make and push those changes?
@dherrada lets wait for others to chime in.
Isn't the cookiecutter only used for new repos? It makes sense to only allow adafruit_whatever.py on new repos since the cookiecutter shouldn't affect the non-standard repos.
@makermelissa As I understand it, this PR is for reviewing changes I'm making to build.yml that will be in (almost) every circuitpython library
@makermelissa Yes, that's another way of looking at it, however as Dylan said we're trying to keep the build files consistent (except for the three weirdos) so this change will be pushed out to almost every lib when it's approved
Ok, either way it seems easier just to treat the odd few repos as special cases, so I am in agreement with @siddacious and @sommersoft.
Ok, so it seems like since @siddacious @makermelissa and @sommersoft all think that we shouldn't change the build.py to accommodate for the improperly named modules, it would make sense to move forward that way. As long as no one has any objections, I can start on that tomorrow.
@dherrada yes, please start on that first thing
build.yml is still WIP, line 44 is what we're working on