-
Notifications
You must be signed in to change notification settings - Fork 11
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
pull-submodules.py update for -latest flag #204
Conversation
pull-submodules.py
Outdated
@@ -177,10 +177,10 @@ def main(): | |||
branchToPull = "master" | |||
if branchExistsPcs.stdout.decode("utf-8").rstrip("\n") != "0": | |||
branchToPull = frameworkBranchName | |||
print(" --> Pulling branch : " + branchToPull + " ", end='') | |||
print(" --> Pulling branch : " + branchToPull + " ", end='') |
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.
Just a reminder that we should use Python f-strings whenever possible 👍🏻
print(" --> Pulling branch : " + branchToPull + " ", end='') | |
print(f" --> Pulling branch: {branchToPull}", end='') |
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.
Just a reminder that we should use Python f-strings whenever possible 👍🏻
@DavidDiezIb did you click on "commit suggestion" or did you write the commit yourself? just wondering in case you are not aware that you can accept suggestions from the web gui
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 did it myself, good to know for the next time ;)
Hi @DavidDiezIb what about the pulling the branch change forcing that each submodule has a local branch and is thus not detached? |
Why this PR was not yet merged? |
@lobis merging seems to be blocked by you |
pull-submodules.py update to consider recent commits in branches when using -latest flag.
Print which branch is pulling from.