taori / NugetUnlister

dotnet global tool, to unlist nuget packages
MIT License
5 stars 0 forks source link

Feature request: Introduce AnyReleaseBefore and multiple --package [PACKAGE NAME] #9

Closed teneko closed 3 years ago

teneko commented 3 years ago

Any idea to support unlisting PrereleaseBefore and ReleaseBefore in one command?

Proposal:

nuget-unlist drop AnyReleaseBefore [YOUR PACKAGE NAME] [0.1.3] [..]

Currently I have to do something like that:

for AnyReleaseBefore in PrereleaseBefore ReleaseBefore; do for PackageName in PackageX PackageY; do nuget-unlist drop $AnyReleaseBefore $PackageName 0.1.3; done; done

Not very nice. Haha. Would be nice to support something like nuget-unlist drop AnyReleaseBefore [..] and multiple --package [Package NAME].

taori commented 3 years ago

Hi, Thanks for your feature request

Unfortunately i cannot really see an immediate need to work on this.

Usually this tool is used from within automation scripts which are written once and copy pasted past that.

The multiple packages part i would not implement at all because it acts contrary to nugets cli, which afaik does not allow for management of multiple packages either.

Regarding AnyReleaseBefore however i am willing to accept a pull request if you want to invest the time for it. It should be fairly simple to implement really.

Unless you want to do a PR i will probably take a while to get arround to working on this though.

Best regards

teneko commented 3 years ago

I have created a pull request. See #10.

taori commented 3 years ago

Thank you. Once the pipeline issues are resolved i will merge it

teneko commented 3 years ago

Another pull request has been applied. When this does not succeed for whatever reason I can only advice you to add my fork as downstream make the changes you may talk about and apply and accept a new pull request by yourself.

taori commented 3 years ago

Fixed by #11

taori commented 3 years ago

@teroneko Ok, the tool can be upgraded now through dotnet cli. Thanks again.