<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 11, 2018, at 12:37 AM, Michael Stapelberg <<a href="mailto:stapelberg@debian.org" class="">stapelberg@debian.org</a>> wrote:</div><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 10, 2018 at 6:08 PM, Pete Heist <span dir="ltr" class=""><<a href="mailto:pete@eventide.io" target="_blank" class="">pete@eventide.io</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><br class=""></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class="">- I tried getting signatures working but punted because GitHub creates a .tar.gz, which I signed with a .tar.gz.asc, but the build process expects a .tar.xz.asc in the upstream, so lintian then warns with 'orig-tarball-missing-<wbr class="">upstream-signature'. Is there any pkg-go example of signatures working with a GitHub hosted repo? Otherwise I’ll eventually figure it out.</div></div></div></blockquote><div class=""><br class=""></div><div class="">The process currently is a bit clunky. dh-make-golang hardcodes using xz (via tar J), so either you change that in dh-make-golang’s source, or you manually create the packaging git repository:</div><div class=""><br class=""></div><div class=""># save GitHub .tar.gz as irtt_0.9.0.orig.tar.gz</div><div class="">% mkdir irtt</div><div class="">% cd irtt</div><div class="">% git init</div><div class="">% gbp import-orig ../irtt_0.9.0.orig.tar.gz</div><div class="">% cp -r /tmp/dh-make-golang/irtt/debian .</div><div class="">% git commit -a -m "Initial packaging”</div></div></div></div></div></blockquote><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class=""><br class=""></div><div class="">Let me know if anything else. Thanks!</div></div></div></blockquote><div class=""><br class=""></div><div class="">It would be good to avoid copying the systemd .service file into debian/. I think you can instead install it with a debian/rules override. See e.g. <a href="https://sources.debian.org/src/forked-daapd/25.0-2/debian/rules/?hl=22#L22" class="">https://sources.debian.org/src/forked-daapd/25.0-2/debian/rules/?hl=22#L22</a></div><div class=""><br class=""></div><div class="">Let me know how you’d like to proceed regarding the signatures. It’s not a requirement to sign the releases for now, but note that after the initial upload, we don’t have the luxury of starting with a fresh repository anymore.</div></div></div></div></blockquote><br class=""></div><div>Ok, I took the advice for the .service file (thanks, that’s smoother), and re-initialized the repo for the last time. :)</div><div><br class=""></div><div>I passed on signing for now. I modified dh-make-golang to make a .tar.gz (thought I might even submit a pull request with a new command line option), but the .tar.gz that’s created is not the same as the one GitHub automatically creates (different internal directory names for starters), so for each build it looks like I’d have to:</div><div>- Run gbp once to generate the .tar.gz</div><div>- Sign it to get the .tar.gz.asc</div><div>- Run gbp again with the .tar.gz.asc in place to see that lintian doesn’t complain</div><div>- Manually upload the .tar.gz and .tar.gz.asc to GitHub</div><div>In the interest of keeping my release process as simple as possible, I’ll smooth this out later when I have more time!</div><div><br class=""></div><div>One more thing: I switched to semantic versioning when I started CHANGES.md, so on <a href="http://ftp.upload.debian.org" class="">ftp.upload.debian.org</a> what was irtt_0.9-1* before is now irtt_0.9.0-1*, in case there are some dangling files there that should be cleaned up.</div><div><br class=""></div><div>Thanks again!</div><div><br class=""></div><div>Pete</div><div><br class=""></div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"></div></div></div></blockquote></body></html>