trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2013

Re: [trinity-devel] konqueror no file names on nightly

From: "Darrell Anderson" <darrella@...>
Date: Tue, 16 Apr 2013 12:18:18 -0500
>I have one small suggestion. Script r14-xdg-update writes to the 
>configuration key Updated. If the script could contain internal 
>version 
>number (or timestamp), it could to key Updated write this value 
>and then 
>this value use to decide whether to execute again or not.
>
>Such solution could cover any subsequent updates. And it would not 
>depend on testing the specific renamed files. What do you think?

Sounds like a good idea.

I never envisioned needing the script long-term, but I'm horrible 
at predicting the future. Hopefully by the time R15 is the main 
trunk in GIT we no longer need the script. Until then, perhaps we 
should embrace your suggestion. :)

Currently we use the following:

[R14 XDG Updates]
Updated=true

Perhaps change that to:

[R14 XDG Updates]
R14.0.0-Updated=true

If we do that then what mechanism do we use in the script itself to 
track this? I'm thinking of corner cases such as a user updates 
from 3.5.13.1 to R14.0.2 or something like that. Corner cases 
always ruin parties. :)

Darrell