-
Notifications
You must be signed in to change notification settings - Fork 2.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
add --version to invoke.py arguments #2038
Conversation
This commit allows invoke.py to print out its name and version number when given the --version argument. I had to move some status messages around in order to make the output clean. There is still an early message about initializing patchmatch that interferes with a clean print of the version, and in fact the --no-patchmatch argument is not doing anything. This will be the subject of a subsequent PR.
Needed to support the web backend.
This is ready for review. |
I'll try to test this later tonight, but noticed that an empty create_installer.sh file was added - is this intentional? |
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.
LGTM! I tried to take a stab at avoiding the patchmatch messages, but quickly folded :)
(question about the empty installer/create_installer.sh
still remains though)
This is really strange, since it is only empty when viewed in this PR, but when I check out the PR it is not empty, also not empty when I view the File in the Commit itself. So let's knock on wood that this is only a bug in GitHub's WebUI 🙈 |
ok, I see what happened - the permissions were adjusted from 0755 to 0644, i.e. |
This commit allows invoke.py to print out its name and version number when given the --version argument. I had to move some status messages around in order to make the output clean.
There is still an early message about initializing patchmatch that interferes with a clean print of the version, and in fact the --no-patchmatch argument is not doing anything. This will be the subject of a subsequent PR.