ben-strasser / fast-cpp-csv-parser

fast-cpp-csv-parser
BSD 3-Clause "New" or "Revised" License
2.09k stars 435 forks source link

Make a release #99

Open zamazan4ik opened 4 years ago

zamazan4ik commented 4 years ago

Hi! Thank you for the great library. I am interested in packaging your library for different C++ dependecy managers. But without release that's not so convinient (because in a recipe I must rely on specific commit instead of tag/release). Can you please prepare any release of the library (v1.0 or whatever you want) for being more dependency_managers-friendly? Thank you a lot!

ben-strasser commented 4 years ago

Why would using 1.0 be better than a commit hash?

The advantage with a commit hash is that it is always automatically bumped when a bug is fixed. A version tag is something that I must bump manually, i.e., it is something that I might forget to do and thus screw up. I prefer having fewer things to screw up.

zamazan4ik commented 4 years ago

Library tag/release is required for packaging. Since all normal libraries provide to end users some version (usually semver) and user can rely on them. For packaging it's also useful since nowadays we lock on versions instead of commits.

Why version is better than commit hash - with version you can easily detect, which library version is older or newer, which has breaking changes, new patches, etc (semver provides such information).

According automatic updates: that's not really good idea since user usually wants specific version and want to get a control over bumping package version. Automatic updates don't work well since user can have different caching mechanisms in his build infra.

I hope my ideas are clear. So if it's not so difficult for you - can you please prepare a release of the library? :) If you choose semver - will be awesome.

Thank you a lot!

ben-strasser commented 4 years ago

Sorry, I barely have the time to look at issues and the occasional pull request. The benefits you list are slim for a header-only library that only gets the occasional bug fix and does not otherwise change. If you want the latest version, use master. If you want a specific version, use the commit hash (or even better the hash of the header file). I do not have the time or will to do a release management that goes beyond that.

CodeFinder2 commented 1 year ago

@zamazan4ik Quite late and maybe not exactly what you are looking for but maybe this helps: https://github.com/CodeFinder2/fast-cpp-csv-parser