[Server-devel] xs-activity-server & dotted versions

Jerry Vonau jvonau at shaw.ca
Wed Jan 26 18:42:14 EST 2011


On Wed, 2011-01-26 at 17:55 -0500, Martin Langhoff wrote:
> On Wed, Jan 26, 2011 at 4:59 PM, Jerry Vonau <jvonau at shaw.ca> wrote:
> > Yea thanks, just was looking at the git repo. Having 2 versions of the
> > activity still rendered showing as link to the older version under the
> > latest version, thought that was enough.
> 
> I don't fully understand. With my latest commit & rpm on f9, do you
> get the desired behaviour?

I have not tested your rpm yet. With the one line change I got the
attached webpage source. The acid test would be to have more than the
KEEP_OLD_VERSIONS around to see if the pruning is done correctly.
I'll report back in a bit.

Jerry   
-------------- next part --------------
<html>
<body>
<h1 id="olpc-activity-group-name">Locally available activities</h1>
<p id="olpc-activity-group-desc">These activities are stored on the school server.</p>
<div class="olpc-activity-info">
<h2>Backup</h2>

<ul>
 <li>Identifier: <span class="olpc-activity-id">org.sugarlabs.Backup</span></li>
 <li>Version: <span class="olpc-activity-version">4</span></li>

 <li>URL: <span class="olpc-activity-url"><a href="backup-4.xo">backup-4.xo</a></span></li>
 <li style="display: none">Older versions: </li>
</ul>
</div>

<div class="olpc-activity-info">
<h2>Browse</h2>

<ul>
 <li>Identifier: <span class="olpc-activity-id">org.laptop.WebActivity</span></li>

 <li>Version: <span class="olpc-activity-version">108.4</span></li>
 <li>URL: <span class="olpc-activity-url"><a href="Browse-108.4.xo">Browse-108.4.xo</a></span></li>
 <li style="display: inline">Older versions: <a href="Browse-108.2.xo">108.2</a></li>
</ul>
</div>

<div class="olpc-activity-info">
<h2>IRC</h2>

<ul>
 <li>Identifier: <span class="olpc-activity-id">org.sugarlabs.IRC</span></li>
 <li>Version: <span class="olpc-activity-version">8</span></li>
 <li>URL: <span class="olpc-activity-url"><a href="irc-8.xo">irc-8.xo</a></span></li>
 <li style="display: none">Older versions: </li>

</ul>
</div>

<div class="olpc-activity-info">
<h2>Restore</h2>

<ul>
 <li>Identifier: <span class="olpc-activity-id">org.sugarlabs.Restore</span></li>
 <li>Version: <span class="olpc-activity-version">3</span></li>
 <li>URL: <span class="olpc-activity-url"><a href="restore-3.xo">restore-3.xo</a></span></li>

 <li style="display: none">Older versions: </li>
</ul>
</div>

</body>
</html>



More information about the Server-devel mailing list