klib icon indicating copy to clipboard operation
klib copied to clipboard

Packaging?

Open jbergstroem opened this issue 13 years ago • 7 comments

Any plans on doing releases of klib? Versioning, tarballing and so on. I'd really like to see changelog notes outside the header files as well.

jbergstroem avatar Mar 10 '11 13:03 jbergstroem

For now, I do not have plan to properly package klib, partly due to the way it is developed and partly due to the fact that each component of klib is independent of others. Nonetheless, I will leave the issue open here. If more people are requesting packaging, I will probably do that.

attractivechaos avatar Mar 10 '11 13:03 attractivechaos

I like the current approach, just one file to include :) Nice fast library btw :) Could use some better docs, but hell, that's always the case :)

DavyLandman avatar Mar 11 '11 14:03 DavyLandman

I wouldn't care about packaging, but versioning is important.

I woud recommend semantic versioning (http://semver.org/).

theduke avatar Apr 24 '16 17:04 theduke

+1 I for one would love packaging. I think a simple package that just installs these the headers into a klib subdir would be super handy.

martingkelly avatar Sep 06 '17 23:09 martingkelly

There are reasonable arguments for consuming this library as single files on-demand, as well as for consuming it as a package. Doing github releases improves the situation for consumers wanting to use the second approach, while not precluding consumers from using the first.

My team would like to create a package for this library for the Conan package manager. Our standard approach is to use Github releases. The library and resulting package are much less attractive if we don't have a semantically versioned github release/tarball that we can pin to, and increment over time as the components evolve.

solvingj avatar Jan 10 '19 04:01 solvingj

Releases would be nice, I agree. If there are none, you can also use an auto-incrementing number + a git commit hash as the version. Debian does this for some packages.

martingkelly avatar Jan 10 '19 17:01 martingkelly

Yes, we have a documented strategy for it here, but as I said, it’s suboptimal for us and consumers.

https://bincrafters.readthedocs.io/en/latest/using_packages.html#packages-without-official-releases

solvingj avatar Jan 10 '19 22:01 solvingj