Skip to content
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

Support updating submodules to main branch #497

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

adrianschroeter
Copy link
Member

main is the new master ... even better would be a
possibility to specify the branch or tag. Maybe with tag:, but then the next question arises
to do this per submodule ...

@@ -201,7 +201,7 @@ def fetch_submodules(self):
'--recursive'],
cwd=self.clone_dir
)
elif 'submodules' in argsd and argsd['submodules'] == 'master':
elif 'submodules' in argsd and argsd['submodules'] in [ 'main', 'master' ]:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (83 > 79 characters)
whitespace after '['
whitespace before ']'

@@ -201,7 +201,8 @@ def fetch_submodules(self):
'--recursive'],
cwd=self.clone_dir
)
elif 'submodules' in argsd and argsd['submodules'] == 'master':
elif 'submodules' in argsd and
argsd['submodules'] in ['main', 'master']:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation is not a multiple of four
unexpected indentation

@adrianschroeter adrianschroeter force-pushed the main_branch_update branch 2 times, most recently from ed43621 to cb1d272 Compare July 31, 2024 08:25
@@ -201,7 +201,8 @@ def fetch_submodules(self):
'--recursive'],
cwd=self.clone_dir
)
elif 'submodules' in argsd and argsd['submodules'] == 'master':
elif 'submodules' in argsd and \
argsd['submodules'] in ['main', 'master']:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line over-indented for visual indent

main is the new master ... even better would be a
possibility to specify the branch or tag. Maybe with
tag:<SOMTHING>, but then the next question arises
to do this per submodule ...
@adrianschroeter adrianschroeter merged commit aa42eca into openSUSE:master Jul 31, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants