-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template other files #17
Conversation
fe9b416
to
c5af726
Compare
Did we also want to template out |
61bd629
to
1417b98
Compare
So one reason I made some config options like "author" appear both in the highest-level |
Yeah I was thinking about that, but my vote would be to keep the configuration options as simple as we can. So unless we find a really compelling reason where we'd need to override top-level config options, just set those things in one place. I don't think we've needed that flexibility yet, so this way we just have a single source of truth for, e.g., the |
I did use it for "description" in Nengo, because we have a longer description in setup.py than in the docs. But we can probably figure out a shorter description for Nengo that will work everywhere. |
Yeah I'm just looking through all the other repos now to see if any of my fixups broke anything (I'm sure they did), will take a look. |
One question I had when writing this is what do we want to do with the |
0e23959
to
7ffe9dc
Compare
05cf39a
to
e987ff5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (I made some fairly extensive fixups, so we'll get another review on this too). I added a card for the __init__
copyright issue, figure we won't worry about that here.
e987ff5
to
df06899
Compare
df06899
to
8310a8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some changes in squash and fixup commits, most of which are minor, but 97559e9 has some more substance to it as it changes how we are overriding templates in downstream repos. I've also squashed history down a fair bit and I think it looks good as is, but if you want some more squashing of the later commits @drasmuss I can squash more liberally (e.g., merging the "Test Python 3.7" and "Add flake8" commits into "Apply templating for new files").
I'm going to fix up the downstream PRs while you look these changes over @drasmuss, and will merge when those are working as expected and you've given the 👍.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixups look good! Just two minor comments.
50d9d5d
to
9ece3eb
Compare
9ece3eb
to
be3b575
Compare
8e3808b
to
801357c
Compare
The following files can now be generated through `generate-bones`: - docs/conf.py - CONTRIBUTING.rst - CONTRIBUTORS.rst - LICENSE.rst - MANIFEST.in - setup.cfg - setup.py These files are also checked through the `check-bones` command. Additionally, files with no config line are no longer generated. All files now need at least an empty config line or they will be skipped. Co-authored-by: Eric Hunsberger <eric.hunsberger@appliedbrainresearch.com>
Co-authored-by: Trevor Bekolay <tbekolay@gmail.com>
801357c
to
07514ed
Compare
Motivation and context:
We want templating for other files.
How has this been tested?
Currently just hand-testing on some other repos. PRs for other repos will reference this issue and appear below as they're created.
How long should this take to review?
Types of changes:
Checklist:
Still to do: