Re: [Fwd: Re: Odd occurance when installing 764]

2008-09-28 Thread Michael Stone
On Sun, Sep 28, 2008 at 03:21:49PM +0100, Gary C Martin wrote:
 To Michael: Not sure who to direct this to, but should the post install 
 scripts do some extra checks for this potential upgrade fluff? Not sure 
 how many upgrades this could effect.

What might we do with it if we found it?

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Fwd: Re: Odd occurance when installing 764]

2008-09-28 Thread Gary C Martin
On 29 Sep 2008, at 02:06, Michael Stone wrote:

 On Sun, Sep 28, 2008 at 03:21:49PM +0100, Gary C Martin wrote:
 To Michael: Not sure who to direct this to, but should the post  
 install scripts do some extra checks for this potential upgrade  
 fluff? Not sure how many upgrades this could effect.

 What might we do with it if we found it?

 Michael


:-)

Well I can't think of a reasonable reason for leaving an old copy of  
Journal kicking around in /home/olpc/Activities (faint chance a dev is  
keeping old keep sakes). So that would be a rm, in my book. Unless you  
think there is a faint chance of the user booting back to some pre 6xx  
build and have it still work?

The Clac issue I guess is a special case in that that there was a  
'Calculate' from MIT that was replaced by Reinier's 'Calc' at some  
point (at least as I understand the history), so I'm guessing  
bundle_id didn't exist  (or perhaps now depreciated service thingy) so  
there's no way the updater would officially know to replace/remove  
Calc and replace with Calculate. This could be a special case for post  
cleanup, removing Calc if Calculate has been installed.

I guess it's a trade-off between fielding support questions, risk of  
deleting something the user actually wanted still, and complexity of  
the post install script (as it surly will grow over time). I don't  
claim to know enough to answer, just enough to ask the question :-)

--Gary

P.S. what's the post install script called by the way? I'm sure I've  
seen it mentioned in passing or rushing past the console after an  
install, doing 'rainbow' type stuff I think, hence me invoking your  
name here.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Fwd: Re: Odd occurance when installing 764]

2008-09-28 Thread C. Scott Ananian
On Sun, Sep 28, 2008 at 9:50 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 29 Sep 2008, at 02:06, Michael Stone wrote:

 On Sun, Sep 28, 2008 at 03:21:49PM +0100, Gary C Martin wrote:
 To Michael: Not sure who to direct this to, but should the post
 install scripts do some extra checks for this potential upgrade
 fluff? Not sure how many upgrades this could effect.

 What might we do with it if we found it?

 Well I can't think of a reasonable reason for leaving an old copy of
 Journal kicking around in /home/olpc/Activities (faint chance a dev is

It's useful if you want to alt-boot back to an old build.

 The Clac issue I guess is a special case in that that there was a
 'Calculate' from MIT that was replaced by Reinier's 'Calc' at some
 point (at least as I understand the history), so I'm guessing
 bundle_id didn't exist  (or perhaps now depreciated service thingy) so
 there's no way the updater would officially know to replace/remove
 Calc and replace with Calculate. This could be a special case for post
 cleanup, removing Calc if Calculate has been installed.

In 9.1, I hope that Michael will provide me with the security
framework I need to handle 'upgrades' between bundles with different
IDs (and authors!), so I can express that 'calculate' is really an
updated 'calc' and have that managed properly.  So the 'fluff' ought
to be removed at that time.

 P.S. what's the post install script called by the way? I'm sure I've
 seen it mentioned in passing or rushing past the console after an
 install, doing 'rainbow' type stuff I think, hence me invoking your
 name here.

olpc-configure, part of the olpc-utils package.  It's really a first
boot script, but you first boot immediately post install so it
wears both hats.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Odd occurance when installing 764

2008-09-27 Thread Aaron Konstam


After installing 764, in circle mode I had an icon for the calculator
activity, but it would not run successfully. Switching to line mode I
found the calculator had not been designated as a favorite. When I made
it a favorite I had two calculator icons in circle mode of the home
page. The second (new one) ran successfully. When I erased the first one
I had one calculator icon that ran correctly. A similar experience
occurred for me in 757 with a different Application.

I don't know why I seem to have all the really strange experiences. Just
lucky I guess:-)
-
--
===
mathematician, n.: Some one who believes imaginary things appear right
before your _i's.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Odd occurance when installing 764

2008-09-27 Thread Gary C Martin
On 27 Sep 2008, at 21:30, Aaron Konstam wrote:

 After installing 764, in circle mode I had an icon for the calculator
 activity, but it would not run successfully. Switching to line mode I
 found the calculator had not been designated as a favorite. When I  
 made
 it a favorite I had two calculator icons in circle mode of the home
 page. The second (new one) ran successfully. When I erased the first  
 one
 I had one calculator icon that ran correctly. A similar experience
 occurred for me in 757 with a different Application.

 I don't know why I seem to have all the really strange experiences.  
 Just
 lucky I guess:-)

I've not seen this myself after an upgrade, what did you upgrade from?  
Is it possible you had (some) activities installed in the 'system'  
place** rather than /home/olpc/Activities? I've seen 2 activity icons  
for what looks like the same application in that situation.

** /usr/share/sugar/activities/ is the current 'system' place (Journal  
should now be the only activity there I think).

--Gary
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel