mathnet / mathnet-spatial

Math.NET Spatial
http://spatial.mathdotnet.com
MIT License
376 stars 132 forks source link

How do we pack and release? #158

Open JohanLarsson opened 5 years ago

JohanLarsson commented 5 years ago

There has been some work done and we should release a new version. I'm not familiar with the scripts so don't know how to pack and release.

We should update so that the scripts produce the analyzer package and adds it as a dependency to the library package as it has fixes for things we made obsolete and breaking changes.

cdrnet commented 5 years ago

Yes, this needs to be documented like in Numerics - but up to date.

In Numerics, creating a release is essentially:

Unfortunately the following aspects currently bind this to me:

B and C we can fix or work around.

Regarding the analyzer packages: yes, but I think the highest priority first is to be able to create and publish new packages in the first place - at least prerelease once.

JohanLarsson commented 5 years ago

The analyzer has code fixes for things we made [Obsolete], mostly convenience but still nice if we could pack & publish with the dependency.

Jones-Adam commented 5 years ago

well if you merge in #155 it would be safe enough for a prerelease build which supports .net standard, running build.sh publish works as far as I can test

JohanLarsson commented 5 years ago

@crdnet can you review #155? I don't know this stuff well enough to review.

cdrnet commented 5 years ago

I finally upgraded the build framework and release a new beta. Before we do a proper release (without beta prerelease tag) we should have a look at how to package the analyzers properly.

cdrnet commented 5 years ago

It seems I've missed to notice unexpected package references in the resulting NuGet package - tracked in #161.

JohanLarsson commented 5 years ago

I can help with packaging the analyzers. We want a structure like:

/analyzers
  /dotnet
    /cs
      Mathnet.Spatial.Analyzers.dll
<developmentDependency>true</developmentDependency>

And the analyzer package should have no dependencies. The dependencies are provided by Visual Studio or MsBuild.

li0nsar3c00l commented 5 years ago

Whats the reason for keeping the nuget references in seperate files?

cdrnet commented 5 years ago

@li0nsar3c00l are you referring to the fact that there are two paket.references files instead of just one? Or that there is a paket.references file in the first place? Or something else?

li0nsar3c00l commented 5 years ago

I am referring to the fact, that this repository is using a packet reference file in the first place instead of adding them directly to the project file. This seem to lack proper suport for asset exclusion, especially regarding https://github.com/mathnet/mathnet-spatial/issues/161

cdrnet commented 5 years ago

Ah, that's supported just fine. I've just closed #161 with a fix.

li0nsar3c00l commented 5 years ago

Nice to see! Are the build artifacts pushed to somewhere like myget?

SkinnySackboy commented 5 years ago

Thanks for this guys, I’m looking forward to the officialised .NET standard version.

li0nsar3c00l commented 5 years ago

Any Chance you can push the current build to nuget?

Isitar commented 5 years ago

any update when you release a new beta build to nuget without StyleCop in it?

SkinnySackboy commented 5 years ago

Any idea when the current beta version will be made official?

jkalias commented 1 year ago

Hi @cdrnet ,

Could you please create a todo list similar to Numerics which someone else than you can process? I'd love to keep the library up to date