<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 21, 2014 at 11:25 AM, Alec Leamas <span dir="ltr">&lt;<a href="mailto:leamas.alec@gmail.com" target="_blank">leamas.alec@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Actually, the GL are pretty clear here: the source should be referenced using the full commit, nothing else. There is some reasoning why. The tag should got to  Version: (as long its &#39;sane&#39;).<br>

<br></div>Besides that this is the existing GL, there is also a subtle difference in git-archive (which supposedly runs this).  When archiving  a tag, the sources gets today&#39;s date. OTOH, when archiving a commit,  the sources modification dates are their commit date. Last time I checked this was also true on github.</div>
</blockquote><div><br></div><div>Of course github could change it at any time but it looks to be working properly right now, in the case of OpenColorIO:</div><div>Source0:        <a href="https://github.com/%{upstream}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz">https://github.com/%{upstream}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz</a><br>
</div><div><br></div><div>run through spectool:</div><div><a href="https://github.com/imageworks/OpenColorIO/archive/v1.0.9/OpenColorIO-1.0.9.tar.gz">https://github.com/imageworks/OpenColorIO/archive/v1.0.9/OpenColorIO-1.0.9.tar.gz</a></div>
<div><br></div><div>downloaded right now:</div><div>$ curl -LO <a href="https://github.com/imageworks/OpenColorIO/archive/v1.0.9/OpenColorIO-1.0.9.tar.gz">https://github.com/imageworks/OpenColorIO/archive/v1.0.9/OpenColorIO-1.0.9.tar.gz</a><br>
</div><div><br></div><div>$ ll OpenColorIO-1.0.9</div><div><div>total 72</div><div>-rw-rw-r--.  1 build build 11958 Oct  8 17:59 ChangeLog</div><div>-rw-rw-r--.  1 build build 15763 Oct  8 17:59 CMakeLists.txt</div><div>drwxrwxr-x.  6 build build  4096 Oct  8 17:59 docs</div>
<div>drwxrwxr-x.  5 build build  4096 Oct  8 17:59 export</div><div>drwxrwxr-x.  3 build build  4096 Oct  8 17:59 ext</div><div>-rw-rw-r--.  1 build build    45 Oct  8 17:59 INSTALL</div><div>-rw-rw-r--.  1 build build 11286 Oct  8 17:59 LICENSE</div>
<div>-rw-rw-r--.  1 build build  1115 Oct  8 17:59 README</div><div>drwxrwxr-x.  6 build build  4096 Oct  8 17:59 share</div><div>drwxrwxr-x. 11 build build  4096 Oct  8 17:59 src</div><div>drwxrwxr-x.  2 build build  4096 Oct  8 17:59 testdata</div>
</div><div><br></div><div>Still has the Oct 8 tag date.</div><div><br></div><div>Is there a possibility of updating the guidelines? I like this method much better, no only is it clearer but easier to maintain. Of course if upstream does not tag releases, then the current method should be used.</div>
<div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>