-
Notifications
You must be signed in to change notification settings - Fork 9
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
modulize #41
base: main
Are you sure you want to change the base?
modulize #41
Conversation
Separating the code in main which specifies the exact -patches branch can be moved to a different method. |
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.
This appears to be mostly reversions of things merged into main recently. can you rebase (you may have to revert then interactively add relevant sections) so that only the changes relevant to this PR?
rdopkg_tar/tar_changes.py
Outdated
def parse_args(parsed_params): | ||
""" | ||
parse args from the spec file and assign to the collection parsed_params | ||
args assigned: branch, patches_branch, changes, tarball, osdist, args | ||
""" |
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'd rather initialize parsed_params in the parse_args function, we can just return it
rdopkg_tar/tar_changes.py
Outdated
params = parsed_params(branch, patches_branch, changes, tarball, osdist, args) | ||
|
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.
You can just return parsed_params(...) here
Modulize main function, pls recommend suggested changes.