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

goal: return reason user if transaction was assembled without resolving #213

Closed
wants to merge 2 commits into from

Conversation

mluscon
Copy link

@mluscon mluscon commented Nov 18, 2016

This is required by dnf history cmd as it doesn't resolve undo/redo transactions
and get_reason is consequently called in the transaction output.

…ng (RhBug:1393595)

This is required by dnf history cmd as it doesn't resolve undo/redo transactions
and get_reason is consequently called in the transaction output.
Copy link
Member

@Conan-Kudo Conan-Kudo left a comment

Choose a reason for hiding this comment

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

Looks good to me, it fixes mga#19744 / rhbz#1393595 for me.

@@ -1179,8 +1179,8 @@ int
hy_goal_get_reason(HyGoal goal, DnfPackage *pkg)
{
//solver_get_recommendations

assert(goal->solv);
if (!goal->solv)
Copy link
Contributor

Choose a reason for hiding this comment

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

let's use existing @hughsie's explicit style if (goal->solv == NULL)

Copy link
Author

Choose a reason for hiding this comment

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

ok

@ignatenkobrain
Copy link
Contributor

@rh-atomic-bot r+

1 similar comment
@ignatenkobrain
Copy link
Contributor

@rh-atomic-bot r+

@rh-atomic-bot
Copy link

📌 Commit 2fb3c11 has been approved by ignatenkobrain

@rh-atomic-bot
Copy link

⌛ Testing commit 2fb3c11 with merge db29abf...

rh-atomic-bot pushed a commit that referenced this pull request Nov 21, 2016
…ng (RhBug:1393595)

This is required by dnf history cmd as it doesn't resolve undo/redo transactions
and get_reason is consequently called in the transaction output.

Closes: #213
Approved by: ignatenkobrain
@rh-atomic-bot
Copy link

💥 Test timed out

@Conan-Kudo
Copy link
Member

@ignatenkobrain The bot exploded, can someone merge this manually?

@ignatenkobrain
Copy link
Contributor

@dnf-bot r+

@dnf-bot
Copy link
Member

dnf-bot commented Nov 22, 2016

📌 Commit 2fb3c11 has been approved by ignatenkobrain

@ignatenkobrain
Copy link
Contributor

@dnf-bot retry

@dnf-bot
Copy link
Member

dnf-bot commented Nov 24, 2016

⌛ Testing commit 2fb3c11 with merge 19e0074...

@dnf-bot
Copy link
Member

dnf-bot commented Nov 24, 2016

☀️ Test successful - status-jenkins
Approved by: ignatenkobrain
Pushing 19e0074 to master...

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.

None yet

5 participants