-
Notifications
You must be signed in to change notification settings - Fork 186
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
checkout: allow to checkout obs imported sources of scmsync sources #1624
Conversation
Hello @adrianschroeter! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-11-08 07:30:30 UTC |
should I do this large re-formating of existing code where the linter complains about? |
@@ -5250,6 +5250,8 @@ def do_browse(self, subcmd, opts, *args): | |||
help='Use server side generated sources instead of local generation.') | |||
@cmdln.option('-l', '--limit-size', metavar='limit_size', | |||
help='Skip all files with a given size') | |||
@cmdln.option('--native-obs-package', action='store_true', | |||
help='Do not clone native scm repositories: Different representation and you will not be able to submit changes!') |
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.
overindented (should be one space beyond the opening parentheses) and wrapping missing
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.
yes, but I don't want to become inconsistent with all other options ... let's either change all or none (but I would do it in another commit)
This allows to skip the check of obs-scm-bridge and checks out what is stored in OBS src server. Note: This is not necessarly the same representation as in git (.obscpio instead of directories or sub modules). Also no modification can be committed. So this is only intended for people who understand the current internal implementation of the source storage. There is no guarantee that this won't change. Checkout of entire project git is not working with this switch, as the packagelist of osc is empty. It may also make no sense to do this as it will not perform for large projects.
Co-authored-by: Dirk Mueller <[email protected]>
Co-authored-by: Dirk Mueller <[email protected]>
511bc31
to
f4298b8
Compare
This allows to skip the check of obs-scm-bridge and checks out what is stored in OBS src server.
Note: This is not necessarly the same representation as in git
(.obscpio instead of directories or sub modules).
Also no modification can be committed.
So this is only intended for people who understand the current
internal implementation of the source storage. There is no
guarantee that this won't change.
Checkout of entire project git is not working with this switch, as the packagelist of osc is empty. It may also make no sense to do this as it will not perform for large projects.