-
Notifications
You must be signed in to change notification settings - Fork 97
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
Extend the parameters of 'images.load' and 'login' methods #426
Conversation
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: milanbalazs The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
I think the test failure (time-out) is connected to this issue: |
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.
@milanbalazs, thanks for the PR. tests should now be working if you want to rebase it.
Overall looks good, but I'd like to wait for the comments I asked before going on
Signed-off-by: Milan Balazs <[email protected]>
I don't really understand why the UnitTest says:
Based on the change, it's clearly visible that the @inknos Do you have any idea? |
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
Hopefully will figure out these things in this future PR #422 |
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
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.
@milanbalazs
Please address the small issue regarding the generator, rebase, squash it to fewer commits to have the logic of the changes a bit more clear, and we are ready to go :)
Thanks again for your PR and for reading all my comments, I understand it takes a lot of time, but I am happy with the result
Signed-off-by: Milan Balazs <[email protected]>
Signed-off-by: Milan Balazs <[email protected]>
PR looks good now. I'd like to clean up the commits a bit and rebase. I made a test branch with just a logical squash of the commits in 2. Then I rebased it with the If you are ok with it, @milanbalazs , I would like to push it to this branch. It's just polishing, there is absolutely no changes in your code. https://github.com/inknos/podman-py/tree/squash-pr-upstream-426 (for a clean look you could also try previewing a PR to see how it would look.) Once again, it's just a squash of the many commits, if you don't mind. |
@inknos It's absolutely OK from my side! :) |
Thanks @milanbalazs. I noticed that you created this PR from your main branch. Unfortunately I cannot edit it (maybe I can but I don't want to mess up with your main branch) and it is good practive to make a PR from a branch. You could open a new PR with the fixes, link it here and about this one, "close with comment". Then I'll pass the new one. Here are the steps to achieve it quickly if you need them. # add the remote with the squashed commits
git remote add inknos https://github.com/inknos/podman-py.git
# clone my branch
git fetch inknos refs/heads/squash-pr-upstream-426
# optional: checkout to it
git checkout squash-pr-upstream-426
# optional: check what's there
git log -p
# push it to your GH and open a new PR
git push origin squash-pr-upstream-426
# optional: remove the remote and the branch once it's done
git switch main ; git branch -D squash-pr-upstream-426 ; git remote remove inknos Thanks :) |
The new parameters of
login
method based on SystemAuth docs:The new parameter of
images.load
method:load
method opens the file and reads it as bytes. It means the method is able to handle file path as well, not only bytes. The scenarios when none of parameters or both of them are set are handled in the method.Fix for: