NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
540 stars 128 forks source link

Handle package restrictions #1081

Closed phatcher closed 3 years ago

phatcher commented 3 years ago

🚀 Feature Requests

Currently the package parser cannot handle package restrictions e.g.

Skipping package 'Unity' with version range '[4.0.1, 5.0.0)' that is not a single version in file 'C:\Devel\Sample\Code\Sample\Sample.Unity.csproj'

This means that acquiring security patches etc still has to be done manually.

Contextualize the feature

Would allow all types of patching to occur automatically

Describe the feature

  1. Parser should break out the range into low/high values
  2. High value should be used as a restriction, on the allowable package change within the context of the requested update type i.e. Patch, Minor, Major
  3. Changes need to be applied on a project rather than solution level so we keep the constraints, probably should wait on #912/913

Platforms affected (mark all that apply)

MarcBruins commented 3 years ago

Hi Phatcher, can you make a PR to support this?

phatcher commented 3 years ago

@MarcBruins Sure, I'll have a go

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.