Skip to content

Conversation

@Duncaen
Copy link
Member

@Duncaen Duncaen commented Jul 2, 2019

This patchset removes revdep updates from xbps_transaction_update_pkg and xbps_transaction_install_pkg and uses the xbps_transaction_revdeps function to add required revdep updates to the transaction.
This will make xbps only update revdeps on install/update if the update is really required.

From commit message:
xbps_transaction_revdeps will now try to add updates for packages to the
transaction if the dependency is not satisified anymore due to a package
install/update.

xbps_transaction_prepare will now check the return value of
xbps_transaction_revdeps and repeat the dependency resolution,
until xbps_transaction_revdeps returns 0, which means that it didn't
add any new packages to the transaction.

Duncaen added 3 commits July 2, 2019 15:18
The new case checks if xbps is smart enough to only update packages that
require an update due to revdep updates.
`xbps_transaction_revdeps` will now try to add updates for packages to the
transaction if the dependency is not satisified anymore due to a package
install/update.

`xbps_transaction_prepare` will now check the return value of
`xbps_transaction_revdeps` and repeat the dependency resolution,
until `xbps_transaction_revdeps` returns 0, which means that it didn't
add any new packages to the transaction.
@Duncaen Duncaen requested a review from xtraeme July 2, 2019 13:27
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.

1 participant