-
Notifications
You must be signed in to change notification settings - Fork 0
Dev branch req #4
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: dev_branch
Are you sure you want to change the base?
Conversation
renan-ua
left a comment
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.
Hi, see my comments
mkcli.py
Outdated
| if isUbuntu == True: | ||
| while 1: | ||
| answer = input("Java 1.8 or newer. Do you want to update it? [Y/N]: "); | ||
| if ( answer == 'Y' or answer == 'N' or answer == 'y' or answer == 'n'): |
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 quite positive that if you select n, it will not exit and keep asking y/n over and over
mkcli.py
Outdated
| # response = request.urlopen(url,data) | ||
| file = response.read() | ||
| flag = False | ||
| def checkRequirements(): |
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.
General comments
- you repeat the code 3 times for the packages to install.. that's bad.. please reuse and organize them as function. If we keep them as is, that means that if we add 50 packages then this code will be repeated 50 times.. that's completely wrong.
-Do not place the new code on top of the run function, I see like everything changed and cannot go through the details. - I see that the function executes even though it is not a linux based, that could be a very first verification and just skip everything
- you have no logs, no header, no nothing.
- add a flag when executing mkcli.py to bypass the verification.
No description provided.