That commit is a hack to allow the viewer to view kepub files, without writing a proper input plugin for kepub, since writing an input plugin will mean kepub can also be converted, and as I personally have no use for kepub I dont want to maintain such a plugin. If someone else wishes to commit to maintaining it, I have no objections to adding such a plugin (along with the accompanying metadata reader/writer plugins) to calibre. Or you can just develop and distribute such a set of plugins as standalone plugins.
Generally speaking I like to avoid adding support for single company ebook formats into the calibre core (there are of course exceptions [prominently lrf and the Kindle formats] and this is not a inviolable rule).
|