organisation icon indicating copy to clipboard operation
organisation copied to clipboard

Guidelines for releases

Open ftyers opened this issue 5 years ago • 3 comments

We should write some general guidelines for releases.

ftyers avatar Jul 06 '20 00:07 ftyers

Some exist, but need major surgery:

  • https://wiki.apertium.org/wiki/Release_policy
  • https://wiki.apertium.org/wiki/Making_a_release
  • https://wiki.apertium.org/wiki/Packaging

TinoDidriksen avatar Jul 06 '20 07:07 TinoDidriksen

I think in current ecosystem it would make sense to have ~standard ci test suite to pass prior to release. There's a whole bunch of different attempts for tests (make check style) in various languages and pairs we just need to figure out the best and most generic one. Particularly I think the current Release policy list:

  • Testvoc should be clean
  • Whether it compiles and runs with the latest release of apertium/lttoolbox (and other required packages)
  • Whether it compiles and installs correctly as a tarball created with make dist (see Making_a_release#Testing)
  • If there are regression tests, check that these pass
  • Run a corpus through it, and ensure there are no debug symbols (#, @)

can be easily automated as ci test.

flammie avatar Jul 06 '20 13:07 flammie

Currently, I do the middle 3 (builds with release versions; builds from tarball; run make test) as part of the packaging work. I assume language devs have done testvoc and corpus to their own standards before they hand it off to me.

But yes, this can be automated. https://github.com/apertium/apertium-packaging/issues/16 is also relevant.

TinoDidriksen avatar Jul 06 '20 13:07 TinoDidriksen