-
-
Notifications
You must be signed in to change notification settings - Fork 807
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
Add a module manifest #242
Conversation
👍 Would love to get my team on this module without having to make modifications manually :) |
It's likely the manifest is encoded as UTF-16. Can you reencode as UTF-8 so we can see the diff? |
Done. Thanks, Visual Studio! |
✨ |
Just a heads up - this change makes Posh-Git incompatible with users who are still running PowerShell v2 - Was this intentional? Would you like me to log an issue about it? |
Hmm, based on #186 it looks like this was intentional. 😢 |
Unfortunately this is not something we directly track today. What we do know is that half of our users are on Windows 7, which comes with PowerShell 2.0 by default. I don't think Windows Update upgrades PowerShell, does it? So I have to assume that most people on Win7 are still on PS 2.0 because people never upgrade. http://blog.codinghorror.com/the-power-of-defaults/ |
That would be useful telemetry to have! If deprecating PS 2.0 is premature for your uses, we'll need to come up with a plan to not hold back the project (more than my neglect is already 👿) while preserving what support we can going forward. So @shiftkey what exactly is the problem with adding this |
@dahlbyk the error message you see when launching Posh Git under PowerShell v2 kinda sums it up:
However you cannot just remove |
Can you |
|
The RootModule key was renamed from ModuleToProcess in PowerShell v3 so is not compatible with PowerShell v2. ModuleToProcess still exists as an alias, so use that instead. See discussion in dahlbyk#242
No errors reported against
|
Providing a manifest should prevent any issues with exports occurring in the future. This will use the exports specified in posh-git.psm1 as discussed in #207, which should fix #224.