-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Implementation of held/unheld functions for state pkg #60432
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vzhestkov
force-pushed
the
held-unheld-implementation
branch
from
June 24, 2021 08:15
cc0d23c
to
1208cac
Compare
vzhestkov
force-pushed
the
held-unheld-implementation
branch
from
June 25, 2021 10:38
8bf386c
to
968b304
Compare
Ch3LL
suggested changes
Jun 29, 2021
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 will require a changelog and test coverage
vzhestkov
force-pushed
the
held-unheld-implementation
branch
from
July 2, 2021 09:32
ca38197
to
2ea5f00
Compare
Ch3LL
suggested changes
Aug 9, 2021
twangboy
requested changes
May 2, 2022
@vzhestkov Some merge conflicts on this one and some requested changes. |
vzhestkov
force-pushed
the
held-unheld-implementation
branch
2 times, most recently
from
May 27, 2022 09:45
dafb8ee
to
353c119
Compare
Fix docs for held/unheld functions of pkg state Remove ignoring retcode 104 in favour for PR#58552 Add `root` parameter to hold/unhold functions Move `root` to functions signature and add missing parameter description to held/unheld Remove all_versions and ignore_no_matching_item Add root to hold/unhold docstrings Remove empty line
Add unit test for pkg.held/unheld state functions Code formatting fix for the tests Fix test formatting
vzhestkov
force-pushed
the
held-unheld-implementation
branch
from
May 27, 2022 10:16
353c119
to
51e2399
Compare
twangboy
requested changes
May 27, 2022
twangboy
approved these changes
May 27, 2022
@twangboy thanks a lot for taking care of it |
Ch3LL
approved these changes
May 31, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Implements
held
/unheld
functions for statepkg
module.Examples:
Implements
list_holds
function forzypperpkg
module. The output is similar toyumpkg.list_holds
. The only difference is thatzypperpkg
calculates the current locked packages fromlist_locks
as the yum and zypper have different way of managing locks.Improves
hold
function forzypperpkg
to handle package version if specified.