DEV Community

Discussion on: 3 questions I have about developing open source libraries

Collapse
 
jamesmh profile image
James Hickey
  1. Pretty much release after each PR, which addresses one issue / new feature.

  2. I just change the version inside my .csproj file and run dotnet build -c Release. My .csproj is configured to build a nuget package automatically, which I'll then publish to NuGet using dotnet nuget push (with my API key etc. added).

  3. I don't worry about old versions of the codebase...what's on master is what everyone should be working from. If not, they should pull/merge the diffs.

Collapse
 
rubberduck profile image
Christopher McClellan

Managing a FLOSS project is tough enough without trying to support old versions. If someone else has a need for the 2.x version, let them maintain it.

Collapse
 
turnerj profile image
James Turner

Thanks for responding!

With point 1, I would have thought that it may have felt like a lot of releases for small changes. I do see benefits in management of bugs etc (eg. using version 1.2.5 was fine but 1.2.6 is broken - you know exactly where the bug came from) but if you have a lot of changes happening, the versions would have gone up fast. Is this more a case of "stable" development where there isn't a whole lot happening every other day/week?

Collapse
 
jamesmh profile image
James Hickey

Ya, in my case, there aren't usually tons of bugs or features to tackle all-at-once. If that were the case then ya, I'd shoot for bundling a few of those into each release.