Repository navigation
Fixes https://github.com/NuGet/Home/issues/420 - #164
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
there is not much point in making tests fully async, it forces all consumers to go async for no strong reason
Contributor
Author
There was a problem hiding this comment.
Spotted the only consumer in a test that was async before the change. Besides GeneratePackageAsync method hides async stream writing so that entire call chain has to be async.
Contributor
|
|
Contributor
Author
|
File NuGet.Client/src/NuGet.Core/NuGet.Common/ZipArchiveExtensions.cs doesn't seem to be used anywhere. So I went ahead and deleted it to avoid confusion and code duplication. |
Contributor
|
About the ziparchive, did you get a full build + tests passing without it? Common will not show references |
Contributor
Author
|
@yishaigalatzer Full build as always! No shortcuts))) |
alpaix
force-pushed
the
dev-alpanov-420
branch
from
December 23, 2015 02:15
2f7cf9f to
9bced3c
Compare
Contributor
|
👍 |
alpaix
force-pushed
the
dev-alpanov-420
branch
2 times, most recently
from
December 23, 2015 19:51
ad7ad35 to
ca4bba9
Compare
+ Introduced test constant for zero byte entry content + Added async counterparts for AddEntry methods + Added AssertDirectoryExists and AssertFileExists for convenience
Fixes NuGet/Home#420 + Updated extracted file LastWriteTime with a value in corresponding ZipArchiveEntry. + Added unit-test to verify the fix. + Removed redundant file NuGet.Client/src/NuGet.Core/NuGet.Common/ZipArchiveExtensions.cs
alpaix
force-pushed
the
dev-alpanov-420
branch
from
December 23, 2015 20:44
ca4bba9 to
24dc57e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes NuGet/Home#420.
ZipArchiveEntry.