Skip to content

Conversation

@Mpdreamz
Copy link
Member

  • Moves our assembly rewriting of NEST over to https://github.com/nullean/AssemblyRewriter
  • Introduces rewrite routines of all publishable projects on canary builds.
    • e.g for NEST we build NEST.7.1.0-ci<date> as before but also NEST7.7.1.0-ci<date>
    • The later package has internalized Elasticsearch.Net and Json.NET and moves everything into the NEST7 namespace allowing side by side installs of multiple versions
  • StrongName checks were executed on the input to nuget pack, moved this to when we unpack the nuget packages and inspect the shipped dlls version numbers.
  • Removed the push automation from canary target, we'll be relying on AppVeyor to host from now on.

@Mpdreamz Mpdreamz merged commit 67a2482 into master Nov 26, 2018
@Mpdreamz Mpdreamz deleted the feature/versioned-packages branch November 26, 2018 14:27
Mpdreamz added a commit that referenced this pull request Nov 26, 2018
* WIP, moved to AssemblyRewriter for the merging of the main packages and introduced versioned packages on the canary build

* Cleaned up targets and made versioned nuget packages only a thing when doing canary builds

* allow a project to signal it wants to rewrite the dependencies but not merge them into the final dll, needed for Nest.JsonNetSerializer

* fail on first error when testing nuget packages, do not rewrite json.net for Nest.JsonNetSerializer, remove publish from canary target

* remove -stoponfail, should work but does not

* make sure published projects do not end up being merged but stay referenced through nuget

* update to latest assembly-resolver

* fix code standards tests to reflect Elastic.Internal namespace

* Versioned Nuget packages are now more distinct

* make sure yml uses spaces, only publish artifacts on master and \d.x branches, update to latest assemblyrewriter (we had this repos as 2 different projects on appveyor

(cherry picked from commit 67a2482)
Mpdreamz added a commit that referenced this pull request Nov 26, 2018
* WIP, moved to AssemblyRewriter for the merging of the main packages and introduced versioned packages on the canary build

* Cleaned up targets and made versioned nuget packages only a thing when doing canary builds

* allow a project to signal it wants to rewrite the dependencies but not merge them into the final dll, needed for Nest.JsonNetSerializer

* fail on first error when testing nuget packages, do not rewrite json.net for Nest.JsonNetSerializer, remove publish from canary target

* remove -stoponfail, should work but does not

* make sure published projects do not end up being merged but stay referenced through nuget

* update to latest assembly-resolver

* fix code standards tests to reflect Elastic.Internal namespace

* Versioned Nuget packages are now more distinct

* make sure yml uses spaces, only publish artifacts on master and \d.x branches, update to latest assemblyrewriter (we had this repos as 2 different projects on appveyor

(cherry picked from commit 67a2482)
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.

2 participants