Details
-
Story
-
Status: Complete
-
Medium
-
Resolution: Done
-
None
-
None
-
None
-
EV 18.15 Stability/Availabilit, EV 18.16 Releasing 1.6
-
Unset
Description
As of now POOL_UPGRADE txn upgrades IndyNode only with the dependencies.
We need to be able to use the txn to upgrade the products based on IndyNode.
See a PoA in https://docs.google.com/document/d/1_sVPtltsTZqP1ZK_wimrJuY8-Emc89TwYT51m0OZxF4/edit#heading=h.z1u0dzf62loi:
- Extend the POOL_UPGRADE txn with the (optional) package name (assume indy-node if not present)
- get the list of dependencies for the specified package (apt-cache can be used on Ubuntu)
- If it sees indy-node there, it get the list of dependencies for indy-node as well (use existing logic).
- As an output, it creates a list of the packages with dependencies to be installed in the correct order.
For example,
[indy-plenum=1.4.4, indy-node=1.4.1, plugin1=1.0.1, plugin2=1.0.2, specified_package=2.0.0]