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

error when attempting to pack multiple files into the same destination #3923

Merged
merged 4 commits into from
Feb 25, 2021

Conversation

zkat
Copy link
Contributor

@zkat zkat commented Feb 24, 2021

Bug

Fixes: NuGet/Home#6941

Regression? Last working version:

Description

This PR makes it so that pack fails if you try to pack two or more files into the exact same destination. We believe this is acceptable because, even though this would be a new error, the packages generated when this was happening are pretty much broken.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

@zkat zkat marked this pull request as ready for review February 24, 2021 21:43
@zkat zkat requested a review from a team as a code owner February 24, 2021 21:43
Copy link
Contributor

@erdembayar erdembayar left a comment

Choose a reason for hiding this comment

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

Maybe bit perf improvement suggestion.

Copy link
Contributor

@donnie-msft donnie-msft left a comment

Choose a reason for hiding this comment

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

🎈 for Validation!

Copy link
Contributor

@erdembayar erdembayar left a comment

Choose a reason for hiding this comment

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

Looks good for me.

@zkat zkat force-pushed the dev-zkat-6941-pack-dupe-files branch from 2264429 to 8de50a6 Compare February 25, 2021 00:02
Copy link
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

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

We need to account for the case sensitivity and I think @kartheekp-ms has some good feedback as well.

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.

NuGet doesn't error when packaging nuspec with duplicate files.
6 participants