[Pharo-dev] missing updates: 30503 30504

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Oct 23 08:39:42 EDT 2013


On Oct 23, 2013, at 2:11 PM, Igor Stasenko <siguctua at gmail.com> wrote:

> (i am not fully understood what happens there, but here some thought which might be useful).

thanks
this is simple.
Merging a dirty package always ask the user if it wants to proceed. Now I catch the exception and proceed.
Integrators at this stage should know what they are doing.

Stef
> 
>  About that popup:
>  - if its a warning, then you can see it in interactive mode.
> in headless mode all warnings are ignored and program just continues to run.
> This is equivalent as if user pressed 'proceed' when he sees warning.
> 
> If you don't want to proceed at such point, then you should throw an error instead of warning,
> then in headless mode the process abort and quit, and as result, integration will fail.
> 
> And of course, you can do even smarter things like:
> 
> Smalltalk isInteractive ifTrue: [ self showWarning ] ifFalse: [ self throwError ].
> 
> 
> 
> -- 
> Best regards,
> Igor Stasenko.





More information about the Pharo-dev mailing list