List Info

Thread: Can I open the PPM4 GUI without synchronizing the repositories?




Can I open the PPM4 GUI without synchronizing the repositories?
user name
2006-12-06 10:24:09
Hi Gisle,

Thanks, the work around works fine for me.

TSHIMANGA Minkoka
VAS Administrator
Mobile: +243 814443113
Office: +243 813131347
Fax:    +243 813010373
Email:  tshimanga.minkokavodacom.cd
VODACOM CONGO (DRC) s.p.r.l.

-----Original Message-----
From: Gisle Aas [mailto:gisleActiveState.com] 
Sent: Monday, 04 December 2006 16:13
To: Tshimanga Minkoka
Cc: ppmlistserv.ActiveState.com
Subject: Re: Can I open the PPM4 GUI without synchronizing
the repositories?

"Tshimanga Minkoka" <tshimanga.minkokavodacom.cd> writes:

> But still, even the verification that says '... not
modified', makes
> the whole operation to take more than 90 minutes with
my connection
> (in the office LAN).  I think it will help if we can
temporarily
> disable the sync, maybe in future version.

I understand.  I'll look into adding some option to disable
the
initial sync for our next release.  As a workaround until
then it
might help for you to apply this patch:

--- lib/ActivePerl/PPM/GUI.pm.orig      2006-12-04
16:06:02.000000000 +0100
+++ lib/ActivePerl/PPM/GUI.pm   2006-12-04
16:06:27.000000000 +0100
 -573,7
+573,7 
     $mw->configure(-cursor => "watch");
     Tkx::update();
     set_focus_grab($status_box);
-    repo_sync(1);
+    repo_sync(!$first_time);
     area_sync(1);
     refresh();
     status_message("DONEn", tag =>
"h2");

This will prevent ppm from contacting the server each time
the GUI
starts up, and you would have to select "File >
Refresh All Data"
manually when you want to sync up with the state of the
repositories.

Regards,
Gisle


_______________________________________________
PPM mailing list
PPMlistserv.ActiveState.com

http://listserv.ActiveState.com/mailman/listinfo/ppm
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )