SharpZipLib 版本有什么问题?

What's up with SharpZipLib versions?

最近在尝试确定有关 SharpZipLib 的单点真相时遇到了麻烦。

什么是真正的最新版本?

它的 github repository 根本不包含任何 git 标签。

有 3 个 nuget 存储库:

谁能解释一下这是怎么回事?

What's the real truly latest version?

最新的 'official' 版本来自 github 大师:

[assembly: AssemblyVersion("0.86.0.518")]

https://github.com/icsharpcode/SharpZipLib/blob/master/src/AssemblyInfo.cs

SharpZipLib:zip、gzip、bzip2 和 tar .NET 压缩库的讨论论坛 #ziplib. http://community.sharpdevelop.net/forums/12.aspx

Mono 提供的版本是 0.84:

-#if NET_2_0
+#if NET_4_0
+[assembly: AssemblyVersion("4.84.0.0")]
+#elif NET_2_0
 [assembly: AssemblyVersion("2.84.0.0")]
 #else
-// not worrying about the NET_1_0 profile for now.
-[assembly: AssemblyVersion("0.84.0.0")]
+   #error "No profile"
 #endif

https://github.com/mono/mono/commit/c0611696133477fac99e776e58c32446b054b62d#diff-5edef1128c50390b6747e095c19c1890

查看自述文件,它在 10 年前被拉入 Mono 存储库以允许在框架重置时进行内联编译...

'official'compiled/binary下载地址为:

“所有下载都是针对版本 0.86.0,构建于 2010/05/25。” http://icsharpcode.github.io/SharpZipLib/

https://github.com/icsharpcode/SharpZipLib/wiki/Release-History

'patched' 版本来自 github 分支,'nano-byte' 应用了许多与日期相关的补丁,其中包括:

+[assembly: AssemblyVersion("0.86.4")]

https://github.com/nano-byte/SharpZipLib

b4ee4aa6528bc7c1500ca269734a67bd9bac0294 Updated .gitignore
f1e878c7a3f2db26efcdfc6d8f014d6399d9d155 Incremented version number
14b432069e4232bc3b576783d1550f85c52c881f Ignore NT timestamps
6115e8df3ec296261876a87ec333457093dd29ab Incremented version number
614564b645ee54d6f75ad4702f0706917a1a75dc Improve extracting Unix and NT timestamps from ZipExtraData
eb431344f9b47a28a414f2414e4ce4dc778e82fd Back ZipEntry.DateTime with a real DateTime field instead of DosTime
b424950f686a2b1677f9a395a563878691630f66 Expose ZipEntry.HostSystem as HostSystemID enum instead of int
8723d4954cf76f756703f1a5fc762e94b66488d3 Script for making NuGet package
25c26632471da2ade32c44a87765efa427570349 Tweaked .gitignore
ea826884cf6f535a9545b98b50fb4b1d92f98850 Incremented version number
e0f530e1bfe7f4396ffa745612f9280e15254fc6 Gracefully handle missing OEMCodePage by defaulting to 850
7c842d9d04890b58f69bc8be2fb739db22c022ba Fixed XML comment error
e8e39211ee89a52835bcb1d2bda29ee094864335 Incremented version number
9abe910a6df145479bce95da7c3c351023e73181 Support long names in Tar archives ("prefix" header field as defined by ustar)
e520ccc26201c22dcc9606851889294841b2c563 Enable symlinks and hardlinks in TAR archives
87adf509f99298ec38924c66a2cfdb88a9a45732 Fixed timezone shifting
30b0ccde62ad3c39c22c153168706ea358837fbd Throw ZipException instead of generic Exception on password error
5f2bcd8258cdf11d4654b2295539430387e9e34a Tolerate 0-value (missing) local size headers.
afa64c5c76bca6c25d0fdb9039719e421b94c04a Created .nuspec file (NuGet package definition)
edb41a689fefe9ceafdfc9f9c8a0dc05a01d84bb Generate debugging symbols in Release build
a3f3e59865ee0fa089b76268dc13c29a44853a6b Added Visual Studio 2012 solution, use NuGet to download NUnit
068abd49b839c188b79cdbeb0a54f499cfa44630 Sign assembly
f08e5a9805ccc13de28be17ef25544bd4a996915 Added .gitignore file
c49a22d70a77819b1dc88309c91e99565aa9099b Create README.md
5f57a54eeca2a6c1a13265ead38249c795bc6718 Z-1684 Fixed File Timestamp being lost via ZipFile.Add with modified entry name
~~~