Hi Gisle,
Is there a similar work around to avoid the repo resync from
ppm command lines (ppm install <package>, ppm search
<package> ...)?
Regards,
TSHIMANGA Minkoka
VAS Administrator
Mobile: +243 814443113
Office: +243 813131347
Fax: +243 813010373
Email: tshimanga.minkoka vodacom.cd
VODACOM CONGO (DRC) s.p.r.l.
-----Original Message-----
From: Tshimanga Minkoka
Sent: Wednesday, 06 December 2006 00:06
To: 'Gisle Aas'
Cc: ppm listserv.ActiveState.com
Subject: RE: Can I open the PPM4 GUI without synchronizing
the repositories?
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.minkoka vodacom.cd
VODACOM CONGO (DRC) s.p.r.l.
-----Original Message-----
From: Gisle Aas [mailto:gisle ActiveState.com]
Sent: Monday, 04 December 2006 16:13
To: Tshimanga Minkoka
Cc: ppm listserv.ActiveState.com
Subject: Re: Can I open the PPM4 GUI without synchronizing
the repositories?
"Tshimanga Minkoka" <tshimanga.minkoka vodacom.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
PPM listserv.ActiveState.com
http://listserv.ActiveState.com/mailman/listinfo/ppm
|