Skip to content
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

Add dependency installer script #5

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

bipinKrishnan
Copy link
Contributor

Currently, the doc-builder installs the packages required for each project by going through if-else statements as there are slight changes in the commands used for each project. Adding install_dependencies.sh script will allow the doc builder to generalise this process by having to just look for this script in the project directory.

The PR is related to the below task:
https://trello.com/c/VG4SYszL

Copy link
Contributor

@KareemMAX KareemMAX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently we have https://github.com/unifyai/builder/blob/master/docs/prebuild.sh, do you think we need to merge it with install_dependencies.sh?

@bipinKrishnan
Copy link
Contributor Author

bipinKrishnan commented Jun 13, 2023

Currently we have https://github.com/unifyai/builder/blob/master/docs/prebuild.sh, do you think we need to merge it with install_dependencies.sh?

The code for installing prebuilds(if available) is still present in the doc builder. But I think the best way would be it add the code for running this prebuilds inside installer scripts, that would make it more standard I guess and we only have to look into the installer script in the repo to know about the dependencies. Hope this is what you also meant 🙂

Copy link
Contributor

@KareemMAX KareemMAX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks

@bipinKrishnan bipinKrishnan merged commit 5437861 into ivy-llc:master Jun 19, 2023
@bipinKrishnan bipinKrishnan deleted the add-dependency-installer branch June 19, 2023 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants