You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/02/02 19:18:00 UTC

[jira] [Resolved] (AVRO-1431) Publish the Avro C# library to NuGet

     [ https://issues.apache.org/jira/browse/AVRO-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Tzvetanov Grigorov resolved AVRO-1431.
---------------------------------------------
    Fix Version/s: 1.7.7
       Resolution: Fixed

Thank you, [~KSchoonover] !

> Publish the Avro C# library to NuGet
> ------------------------------------
>
>                 Key: AVRO-1431
>                 URL: https://issues.apache.org/jira/browse/AVRO-1431
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.7.5
>            Reporter: Sid S
>            Priority: Major
>             Fix For: 1.7.7
>
>
> ASF's Avro library is currently distributed as a downloadable .tar.gz file from the project web site for C# projects. A more streamline approach would be to distribute the library (and perhaps tools) as NuGet packages so that project repositories using Avro can instead get the l;ibrary from NuGet at build time (very similar to Maven's library dependency resolution).
> How to make a NuGet package:
> http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package
> To be able to run NuGet on Linux (eg: build machine or dev machine): http://monomvc.wordpress.com/2012/03/06/nuget-on-mono/
> The desire to have Avro on NuGet is motivated by two main benefits
> 1) Easier integration and lightweight code-repositories for all consumer-projects of the Avro library
> 2) Counters the effects of finding an incompatible "Avro" library on NuGet. (Details: Currently searching for Avro on NuGet brings up the Microsoft Hadoop team's Avro library which forces every Avro field to be nullable => alters the schema => breaks wire compatibility in cross-platform environments. Having the official ASF Avro library on NuGet would prevent people from accidentally using that incompatible library)
> For the best flexibility, we can have two NuGet packages:
> 1. "Avro" = Library only (this will cover the avro.dll)
> 2. "Avro Tools" = The code-gen tools for IDL compiling as well as Schema compiling



--
This message was sent by Atlassian Jira
(v8.20.1#820001)