Support different consolidation strategies in pull-package-versions
#12
Labels
enhancement
New feature or request
pull-package-versions
#12
In case a central version already exists, the current implementation either discards the package version, or updates it in the central file only if
--update
is specified AND the referenced version is higher than the central version.We should add options to fine tune this behavior. Some cases we should consider (
reference
refers to theVersion
inPackageReference
andcentral
to theVersion
in the existingPackageVersion
, if any).reference
>central
reference
>central
andreference.major
=central.major
reference.major
<central.major
(and leave the warning or error to the CPVM implementation)Also, multiple existing references with different versions should be consolidated using similar strategies.
The text was updated successfully, but these errors were encountered: