-
Notifications
You must be signed in to change notification settings - Fork 62
Ft installationcleanup #63
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
base: master
Are you sure you want to change the base?
Conversation
| # n: automatically update on Mycroft launch | ||
| # y: add helper commands to PATH | ||
| # n: check code style when submitting | ||
| ARG WIZARD_SEQUENCE=ynyn |
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.
While clever, this is very fragile. I feel anything limiting properly automating this setup should be added to the setup script (more env vars or flags, probably), and not hacked around like this.
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.
Absolutely agree. The approach is really contrived. But being an outsider to the project I was trying to modify as little as possible.
Should I split WIZARD_SEQUENCE buildarg into 4 buildargs? For instance:
- BRANCH
- AUTO_UPDATE
- ADD_HELPERS
- CHECK_CODE
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.
Oh, I forgot to reply to this, sorry.
Well, above all, the official installer needs to be changed to accept these kind of things as environment variables so that this can be done cleanly in a way that won't break in the future.
This pull request aims to make the whole installation process more logically organized, explicitly separating the different stages and eliminating some redundant steps.
It also implements some new build-time parameterization in order to provide some flexibility to the images being compiled.