<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Frank,<br>
As per one of your suggestions, I think that we are too close to 5.0
release, and as such shouldn't be introducing anything new like this
proposal. Lets come back and revisit for the next release.<br>
<br>
On 09/08/11 20:39, Frank Gasdorf wrote:
<blockquote
cite="mid:CAEVXr3HXRw=J_CrMXYVpLef6GXpx6vnscv68-SP25qTD3uJ-ig@mail.gmail.com"
type="cite">Update on this:
<div><br>
</div>
<div>Replacement within target URLs for images isn't possible yet.
I found an other solution but this would lead to images without
links in the first step. And here is what I plan to do:</div>
<div><br>
</div>
<div>1. enable extension "sphinx.ext.extlinks" in conf.py :</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0pt
0pt 0pt 40px; border: medium none; padding: 0px;">
<div><font class="Apple-style-span" face="'courier new',
monospace">extensions = [ 'sphinx.ext.extlinks' ]</font></div>
</blockquote>
<font class="Apple-style-span" face="'courier new', monospace"><br>
</font>2. define an extlink for the download area in conf.py :
<div><br>
<blockquote class="webkit-indent-blockquote" style="margin: 0pt
0pt 0pt 40px; border: medium none; padding: 0px;">
<div><font class="Apple-style-span" face="'courier new',
monospace">base_download_release_url= '<a
moz-do-not-send="true"
href="http://download.osgeo.org/livedvd/release/%%28projectversion%29s/%%28variable%29s">http://download.osgeo.org/livedvd/release/%(projectversion)s/%(variable)s</a>'
% { 'projectversion': version,'variable':'%s'}</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"><br>
</font></div>
</blockquote>
<div>
<blockquote class="webkit-indent-blockquote" style="margin:
0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div>
<div>
<font class="Apple-style-span" face="'courier new',
monospace">extlinks = {</font></div>
</div>
</blockquote>
<blockquote class="webkit-indent-blockquote" style="margin:
0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<blockquote class="webkit-indent-blockquote" style="margin:
0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div><font class="Apple-style-span" face="'courier new',
monospace">'osgeolive-download':
(base_download_release_url, 'filename ')</font></div>
</blockquote>
</blockquote>
<blockquote class="webkit-indent-blockquote" style="margin:
0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace">}</font></div>
</div>
</blockquote>
<font class="Apple-style-span" face="'courier new', monospace"><br>
</font><font class="Apple-style-span" face="arial, helvetica,
sans-serif">3. usage in download.rst page:</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"><br>
</font></div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0pt
0pt 0pt 40px; border: medium none; padding: 0px;">
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace">[..]</font></div>
</div>
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> .. image::
../images/download_buttons/download-vm.png</font></div>
</div>
</div>
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> :align: left</font></div>
</div>
</div>
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace"><br>
</font></div>
</div>
</div>
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace">:osgeolive-download:`osgeo-live-vm.7z:
<osgeo-live-vm.7z>` (|</font><span
class="Apple-style-span" style="font-family: 'courier
new',monospace;">osgeo-live-vm-7z-size|)</span></div>
</div>
</div>
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace">[..]</font></div>
</div>
</div>
</blockquote>
<font class="Apple-style-span" face="'courier new', monospace"><br>
</font>
<div>
<div>
<div style="font-family: arial,helvetica,sans-serif;">4. same
procedure for the md5 files :</div>
</div>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0pt
0pt 0pt 40px; border: medium none; padding: 0px;">
<div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> :osgeolive-download:`osgeo-live-vm.7z.md5
<osgeo-live-vm.7z.md5>`</font></div>
</div>
</div>
</blockquote>
<font class="Apple-style-span" face="'courier new', monospace"
size="1"><br>
</font>
<div>
<div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif">I would suggest to rename the files that the
version number is not included anymore. The download area
has the </font><span class="Apple-style-span"
style="font-family: arial,helvetica,sans-serif;">dynamic </span><font
class="Apple-style-span" face="arial, helvetica,
sans-serif">version number taken from the VERSION.txt file
(</font><span class="Apple-style-span" style="font-family:
'courier new',monospace;">for example: </span><span
class="Apple-style-span" style="font-family: 'courier
new',monospace;"><a moz-do-not-send="true"
href="http://download.osgeo.org/livedvd/release/%%28projectversion%29s/">http://download.osgeo.org/livedvd/release/%(projectversion)s/</a>
would lead into </span><span class="Apple-style-span"
style="font-family: 'courier new',monospace;"><a
moz-do-not-send="true"
href="http://download.osgeo.org/livedvd/release/5.0/">http://download.osgeo.org/livedvd/release/5.0/</a>
if VERSION.TXT has the line "5.0" in it </span><span
class="Apple-style-span" style="font-family:
arial,helvetica,sans-serif;">)</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,helvetica,sans-serif;"><br>
</span></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif">But in this case its necessary to change ISO
naming procedure... Please have a look at the patch file
coming along with this mail.</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif">pros:</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"> * single point to define download URL's </font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"> * translators do not have to care about
renaming</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"> * no version update required in rst files
anymore</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif">cons:</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"> * update of shell scripts required for naming
of ISO and 7z as well as md5 </font><span
class="Apple-style-span" style="font-family:
arial,helvetica,sans-serif;">files (I have no chance to
try the build with patched shell scripts)</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,helvetica,sans-serif;"> * changes would be close to
release day, maybe it's better to change after 5.0 release
...</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,helvetica,sans-serif;"><br>
</span></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif">What do you think? Any opinions?</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"><br>
</font></div>
<div>
<font class="Apple-style-span" face="arial, helvetica,
sans-serif">Cheers, Frank</font></div>
<div>
<div><br>
<br>
<div class="gmail_quote">2011/7/7 Alex Mandel <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">On 07/07/2011 11:37 AM, Frank Gasdorf
wrote:<br>
> 2011/7/7 Alex Mandel <<a
moz-do-not-send="true"
href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>><br>
><br>
>> Frank,<br>
>><br>
>> No there is not a deployment script which
uploads the ISOs, it's much<br>
>> more complicated than you think since that
url is actually redirected to<br>
>> a tool that then sorts people's downloads
amongst the 5 mirrors.<br>
>><br>
>> The url as defined by the last release will
be correct for the next<br>
>> release.<br>
>> Where:<br>
>><br>
>> <a moz-do-not-send="true"
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>
>><br>
>><br>
>> <a moz-do-not-send="true"
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>
>><br>
>><br>
>> <a moz-do-not-send="true"
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>
>><br>
>> End up as:<br>
>> <a moz-do-not-send="true"
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>
>><br>
>> I'll just have to remember to stick to that
naming convention when I'm<br>
>> making new versions<br>
>><br>
><br>
> Correct me, when I'm wrong, I understood, that
there is an naming convention<br>
> and if we use a pattern like the version
replacement, we could change the<br>
> download.rst files in the way you summarized.
So we don't have to care about<br>
> it in the future except the naming convention
or uploading area will change.<br>
><br>
> Give me a go and I can update the download.rst
files ...<br>
><br>
> Cheers,<br>
> Frank<br>
><br>
><br>
><br>
</div>
Yes go ahead and make the change to create the links
dynamically. Those<br>
are the correct naming conventions we intend to use.
The url is unlikely<br>
to change in the foreseeable future aside from a new
folder for each<br>
version (which is accounted for in your method).<br>
<br>
Thanks,<br>
<font color="#888888">Alex<br>
</font></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Live-demo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/live-demo">http://lists.osgeo.org/mailman/listinfo/live-demo</a>
<a class="moz-txt-link-freetext" href="http://wiki.osgeo.org/wiki/Live_GIS_Disc">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Cameron Shorter
Geospatial Director
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
<a class="moz-txt-link-freetext" href="http://www.lisasoft.com">http://www.lisasoft.com</a>
</pre>
</body>
</html>