-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ticket3492 update upgrade script #32
base: master
Are you sure you want to change the base?
Conversation
@@ -43,6 +45,9 @@ | |||
SOURCE_MACHINE_SETTINGS_CONFIG_PATH = os.path.join(SOURCE_FOLDER, SETTINGS_CONFIG_FOLDER, "NDXOTHER") | |||
SOURCE_MACHINE_SETTINGS_COMMON_PATH = os.path.join(SOURCE_FOLDER, SETTINGS_CONFIG_FOLDER, "common") | |||
|
|||
THIRD_PARTY_INSTALLERS_REL_DIR = "..\\..\\third_party_installers" |
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.
Use os.path.join
""" | ||
Reminds the user to copy the third party installs from the share | ||
""" | ||
print("This is a new feature. If you find problems, add them to #3492, or open a new one and reference #3492") |
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 don't think this line is needed (if bugs are found, we'll find the appropriate ticket anyway)
for installer in installers: | ||
if "Git" in installer: | ||
RunProcess(working_dir=THIRD_PARTY_LATEST, executable_file=installer, prog_args=GIT_INSTALL_ARGS).run() | ||
# TODO update git config |
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.
Surely this is just a call to git_configs()
which you've defined below?
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.
Yep, I forgot to remove the TODO comment
…it being re-installed half way through it's session
There is a problem with re-installing git from within python - gitpython doesn't like the executable changing under it. I attempted to fix it in the latest commit but there is still an issue. |
Updated script to:
It also no longer asks the user to update web dashboard