Skip to content
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

Clarify PowerShell requirement #12

Closed
wants to merge 1 commit into from
Closed

Clarify PowerShell requirement #12

wants to merge 1 commit into from

Conversation

lackovic
Copy link

Made requirement more explicit, as 5+ can be interpreted as any version greater than 5.

As in "5+" can be interpreted as any version greater than 5.
@majkinetor
Copy link
Owner

majkinetor commented Dec 15, 2019

Not sure about it. People did run it on 6 and it will most definitelly work on 7.
I do develop it with 5 currently but that is going to change soon enough.

@lackovic
Copy link
Author

lackovic commented Dec 16, 2019

Not sure about it. People did run it on 6 and it will most definitelly work on 7.

When running au_setup.ps1, at step 3 of Chocolatey Automatic Updater (AU) Setup, I get the following error:

Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.
At C:\src\lackovic\chocolatey-packages\setup\au_setup.ps1:14 char:1
+ Install-PackageProvider -Name NuGet -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (Microsoft.PowerShel\u2026tallPackageProvider:InstallPackageProvider) [Install-PackageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider

I don't get this error on PowerShell 5.x.

I have been told in chocolatey.org citter chat group that AU does not support PowerShell 6+, although there is a ticket for it (majkinetor/au#158).

@majkinetor
Copy link
Owner

AU setup is not part of the AU framework. I dont maintain any more chocolatey packages template, but au packages template.

@lackovic
Copy link
Author

lackovic commented Dec 16, 2019

AU setup is not part of the AU framework.

Thanks for the clarification: when they told me AU does not support PowerShell 6+ I wrongly assumed it was the framework not supporting it.

I have clarified this in my PR in chocolatey-packages-template repo.

Nothing to do here then, closing this PR.

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

Successfully merging this pull request may close these issues.

2 participants