RELEASING.rst 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ================
  2. Releasing Blosc
  3. ================
  4. :Author: Francesc Alted
  5. :Contact: francesc@blosc.org
  6. :Date: 2014-01-15
  7. Preliminaries
  8. -------------
  9. - Make sure that ``RELEASE_NOTES.rst`` and ``ANNOUNCE.rst`` are up to
  10. date with the latest news in the release.
  11. - Check that *VERSION* symbols in blosc/blosc.h contains the correct info.
  12. - Commit the changes::
  13. $ git commit -a -m"Getting ready for X.Y.Z release"
  14. Testing
  15. -------
  16. Create a new build/ directory, change into it and issue::
  17. $ cmake ..
  18. $ cmake --build .
  19. $ ctest
  20. To actually test Blosc the hard way, look at the end of:
  21. http://blosc.org/synthetic-benchmarks.html
  22. where instructions on how to intensively test (and benchmark) Blosc
  23. are given.
  24. Forward compatibility testing
  25. -----------------------------
  26. First, go to the compat/ directory and generate a file with the current
  27. version::
  28. $ cd ../compat
  29. $ export LD_LIBRARY_PATH=../build/blosc
  30. $ gcc -o filegen filegen.c -L$LD_LIBRARY_PATH -lblosc -I../blosc
  31. $ ./filegen compress lz4 blosc-lz4-1.y.z.cdata
  32. In order to make sure that we are not breaking forward compatibility,
  33. link and run the `compat/filegen` utility against different versions of
  34. the Blosc library (suggestion: 1.3.0, 1.7.0, 1.11.1, 1.14.1).
  35. You can compile the utility with different blosc shared libraries with::
  36. $ export LD_LIBRARY_PATH=shared_blosc_library_path
  37. $ gcc -o filegen filegen.c -L$LD_LIBRARY_PATH -lblosc -Iblosc.h_include_path
  38. Then, test the file created with the new version with::
  39. $ ./filegen decompress blosc-lz4-1.y.z.cdata
  40. Repeat this for every codec shipped with Blosc (blosclz, lz4, lz4hc, snappy,
  41. zlib and zstd).
  42. Tagging
  43. -------
  44. - Create a tag ``X.Y.Z`` from ``master``. Use the next message::
  45. $ git tag -a vX.Y.Z -m "Tagging version X.Y.Z"
  46. - Push the previous commits and tag to the github repo::
  47. $ git push
  48. $ git push --tags
  49. Announcing
  50. ----------
  51. - Send an announcement to the blosc, pytables-dev, bcolz and
  52. comp.compression lists. Use the ``ANNOUNCE.rst`` file as skeleton
  53. (possibly as the definitive version).
  54. Post-release actions
  55. --------------------
  56. - Edit *VERSION* symbols in blosc/blosc.h in master to increment the
  57. version to the next minor one (i.e. X.Y.Z --> X.Y.(Z+1).dev).
  58. - Create new headers for adding new features in ``RELEASE_NOTES.rst``
  59. and add this place-holder instead:
  60. #XXX version-specific blurb XXX#
  61. - Commit the changes::
  62. $ git commit -a -m"Post X.Y.Z release actions done"
  63. $ git push
  64. That's all folks!
  65. .. Local Variables:
  66. .. mode: rst
  67. .. coding: utf-8
  68. .. fill-column: 70
  69. .. End: