[Koha-bugs] [Bug 22890] Add a chronological changelog

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 22 19:01:49 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22890

--- Comment #18 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 101388
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101388&action=edit
Bug 22890: Add CHANGELOG.md and display it in About page

CHANGELOG.md was generated by the following command:

ls misc/release_notes/*.md \
    | sort --reverse -V \
    | xargs cat \
    | sed -e 's/^#/##/' -e '1 i\# Changelog\n' > CHANGELOG.md

Releases notes before 16.05 were not generated in markdown, so they are
not included in CHANGELOG.md

Markdown to HTML conversion is done in the browser, using Showdown
(http://showdownjs.com/)

I also tested Text::Markdown from CPAN
(https://metacpan.org/pod/Text::Markdown) but it was very slow.
Text::Markdown from https://daringfireball.net/projects/markdown/ was
faster but cannot be found on CPAN.
I also considered pandoc but it was a bit slow too and required
more additional dependencies.

Converting in the browser is slow too but has the benefit of allowing
the reader to have access to the raw changelog before it is correctly
rendered (so they can start reading it)
On the other side, converting on the server side we would be able to
put the resulting html in cache.
Suggestions welcome :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list