About Version Controls, CvsPart, GlobalCvs, ...
Mario Scalas
mario.scalas at libero.it
Mon May 12 00:52:04 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I have done two design clean-up merges:
1) KDevVersionControl + KDevGlobalVersionControl --> KDevVersionControl
2) GlobaCvs + CvsPart --> CvsPart
CvsPart now inherits from KDevVersionControl (was KDevPlugin before): all
other version controls should be modified to standardize about this
inheritance.
In addition the kdevcvs.desktop now has X-KDevelop-Scope=Global so is
loaded/unloaded IDE-wise. Moreover, a new ServiceTypes has been added:
KDevelop/VersionControl: kdevelopversioncontrol.desktop was already in
lib/interfaces/ but (quite stragely) the file wasn't listed in Makefile.am
and so not installed in $prefix/share/servicetypes: this means that the other
Vcs should conform to this way . (It is not essential since all works with
the actual way of querying for VCs, but this may change in the future ...) .
(To avoid headaches to some of you, I can tell that you _cannot_ add a new
entry to a "random picked" .desktop file and hope to query for its value
using KTrader: you must first write down a "descriptor desktop file" (not
found any official name atm, sorry ;) and install it in
$PREFIX/share/servicetypes. After you have done so you may add the fields as
described).
parts/appwizard/appwizarddlg.cpp has to be modified in the way it queried for
available VCSs. Two remarks about current situation:
1) Since CvsPart is _currently_ the only for provide an implementation for
newProjectWidget(), the app-wizard will get only this and
2) anyway it will query only the currently loaded plugins (that, if CvsPart
has not been currently enabled, the AppWizardDlg will show _no_ available
VCS.
I'll keep it on testing on my machine _without_ committing anything and hope
to have your feedbacks (in particulars from the Vcs creators/maintainers ;):
this is only a Start Of Discussion(TM).
Now, it is a bit late here ... time to go to bed ... tomorrow's planning:
_debugging_ :)
Regards,
Mario
Ps: for some of you who could remember my older posts, I removed KURLfications
in interface and/or common classes such as FileContext and localized the use
of KURL to CvsPart alone: this should break anything in any part ;)
- --
Mario Scalas <mario dot scalas at libero dot it>
Miser miser! Modo niger et ustus fortiter.
Laziness Is A Good Thing(TM)
homepage: http://digilander.iol.it/zakuteam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+vu+7kfH25fNf4bcRAuQdAJ4wjXx9fcJYO2/RQpe/nlyYCyRqKACdHgFa
bjvyVL2sB+7AZ/M+UqHxPvY=
=WnfK
-----END PGP SIGNATURE-----
More information about the KDevelop-devel
mailing list