-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 script files to bin + documentation #2971
Move script files to bin + documentation #2971
Conversation
nice. |
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.
Thanks! Works great.
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 left one tiny comment, otherwise it looks great!
Using bin/ for internal utils is the default for both Rails and Bundler. The script has now no extension and is marked as executable improving its usability (the user doesn't need to know how to deal with each extension) and maintainability (it's easy to switch to a ruby script just changing the shebang line). The doc is updated and env variables are passed with `env` making life easier for some non-bash shells such as fish-shell.
To help newcomers with the first run.
Many installation will only have a password-less root user available (e.g. Homebrew).
13e68d4
to
0b3409e
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 great @elia! Do you mind squashing your commits?
@jacobherrington @elia the commits are great. There is no need to squash them. |
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'm alright with not squashing if you think they are okay @tvdeyen. I didn't realize that the last two were for PG and MySQL respectively.
Thanks @elia ! |
bin/
for internal utils is the default for both Rails and Bundler.The script has now no extension and is marked as executable improving its
usability (the user doesn't need to know how to deal with each extension) and
maintainability (it's easy to switch to a ruby script just changing the
shebang line).
env
making life easierfor some non-bash shells such as fish-shell.