-
Notifications
You must be signed in to change notification settings - Fork 188
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
Move to Giter8 #38
Comments
I think it could be an additional option. I do think it's worthwhile to still keep around chisel-template as the main option, though (maybe make the Giter8 project mirror/submodule chisel-template) since it is easier to use/understand if you already know git. (Also sbt is slow as usual but that's more of a side comment) |
The thought occurred to me about having the submodule. However, I'm really of the opinion that we should coalesce around one source of information for new users. This does put a dependency on having Also, Giter8 can avoid the tediousness of three existing steps in the current chisel-template README.md:
Basically, get out of the way of the users as fast as possible.
Yeah, there's that Just to be clear, this is what the workflow looks like with Giter8:
|
I think one additional angle to consider is that we might be able to use alternative build systems like mill in the future, so I'm not sure that the default path to using Chisel should have more dependence on sbt. I think I'm okay if we add g8 as an additional option but I'm not sure I'm feeling super on board with removing the vanilla template, though. |
I should note that I'm actively working on building rocket-chip with mill. Is there any integration of giter8 with mill? |
Re: mill... As far as I could dig up: no. This also appears to have been punted on internally: Granted, there's technically nothing too interesting that g8 is doing other than fetching a project from GitHub and doing some substitution---it could conceivably work to give you a mill project (or any project). This is horribly inelegant though with a one-time-use sbt dependency. Fundamentally, I think that the Chisel template should be scaffolding and not a git repository a user clones. I'm also not big on downloading an example project tarball, either. While the mill logic of "everyone is using |
I mean if people don't want to use git it's as simple as |
I propose that we move this into a Giter8 project. This simplifies what the user has to do down to one line:
You also have some ability to customize the project with some super idiotic (m4-level) string replacement.
I have an example version (using the
release
branch as opposed tomaster
) here:The text was updated successfully, but these errors were encountered: