<br><br><div class="gmail_quote">2011/8/9 Alex Mandel <span dir="ltr">&lt;<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have major concerns from a management perspective about not having<br>
version numbers in the files themselves. Especially with how many files<br>
get generated.<br></blockquote><div><br></div><div>Alex, list</div><div><br></div><div>Just externalized the download size values for the 7z vm, iso and iso-mini as well as the required hd space for running VirtualBox with ISO file.</div>
<div><br></div><div>values can be updated in settings.py (placed in doc folder)</div><div><br></div><div>updated download.rst files and added a Writing Tip on top.</div><div><br></div><div>Cheers, Frank</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

We already have an odd issue (though not sure if it&#39;s just<br>
horders/spammers) where some of the older versions are still heavily<br>
downloaded. The title makes it obvious to an end user which version they<br>
have in case they come asking for help.<br>
<br>
Thanks,<br>
Alex<br>
<div class="im"><br>
On 08/09/2011 04:33 AM, Cameron Shorter wrote:<br>
&gt; Frank,<br>
&gt; As per one of your suggestions, I think that we are too close to 5.0<br>
&gt; release, and as such shouldn&#39;t be introducing anything new like this<br>
&gt; proposal. Lets come back and revisit for the next release.<br>
&gt;<br>
&gt; On 09/08/11 20:39, Frank Gasdorf wrote:<br>
&gt;&gt; Update on this:<br>
&gt;&gt;<br>
&gt;&gt; Replacement within target URLs for images isn&#39;t possible yet. I found<br>
&gt;&gt; an other solution but this would lead to images without links in the<br>
&gt;&gt; first step. And here is what I plan to do:<br>
&gt;&gt;<br>
&gt;&gt; 1. enable extension &quot;sphinx.ext.extlinks&quot; in conf.py :<br>
&gt;&gt;<br>
&gt;&gt;     extensions = [ &#39;sphinx.ext.extlinks&#39; ]<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2. define an extlink for the download area in conf.py :<br>
&gt;&gt;<br>
&gt;&gt;     base_download_release_url=<br>
&gt;&gt;<br>
&gt;&gt; &#39;<a href="http://download.osgeo.org/livedvd/release/%(projectversion)s/%(variable)s" target="_blank">http://download.osgeo.org/livedvd/release/%(projectversion)s/%(variable)s</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
</div>&gt;&gt; &lt;<a href="http://download.osgeo.org/livedvd/release/%%28projectversion%29s/%%28variable%29s" target="_blank">http://download.osgeo.org/livedvd/release/%%28projectversion%29s/%%28variable%29s</a>&gt;&#39;<br>

<div class="im">&gt;&gt;<br>
&gt;&gt;     % { &#39;projectversion&#39;: version,&#39;variable&#39;:&#39;%s&#39;}<br>
&gt;&gt;<br>
&gt;&gt;     extlinks = {<br>
&gt;&gt;<br>
&gt;&gt;         &#39;osgeolive-download&#39;: (base_download_release_url, &#39;filename &#39;)<br>
&gt;&gt;<br>
&gt;&gt;     }<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 3. usage in download.rst page:<br>
&gt;&gt;<br>
&gt;&gt;     [..]<br>
&gt;&gt;        .. image:: ../images/download_buttons/download-vm.png<br>
&gt;&gt;          :align: left<br>
&gt;&gt;<br>
&gt;&gt;     :osgeolive-download:`osgeo-live-vm.7z: &lt;osgeo-live-vm.7z&gt;`<br>
&gt;&gt;     (|osgeo-live-vm-7z-size|)<br>
&gt;&gt;     [..]<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 4. same procedure for the md5 files :<br>
&gt;&gt;<br>
&gt;&gt;      :osgeolive-download:`osgeo-live-vm.7z.md5 &lt;osgeo-live-vm.7z.md5&gt;`<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I would suggest to rename the files that the version number is not<br>
&gt;&gt; included anymore. The download area has the dynamic version number<br>
&gt;&gt; taken from the VERSION.txt file (for example:<br>
&gt;&gt; <a href="http://download.osgeo.org/livedvd/release/%(projectversion)s/" target="_blank">http://download.osgeo.org/livedvd/release/%(projectversion)s/</a><br>
</div>&gt;&gt; &lt;<a href="http://download.osgeo.org/livedvd/release/%%28projectversion%29s/" target="_blank">http://download.osgeo.org/livedvd/release/%%28projectversion%29s/</a>&gt;<br>
<div class="im">&gt;&gt; would lead into <a href="http://download.osgeo.org/livedvd/release/5.0/" target="_blank">http://download.osgeo.org/livedvd/release/5.0/</a> if<br>
&gt;&gt;  VERSION.TXT has the line &quot;5.0&quot; in it )<br>
&gt;&gt;<br>
&gt;&gt; But in this case its necessary to change ISO naming procedure...<br>
&gt;&gt; Please have a look at the patch file coming along with this mail.<br>
&gt;&gt;<br>
&gt;&gt; pros:<br>
&gt;&gt;  * single point to define download URL&#39;s<br>
&gt;&gt;  * translators do not have to care about renaming<br>
&gt;&gt;  * no version update required in rst files anymore<br>
&gt;&gt; cons:<br>
&gt;&gt;  * update of shell scripts required for naming of ISO and 7z as well<br>
&gt;&gt; as md5 files (I have no chance to try the build with patched shell<br>
&gt;&gt; scripts)<br>
&gt;&gt;  * changes would be close to release day, maybe it&#39;s better to change<br>
&gt;&gt; after 5.0 release ...<br>
&gt;&gt;<br>
&gt;&gt; What do you think? Any opinions?<br>
&gt;&gt;<br>
&gt;&gt; Cheers, Frank<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2011/7/7 Alex Mandel &lt;<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a><br>
</div>&gt;&gt; &lt;mailto:<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>&gt;&gt;<br>
<div class="im">&gt;&gt;<br>
&gt;&gt;     On 07/07/2011 11:37 AM, Frank Gasdorf wrote:<br>
&gt;&gt;     &gt; 2011/7/7 Alex Mandel &lt;<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a><br>
</div>&gt;&gt;     &lt;mailto:<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>&gt;&gt;<br>
<div><div></div><div class="h5">&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;&gt; Frank,<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt; No there is not a deployment script which uploads the ISOs,<br>
&gt;&gt;     it&#39;s much<br>
&gt;&gt;     &gt;&gt; more complicated than you think since that url is actually<br>
&gt;&gt;     redirected to<br>
&gt;&gt;     &gt;&gt; a tool that then sorts people&#39;s downloads amongst the 5 mirrors.<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt; The url as defined by the last release will be correct for the<br>
&gt;&gt; next<br>
&gt;&gt;     &gt;&gt; release.<br>
&gt;&gt;     &gt;&gt; Where:<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://download.osgeo.org/livedvd/release/[version]/osgeo-live-[version].iso" target="_blank">http://download.osgeo.org/livedvd/release/[version]/osgeo-live-[version].iso</a><br>
&gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://download.osgeo.org/livedvd/release/[version]/osgeo-live-mini-[version].iso" target="_blank">http://download.osgeo.org/livedvd/release/[version]/osgeo-live-mini-[version].iso</a><br>
&gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://download.osgeo.org/livedvd/release/[version]/osgeo-live-vm-[version].7z" target="_blank">http://download.osgeo.org/livedvd/release/[version]/osgeo-live-vm-[version].7z</a><br>
&gt;&gt;<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt; End up as:<br>
&gt;&gt;     &gt;&gt; <a href="http://download.osgeo.org/livedvd/release/5.0/osgeo-live-5.0.iso" target="_blank">http://download.osgeo.org/livedvd/release/5.0/osgeo-live-5.0.iso</a><br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;&gt; I&#39;ll just have to remember to stick to that naming convention<br>
&gt;&gt;     when I&#39;m<br>
&gt;&gt;     &gt;&gt; making new versions<br>
&gt;&gt;     &gt;&gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Correct me, when I&#39;m wrong, I understood, that there is an<br>
&gt;&gt;     naming convention<br>
&gt;&gt;     &gt; and if we use a pattern like the version replacement, we could<br>
&gt;&gt;     change the<br>
&gt;&gt;     &gt; download.rst files in the way you summarized. So we don&#39;t have<br>
&gt;&gt;     to care about<br>
&gt;&gt;     &gt; it in the future except the naming convention or uploading area<br>
&gt;&gt;     will change.<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Give me a go and I can update the download.rst files ...<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt; Cheers,<br>
&gt;&gt;     &gt; Frank<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     &gt;<br>
&gt;&gt;     Yes go ahead and make the change to create the links dynamically.<br>
&gt;&gt;     Those<br>
&gt;&gt;     are the correct naming conventions we intend to use. The url is<br>
&gt;&gt;     unlikely<br>
&gt;&gt;     to change in the foreseeable future aside from a new folder for each<br>
&gt;&gt;     version (which is accounted for in your method).<br>
&gt;&gt;<br>
&gt;&gt;     Thanks,<br>
&gt;&gt;     Alex<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Live-demo mailing list<br>
&gt;&gt; <a href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/live-demo" target="_blank">http://lists.osgeo.org/mailman/listinfo/live-demo</a><br>
&gt;&gt; <a href="http://wiki.osgeo.org/wiki/Live_GIS_Disc" target="_blank">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Live-demo mailing list<br>
&gt; <a href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/live-demo" target="_blank">http://lists.osgeo.org/mailman/listinfo/live-demo</a><br>
&gt; <a href="http://wiki.osgeo.org/wiki/Live_GIS_Disc" target="_blank">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a><br>
<br>
_______________________________________________<br>
Live-demo mailing list<br>
<a href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/live-demo" target="_blank">http://lists.osgeo.org/mailman/listinfo/live-demo</a><br>
<a href="http://wiki.osgeo.org/wiki/Live_GIS_Disc" target="_blank">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a><br>
</div></div></blockquote></div><br>