{"id":919,"date":"2018-12-19T21:20:26","date_gmt":"2018-12-19T20:20:26","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/?p=919"},"modified":"2018-12-19T21:20:26","modified_gmt":"2018-12-19T20:20:26","slug":"qmlbook-gets-ci-cd","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2018\/12\/qmlbook-gets-ci-cd\/","title":{"rendered":"QmlBook gets CI\/CD"},"content":{"rendered":"\n<p>Christmas is coming and a long and exciting fall is coming to and end. One of my projects during this fall has been to update the <a href=\"http:\/\/qmlbook.github.io\/\">QmlBook<\/a>. This was made possible by <a href=\"https:\/\/www.qt.io\/\">The Qt Company<\/a> who generously stepped in and sponsored my work on this &#8211; thank you all!<\/p>\n\n\n\n<p>I&#8217;ve worked away during the fall adding a whole bunch of new contents and the documentation people over at The Qt Company has joined in and helped with a language review. One frustrating aspect of the QmlBook project has unfortunately been that the CI\/CD system has been broken for a very long time. This means that even the small typo fixes made over the past months has not made it beyond the <a href=\"https:\/\/github.com\/qmlbook\/qmlbook\">source git repository<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"280\" src=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-1.png\" alt=\"\" class=\"wp-image-924\" srcset=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-1.png 604w, https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-1-300x139.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<p>All this changed tonight! After fighting with <a href=\"https:\/\/travis-ci.org\/\">Travis<\/a>, trying to understand why things around <a href=\"http:\/\/www.sphinx-doc.org\">Sphinx Docs<\/a> has broken, realizing that Travis has quirks &#8211; as has the old QmlBook deployment setup, I could finally merge pull request <a href=\"https:\/\/github.com\/qmlbook\/qmlbook\/pull\/221\">#221 &#8211; Implementing CI\/CD<\/a> (and then fiddled around with the last quirks). Big thanks to my co-author, J\u00fcrgen Bocklage-Ryannel, who reviewed and helped me through this.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"232\" src=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-2.png\" alt=\"\" class=\"wp-image-925\" srcset=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-2.png 816w, https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-2-300x85.png 300w, https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-2-768x218.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/figure>\n\n\n\n<p>To celebrate this, I took the liberty of changing the style of the page. This way, you will recognize that you are browsing the new, updated QmlBook.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"289\" src=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image.png\" alt=\"\" class=\"wp-image-923\" srcset=\"https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image.png 713w, https:\/\/www.thelins.se\/johan\/blog\/wp-content\/uploads\/2018\/12\/image-300x122.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n\n\n<p>There were unfortunately a few sacrifices made during this transition. We lost support for generating QtHelp (it can most likely be fixed) and we dropped support for translations during a transitional period. There is <a href=\"https:\/\/github.com\/qmlbook\/qmlbook\/blob\/master\/TRAVIS.md\">a plan<\/a> for both translations and different parallel versions of the book. The idea is to tune each version of the book to a specific Qt version.<\/p>\n\n\n\n<p>To sum things up: expect broken links. Expect missing contents. But know that the contents is up-to-date!<\/p>\n\n\n\n<p>Now &#8211; go enjoy Christmas! God Jul p\u00e5 er alla!<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Christmas is coming and a long and exciting fall is coming to and end. One of my projects during this fall has been to update the QmlBook. This was made possible by The Qt Company who generously stepped in and sponsored my work on this &#8211; thank you all! I&#8217;ve worked away during the fall &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2018\/12\/qmlbook-gets-ci-cd\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">QmlBook gets CI\/CD<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,4],"tags":[],"class_list":["post-919","post","type-post","status-publish","format-standard","hentry","category-kde","category-qt"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=919"}],"version-history":[{"count":1,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/919\/revisions"}],"predecessor-version":[{"id":926,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/919\/revisions\/926"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}