-
Notifications
You must be signed in to change notification settings - Fork 1.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
Added new starting point for cpt.py- Cling Packaging Tool [skip-ci] #10728
Conversation
Can one of the admins verify this patch? |
@@ -1834,7 +1834,8 @@ def custom_input(prompt, always_yes=False): | |||
# Global variables # | |||
############################################################################### | |||
|
|||
workdir = os.path.abspath(os.path.expanduser(args['with_workdir'])) | |||
if __name__ == "__main__": |
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.
Can you clarify (in the commit message) what this change does and why it is needed?
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 @vgvassilev, I just made changes to the original commit message
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.
Can you format your commit message according to https://cbea.ms/git-commit/
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 just reformatted according to the link @vgvassilev, sorry for the wait
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 still see the old commit message style.
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.
ping.
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.
Sorry not getting the notifications for this PR for some reason
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 @vgvassilev, commit style fixed sorry for the wait
Added new main block because this was mentioned in the meta issue list (root-project#406 in cling) as one of the rewrite steps. This also allows for the main code to be run as opposed to running the main code plus the function defintions.
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!
This Pull request:
Adds a new starting point for cpt.py
Changes or fixes:
Added if name == "main" block to cpt.py
Checklist:
This PR fixes 406 (root-project/cling#406)