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

Fix Content Types created by Mono #605

Merged
merged 2 commits into from
Feb 27, 2016
Merged

Fix Content Types created by Mono #605

merged 2 commits into from
Feb 27, 2016

Conversation

kevinmartin
Copy link
Contributor

Attempts to remove default content types in [Content_Types].xml with empty Extensions.

This happens when adding a file via your NuSpec file with no extension, such as LICENSE.

Fixes #520

/cc @fasterthanlime

@fasterthanlime
Copy link
Contributor

This is basically a workaround for a nupkg bug right? It should probably be fixed upstream instead.

@kevinmartin
Copy link
Contributor Author

I'm not really familiar with nupkg/nuget, unfortunately.

Plus, this is backwards compatible with previous versions of nupkg/nuget.

@anaisbetts
Copy link
Contributor

Yeah, while I agree with @fasterthanlime in principle, in reality this is probably going to be Very Arduous

@kevinmartin
Copy link
Contributor Author

I also agree. The ideal scenario would be to fix upstream. But...

  • The NuGet.exe in Squirrel.Windows is 2 years old.
  • And the nuget.exe in atom/grunt-electron-installer is 1 year old.
  • And the nuget.exe in all of the popular forks of atom/grunt-electron-installer, such as electronjs/windows-installer, Aluxian/electron-windows-installer, and mongodb-js/electron-installer-squirrel-windows all use the same 1 year old nuget.exe.

@fasterthanlime
Copy link
Contributor

I was going to mention that the workaround would be a good idea if it was one of the last holdouts for getting a complete Squirrel.Windows toolchain working on Linux.. but the Microsoft patching package is the real problem there, not the LICENSE file.

However, if nobody bothers updating their NuGet.exe, then that workaround might be very welcome/useful. 👍

@kevinmartin
Copy link
Contributor Author

@paulcbetts is this good to be merged then or are there any changes you would like me to do?

@anaisbetts
Copy link
Contributor

@kevinmartin It's probably fine, I'll look at it soon

anaisbetts added a commit that referenced this pull request Feb 27, 2016
Fix Content Types created by Mono
@anaisbetts anaisbetts merged commit 53fe066 into Squirrel:master Feb 27, 2016
@anaisbetts
Copy link
Contributor

Thanks!

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.

3 participants