Hi list, I'd like to present some significant changes to the DUPR prototype[1].
A helper library[4] has been added to automatically generate debian/* from shell variables. The HFT[2] file or an auxiliary debian/ directory could be used to override the default debian/* file templates. Although my initial motivation didn't involve debian packaging simplification, but I changed my mind ... And this simplification approach seems not aggressive or radical at all. After careful consideration, three versions of .durpkg templates are provided[3]: * the default template https://github.com/dupr/duprkit/blob/master/templates/template-default.durpkg * the explict template doesn't generate debian/* files with the library https://github.com/dupr/duprkit/blob/master/templates/template-explicit.durpkg * the headonly template is simply a standard shell script, without any HFT cruft https://github.com/dupr/duprkit/blob/master/templates/template-headonly.durpkg As a result, the .durpkg file could be re-written in a much more elegant manner. Some examples: https://github.com/dupr/DefaultCollection/blob/master/blis/blis.durpkg https://github.com/dupr/DefaultCollection/blob/master/gotop/gotop.durpkg https://github.com/dupr/DefaultCollection/blob/master/rover/rover.durpkg The last example is the shortest yet complete one -- only 25 lines. Everyone is welcome to Comment[6], Try[7], or Join[5] the DUPR. Thanks, Mo [1] https://github.com/dupr/duprkit/releases/tag/0.0c [2] Hatless Folded Text (HFT), single-file spec that many people dislike [3] https://github.com/dupr/duprkit/tree/master/templates [4] https://github.com/dupr/duprkit/tree/master/lib [5] https://github.com/dupr/duprkit#contributing [6] https://github.com/dupr/duprkit/issues/9 [7] https://github.com/dupr/duprkit#instructions