Skip to content

Should be able to ignore dependencies. #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kilasuit opened this issue Oct 2, 2020 · 4 comments
Closed

Should be able to ignore dependencies. #274

kilasuit opened this issue Oct 2, 2020 · 4 comments

Comments

@kilasuit
Copy link

kilasuit commented Oct 2, 2020

There are times when you will want to download a module from the gallery/internal gallery and ignore all dependencies (perhaps they are already installed)

Therefore a -IgnoreDependency switch should be able to be provided

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@ThomasNieto
Copy link
Contributor

I would expect that Install/Save-PSResource should be smart enough not to install a dependency if its already installed. As for the option in general this feature will be great for times when needing to synchronize packages from the gallery to internal gallery.

Should the name of the parameter be -ExcludeDependencies to match -IncludeDependenices on Find-PSResource?

@SydneyhSmith
Copy link
Collaborator

Thanks @kilasuit and @ThomasNieto we agree that this should be available, and like the proposal for -ExcludeDependencies as the name

@SydneyhSmith SydneyhSmith added this to the 3.0-Resolved milestone Oct 8, 2020
@alerickson
Copy link
Member

This is resolved with PR #550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants