<div dir="ltr">Hi Oleg,<div><br></div><div>I was aware of similar tools thanks to Oliver Charles who pointed me to that great python tool: <a href="http://dzil.org/">http://dzil.org/</a>, seems like semantic-release have some interesting features as well!</div><div><br></div><div>Thanks for the pointers, especially `hackage-diff` that I was not aware of. It will help me a lot to get an even more automated tool :-)</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 May 2015 at 20:07, Oleg Grenrus <span dir="ltr"><<a href="mailto:oleg.grenrus@iki.fi" target="_blank">oleg.grenrus@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I don’t know if you are aware of <a href="https://www.npmjs.com/package/semantic-release" target="_blank">https://www.npmjs.com/package/semantic-release</a> project<div><br></div><div>It’s built for npm packages, but the same idea could be used for Haskell/cabal too.</div><div><br></div><div>The idea is to use SCM commit message to decide which version digit to bump.</div><div>- you still have to annotate changes</div><div>- and if you try to cheat, but semantic-release runs old test suite again new version of the library to detect obvious breaking changes</div><div><br></div><div>Seems there is <a href="https://github.com/blitzcode/hackage-diff" target="_blank">https://github.com/blitzcode/hackage-diff</a> which can be used to make the task of detecting API changes even easier.</div><div><br></div><div>Hopefully these pointers let you make even greater tool!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Oleg</div></font></span><div><br><div><blockquote type="cite"><div><div class="h5"><div>On 19 May 2015, at 20:02, Alois Cochard <<a href="mailto:alois.cochard@gmail.com" target="_blank">alois.cochard@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi all,<div><br></div><div>I am currently writing a tool to automate the release and version bump of cabal projects.</div><div><br></div><div>Currently you can call the tool by giving as argument the rank of the branch you want to bump, for example given <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a>:</div><div><br></div><div>- `cabal-release 0` bump to `1`</div><div>- `cabal-release 1` bump to `0.1`<br></div><div>- `cabal-release 2` bump to `0.0.1`<br></div><div>- `cabal-release 3` bump to `0.0.0.1`<br></div><div><br></div><div>As we are not all robots (yet), I thought that in addition to this it would be great if the user could give a human friendly name for the rank.</div><div><br></div><div>For now, here is what I have for the different rank:</div><div>0 == --major</div><div>1 == --major-fix<br></div><div>2 == --minor<br></div><div>3 == --minor-fix<br></div><div><br></div><div>I'm curious to know what you think of those names? any suggestions or known established convention about that?</div><div><br></div><div>Thanks</div><div><div><br></div>-- <br><div><div dir="ltr"><div><b>Λ\ois</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div><div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div></div></div>
</div></div></div></div><span class="">
_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Λ\ois</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div><div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div></div></div>
</div>