Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use lowercase name for package folders#2162

Merged
vors merged 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
andyleejordan:fix-parserandyleejordan/PowerShell:fix-parserCopy head branch name to clipboard
Sep 1, 2016
Merged

Use lowercase name for package folders#2162
vors merged 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
andyleejordan:fix-parserandyleejordan/PowerShell:fix-parserCopy head branch name to clipboard

Conversation

@andyleejordan

Copy link
Copy Markdown
Member

.NET CLI build 3546 started placing packages in:

~/.nuget/packages/microsoft.codeanalysis.common

instead of:

~/.nuget/packages/Microsoft.CodeAnalysis.Common

Where the previous (capitalized) version corresponded directly to the
package's name. Now they are all lower-cased.

.NET CLI build 3546 started placing packages in:

    ~/.nuget/packages/microsoft.codeanalysis.common

instead of:

    ~/.nuget/packages/Microsoft.CodeAnalysis.Common

Where the previous (capitalized) version corresponded directly to the
package's name. Now they are all lower-cased.
@msftclas

msftclas commented Sep 1, 2016

Copy link
Copy Markdown

Hi @andschwa, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Andy Schwartzmeyer). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@andyleejordan

Copy link
Copy Markdown
Member Author

/cc @vors we need to file issues against .NET CLI and NuGet. These sorts of changes should not happen on a stable branch (we're pinned to .NET CLI rel-1.0.0).

3246 was the last known good .NET CLI version.

@andyleejordan

Copy link
Copy Markdown
Member Author

Please note that this fix would require everyone to update .NET CLI, due to the behavioral differences of the newer versions.

@andyleejordan

Copy link
Copy Markdown
Member Author

We could add crap logic to deal with the two possible layouts.

@vors

vors commented Sep 1, 2016

Copy link
Copy Markdown
Collaborator

I'd prefer crap logic. It's probably easier then force everybody to update.

@andyleejordan

Copy link
Copy Markdown
Member Author

@vors I definitely prefer making people update. Crap work-around logic is how crap codebases develop.

@brthor has confirmed the change was intentional and so will continue to exist going forward. @vors We should make this parsing change instead of pinning .NET CLI.

@vors

vors commented Sep 1, 2016

Copy link
Copy Markdown
Collaborator

Ok, I guess once things will break, people will come here and ask what's going on and update. :shipit:

@andyleejordan

Copy link
Copy Markdown
Member Author

Exactly 😄 is our FAQ still a developer FAQ? If so, let's add a note.

@vors vors merged commit c695d41 into PowerShell:master Sep 1, 2016
@andyleejordan andyleejordan deleted the fix-parser branch September 1, 2016 23:26
from y in x.CompileTimeAssemblies where y.Path.EndsWith(".dll")
// Construct the path to the assemblies
select $"{context.PackagesDirectory}/{x.Name}/{x.Version}/{y.Path};");
select $"{context.PackagesDirectory}/{x.Name.ToLower()}/{x.Version}/{y.Path};");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it expected/desired for this to be dependent on the current culture, or should this be ToLowerInvariant?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nil4 you right, it's better to use ToLowerInvariant().

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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.