<div dir="ltr">Here is the problem I have: I use auto tool (autoconf, automake, configure and make dist-gzip) to generate the distribution tarball. All Makefile and Makefile.in are generated from Makefile.am. I don't want to check in generated files, because they will be changed dramatically even you only introduce one more file. I cannot find a way to let github generate my tarball automatically. Currently, i check the tarball in the git repository directly. <div>
<br></div><div>Please let me if you know what is the standard way to generate this tarball. <br><div><br></div><div>Thanks,</div><div>Yu Peng</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 20, 2014 at 3:25 PM, Andreas Tille <span dir="ltr"><<a href="mailto:andreas@an3as.eu" target="_blank">andreas@an3as.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again,<br>
<br>
many thanks for the very quick response.  I was able to download a<br>
tarball from github but something seems wrong - it contains another<br>
tarball which seems to be the proper one for a source distribution since<br>
it contains the Makefile.in files and the configure script.  I have<br>
no personal experience with git but something in the tarball creation<br>
seems to be wrong.<br>
<br>
Kind regards<br>
<br>
        Andreas.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Jun 20, 2014 at 02:55:34PM -0700, Yu PENG wrote:<br>
> Ok, I created a release tag (<br>
> <a href="https://github.com/loneknightpy/idba/releases/tag/1.1.2" target="_blank">https://github.com/loneknightpy/idba/releases/tag/1.1.2</a>).<br>
><br>
> Thanks,<br>
> Yu Peng<br>
><br>
><br>
><br>
> On Fri, Jun 20, 2014 at 2:35 PM, Andreas Tille <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > On Fri, Jun 20, 2014 at 11:03:04AM -0700, Yu PENG wrote:<br>
> > > I migrated idba code to github and applied the patches. (<br>
> > > <a href="https://github.com/loneknightpy/idba/tree/idba-1.1.2" target="_blank">https://github.com/loneknightpy/idba/tree/idba-1.1.2</a>)<br>
> ><br>
> > Cool!  This might standardise our packaging procedure.<br>
> ><br>
> > > You can find the<br>
> > > binary package here (<br>
> > ><br>
> > <a href="https://github.com/loneknightpy/idba/blob/idba-1.1.2/idba-1.1.2.tar.gz?raw=true" target="_blank">https://github.com/loneknightpy/idba/blob/idba-1.1.2/idba-1.1.2.tar.gz?raw=true</a><br>
> > > ).<br>
> ><br>
> > Debian is in general not interested in binary packages but only sources<br>
> > (since we try to support more architectures and also try to use<br>
> > different compilers (which has led to the latest patch).  If you are<br>
> > on Github simply tagging a release might be sufficient to obtain the<br>
> > source tarball.<br>
> ><br>
> > Many thanks for your quick response<br>
> ><br>
> >       Andreas.<br>
> ><br>
> > > On Fri, Jun 20, 2014 at 9:19 AM, Andreas Tille <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>> wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > thanks for the quick and helpful reply.  Feel free to ping me once your<br>
> > > > next release is ready.<br>
> > > ><br>
> > > > Kind regards<br>
> > > ><br>
> > > >       Andreas.<br>
> > > ><br>
> > > > On Fri, Jun 20, 2014 at 08:54:25AM -0700, Yu PENG wrote:<br>
> > > > > Thanks for providing patch. I will merge it to our code base. We do<br>
> > have<br>
> > > > > unit tests internally but we didn't include it the package. I will<br>
> > > > include<br>
> > > > > it in the new version.<br>
> > > > ><br>
> > > > > Thanks,<br>
> > > > > Yu Peng<br>
> > > > ><br>
> > > > ><br>
> > > > > On Fri, Jun 20, 2014 at 4:39 AM, Andreas Tille <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>><br>
> > wrote:<br>
> > > > ><br>
> > > > > > Hello,<br>
> > > > > ><br>
> > > > > > the Debian Med team has packaged your program idba for Debian.<br>
> > > > > > Currently there is an effort in Debian to build the distribution<br>
> > with<br>
> > > > > > the clang compiler that is a bit more strict about syntax.  A<br>
> > patch was<br>
> > > > > > provided to solve this problem which can be found here:<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > ><br>
> > <a href="http://anonscm.debian.org/viewvc/debian-med/trunk/packages/idba/trunk/debian/patches/clang.patch?view=markup" target="_blank">http://anonscm.debian.org/viewvc/debian-med/trunk/packages/idba/trunk/debian/patches/clang.patch?view=markup</a><br>

> > > > > ><br>
> > > > > > BTW, we also have applied another patch for some architectures.<br>
> >  Fell<br>
> > > > > > free to apply also this<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > ><br>
> > <a href="http://anonscm.debian.org/viewvc/debian-med/trunk/packages/idba/trunk/debian/patches/use-atomic-for-mips.patch?view=markup" target="_blank">http://anonscm.debian.org/viewvc/debian-med/trunk/packages/idba/trunk/debian/patches/use-atomic-for-mips.patch?view=markup</a><br>

> > > > > ><br>
> > > > > > to your code (I forgot whether I just reported this to you - sorry<br>
> > if<br>
> > > > > > it is a duplicate).  Finally our sanity check has found a<br>
> > misspelling:<br>
> > > > > ><br>
> > > > > >    I: idba: spelling-error-in-binary usr/bin/idba_hybrid unkown<br>
> > unknown<br>
> > > > > ><br>
> > > > > > What I'm also wondering is:  You are providing a test directory<br>
> > which<br>
> > > > > > unfortunately only contains an empty Makefile.am (and the according<br>
> > > > > > Makefile.in).  We would be really interested to run some unit<br>
> > tests to<br>
> > > > > > prove the proper function of idba.<br>
> > > > > ><br>
> > > > > > Kind regards and thanks for providing idba as free software<br>
> > > > > ><br>
> > > > > >      Andreas.<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Thu, Jun 19, 2014 at 05:12:39PM -0400, Alexander Ovchinnikov<br>
> > wrote:<br>
> > > > > > > Package: idba<br>
> > > > > > > Severity: minor<br>
> > > > > > > Tags: patch<br>
> > > > > > > User: <a href="mailto:pkg-llvm-team@lists.alioth.debian.org">pkg-llvm-team@lists.alioth.debian.org</a><br>
> > > > > > > Usertags: clang-ftbfs<br>
> > > > > > ><br>
> > > > > > > Hello,<br>
> > > > > > ><br>
> > > > > > > Using the rebuild infrastructure, your package fails to build<br>
> > with<br>
> > > > clang<br>
> > > > > > > (instead of gcc).<br>
> > > > > > ><br>
> > > > > > > We detected this kinf of error:<br>
> > > > > > > <a href="http://clang.debian.net/status.php?version=3.4.2&key=NON-POD" target="_blank">http://clang.debian.net/status.php?version=3.4.2&key=NON-POD</a><br>
> > > > > > ><br>
> > > > > > > Full build log is available here:<br>
> > > > > > ><br>
> > > ><br>
> > <a href="http://clang.debian.net/logs/2014-06-16/idba_1.1.1-2_unstable_clang.log" target="_blank">http://clang.debian.net/logs/2014-06-16/idba_1.1.1-2_unstable_clang.log</a><br>
> > > > > > ><br>
> > > > > > > Thanks,<br>
> > > > > > > Alexander<br>
> > > > > > ><br>
> > > > > > > -- System Information:<br>
> > > > > > > Debian Release: jessie/sid<br>
> > > > > > >   APT prefers unstable<br>
> > > > > > >   APT policy: (500, 'unstable')<br>
> > > > > > > Architecture: amd64 (x86_64)<br>
> > > > > > ><br>
> > > > > > > Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)<br>
> > > > > > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
> > > > > > > Shell: /bin/sh linked to /bin/dash<br>
> > > > > ><br>
> > > > > > > --- idba-1.1.1/src/tools/parallel_rna_blat.cpp        2013-07-23<br>
> > > > > > 14:27:57.000000000 -0400<br>
> > > > > > > +++ idba-1.1.1-my/src/tools/parallel_rna_blat.cpp     2014-06-19<br>
> > > > > > 17:08:02.373666423 -0400<br>
> > > > > > > @@ -61,7 +61,7 @@<br>
> > > > > > ><br>
> > > > > > >  void SplitSequenceFile()<br>
> > > > > > >  {<br>
> > > > > > > -    FastaWriter writers[num_threads];<br>
> > > > > > > +    FastaWriter *writers = static_cast<FastaWriter<br>
> > > > > > *>(alloca(sizeof(FastaWriter) * num_threads));<br>
> > > > > > >      for (int i = 0; i < num_threads; ++i)<br>
> > > > > > >          writers[i].Open(split_files[i]);<br>
> > > > > > ><br>
> > > > > > > --- idba-1.1.1/src/release/parallel_blat.cpp  2013-07-23<br>
> > > > > > 14:27:57.000000000 -0400<br>
> > > > > > > +++ idba-1.1.1-my/src/release/parallel_blat.cpp       2014-06-19<br>
> > > > > > 17:09:06.758253507 -0400<br>
> > > > > > > @@ -61,7 +61,7 @@<br>
> > > > > > ><br>
> > > > > > >  void SplitSequenceFile()<br>
> > > > > > >  {<br>
> > > > > > > -    FastaWriter writers[num_threads];<br>
> > > > > > > +    FastaWriter *writers = static_cast<FastaWriter<br>
> > > > > > *>(alloca(sizeof(FastaWriter) * num_threads));<br>
> > > > > > >      for (int i = 0; i < num_threads; ++i)<br>
> > > > > > >          writers[i].Open(split_files[i]);<br>
> > > > > > ><br>
> > > > > ><br>
> > > > > > > _______________________________________________<br>
> > > > > > > Debian-med-packaging mailing list<br>
> > > > > > > <a href="mailto:Debian-med-packaging@lists.alioth.debian.org">Debian-med-packaging@lists.alioth.debian.org</a><br>
> > > > > > ><br>
> > > > > ><br>
> > > ><br>
> > <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > <a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
> > > > > ><br>
> > > > > ><br>
> > > ><br>
> > > > --<br>
> > > > <a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
> > > ><br>
> > > ><br>
> ><br>
> > --<br>
> > <a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
> ><br>
> ><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
<a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
<br>
</font></span></blockquote></div><br></div></div></div></div>