-
Notifications
You must be signed in to change notification settings - Fork 16
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
Update scripts and README #32
Conversation
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 tried to just make install
and got caught in the hell of jenv/renv version incompatibility that I have installed from ent-search times.
What's the idea now about those? Does user install their own versions and make install
sets up other stuff?
@artem-shelkovnikov my first thought for this was that the users should manage their env's themselves. For connectors we don't enforce pyenv for example. It doesn't seem like we even mention it in the repo. It's expected the user will manage their versions. We could make this into its own command (like But this is a more complicated project to set up with having two languages to worry about. I can see value in providing a simple command, not to install languages but just make sure the correct one is being used. WDYT? |
@artem-shelkovnikov @seanstory I re-implemented the $ CRAWLER_MANAGE_ENV=true make install I can also make this an in-line argument if that feels cleaner. I couldn't decide between the two. |
I think something is missing - have you added the script to setup rubies?
|
Bleh sorry, the call to setup-rubies was meant to be removed. |
I guess at this point of having the env managed almost entirely by Crawler, installing the ruby version automatically is probably fine. |
@artem-shelkovnikov I've re-implemented the ruby installation, and also the bundler installation. I also fixed the coloring so yellow log lines can be reserved for warnings. I think it reads much easier now. |
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.
Did some testing and everything looks good after I installed everything!
The script files were a bit bloated as we haven't looked at them since porting over base crawler. There were also limitations (e.g. forced env managers) that I don't think would be healthy for an open-code repo.
rbenv
andjenv
when runningmake install
CRAWLER_MANAGE_ENV=true
make install