richardszalay / helix-publishing-pipeline

Unified publishing for Sitecore Helix solutions that extends existing Visual Studio and command line workflows
MIT License
68 stars 18 forks source link

What is 'RichardSzalay.Helix.Publishing.Module' for? #58

Closed hombreDelPez closed 5 years ago

hombreDelPez commented 5 years ago

Hi Richard

First of all, thank you very much for your work and this awesome project :)

I noticed that there are currently two NuGet packages available on www.nuget.org which are related to HPP:

The weird thing is that the second package (RichardSzalay.Helix.Publishing.Module) isn't mentioned anywhere, also not in your readme.

So my question is, is this package used for a special use case (and if yes, for what) or is it on www.nuget.org by mistake (duplicate of the other package)? I did a file comparison and the contents of the two packages are exactly the same...

Best regards, Manuel

richardszalay commented 5 years ago

Hi Manuel,

Great question! Originally, the idea was that if you weren't publishing the "WebRoot" you could reference Module and it would exclude the Web.config. In practice, though, it's simple enough to skip it manually and it was confusing to have two packages so I stopped directing people to it.

The packages can have the same contents because build/(PackageName).targets is automatically imported by NuGet, so it was easier to simply include both "entry point" target files in both packages.

As part of 2.0, I will likely deprecate both packages and direct (via a build error) updaters to a new RichardSzalay.Helix.Publishing package.

hombreDelPez commented 5 years ago

Hi Richard

Thank you for your clarifications :)

Best regards, Manuel