Tatin icon indicating copy to clipboard operation
Tatin copied to clipboard

Make ReInstall obey minimal version selection

Open aplteam opened this issue 4 years ago • 1 comments

If after a re-install we end up with an older version of a package (because a package that requested a newer version of a dependency has disappeared for some reason) we still want to keep the later one anyway in order to stick with minimal version selection.

aplteam avatar Nov 15 '21 06:11 aplteam

Similarly, it needs to be discussed / decided / documented whether UnInstallPackages should prevent later versions from disappearing, read: obey MVS (minimal version selection) as well.

For example, let's assume we install APLProcess version 0.4.1 which depends on OS version 3.0.1.

We then install FilesAndDirs version 5.5.1 which depends on a later version of OS: 3.1.1

When we load all dependencies then MVS ensures that both OS and FilesAndDirs use the latest OS version available: 3.1.1

But when we use UnInstallPackages to uninstall FilesAndDirs, we fall back to OS 3.0.1.

It can well be argued that we should keep version 3.1.1 of OS despite the fact that this version is not requested of any package as a dependency.

aplteam avatar Oct 03 '23 10:10 aplteam

For the time being Tatin will not use the MVS strategy here but rather downgrade a package.

This restriction is now properly documented. It might be changed later depending on feedback.

aplteam avatar Jun 19 '24 06:06 aplteam