<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Andreas,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 8, 2020 at 12:54 PM Andreas Tille <<a href="mailto:tille@debian.org">tille@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Pranav,<br>
I hope you are happy with your result.<br></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you, they went quite well.</span> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">May be adding some binary package idba-extra (or some better name you<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
might find) to ship these additional tools that might be not needed in<br>
every day use but might be helpful anyway for some use case - for<br>
instance testing the package.<br>
<br>> Also, would it be possible to have some programs available only during<br>
> testing, but not in the finall installation? Then we could run sim_reads<br>
> that way and avoid all the static data.<br>
<br>
Yes, for instance in an extra binary package.  While we could even run<br>
autopkgtest inside a compiled source tree I personally prefer to ship<br>
every tool inside some binary Debian package to enable users reproducing<br>
the test results on their installation.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Yes, this makes sense. I have added another package called idba-extra.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">T</span>han you do<br>
<br>
    git mv debian/install  debian/idba.install<br>
    git mv debian/manpages debian/idba.manpages<br>
<br>
(which is strictly speaking redundant since by default debian/install<br>
and debian/manpages are affecting the first binary package - but I<br>
consider this better) and create a<br>
<br>
    $EDITOR debian/idba-extra.install<br>
<br>
package listing all tools you want to install into this package.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">One small problem I ran into: There was no debian/install file originally, so I couldn't figure out how it is that these files are being copied. Is it something to do with make install?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've added debian/idba.install and debian/idba-extra.install, and everything works as expected.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Although, the following warnings are generated during testing.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>dh_missing: warning: usr/bin/idba_tran exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/validate_blat_parallel exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/validate_blat exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/idba_ud exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/scan.py exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/idba_hybrid exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div>dh_missing: warning: usr/bin/run-unittest.py exists in debian/tmp but is not installed to anywhere</div></div><div class="gmail_quote"><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">dh_missing: warning: usr/bin/idba exists in debian/tmp but is not installed to anywhere</span></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div></div></blockquote><div class="gmail_quote"><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Please check debian/*.install and see if these are right.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have also changed the test files now. Only a few necessary files are included, and the rest are generated during testing. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Let me know if I missed anything, otherwise please review and sponsor these changes.<span style="font-family:Arial,Helvetica,sans-serif"> </span></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hope this short intro is helpful.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It was very helpful, indeed. I have a few more queries, though. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I was trying to find more information about the structure of packages and I found these two guides: </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf" style="font-family:Arial,Helvetica,sans-serif">https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="https://www.debian.org/doc/manuals/maint-guide/dother.en.html" style="font-family:Arial,Helvetica,sans-serif">https://www.debian.org/doc/manuals/maint-guide/dother.en.html</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Are these okay, or would you recommend some other resource? </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Also, now that we have included some new programs in the idba-extra package, how can I generate man pages for them? I noticed that it is the debian/*.1 files that correspond to manpages, and are generated using help2man.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But as far as I understand, help2man needs the executable, which is produced only inside the testing chroot. So, do I run help2man inside the chroot, or is there another way?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">And does anything else need to be done, when a new package is added?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Please reply whenever it is convenient for you.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Pranav</div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aYmFsbGFuZXlwcmFuYXZAZ21haWwuY29t&type=zerocontent&guid=917dee42-3039-4f5c-b3aa-4389b21d3800"><font color="#ffffff" size="1">ᐧ</font></div>