I respectfully disagree.<br>
<br>
All settings go into the .kdevelop (the project) file. The .kdevses
(the session) file represents the "last state" of the application. It
is not meant for storing any settings.<br>
<br>
I know some would like a "shared" project file and are pointing their
finger at the .kdevelop file saying it should be a revision controlled
file, but this is quite obviously not how KDevelop was designed. <br>
<br>
Simple proof: Unload and reload your plugin. If you rely on the session
data, you just lost all your settings. (And this is exactly what
happens to the subversion plugin.)<br>
<br>
Come KDevelop4 we need to look at this properly, but for KDevelop3 - user settings go into the .kdevelop file.<br>
<br>
// jens<br>
<br><div><span class="gmail_quote">On 10/28/05, <b class="gmail_sendername">Mickael Marchand</b> <<a href="mailto:marchand@kde.org">marchand@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andreas Pakulat a écrit :<br>> On 28.10.05 15:54:26, Jens Dagerbo wrote:<br>><br>>>On 10/28/05, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br>>><br>>>the<br>>>
<br>>>>subversion plugin needs to be reworked, such that it doesn't need to<br>>>>read the svn-url from the session file...<br>>>><br>>><br>>>That would seem reasonable to me. Why would the svn-url be stored as session
<br>>>data? It's not very likely to change constantly, is it?<br>>><br>>>Very little apart from what files are open and view space layout fits as<br>>>session data, imho.<br>><br>><br>> Also all the settings from subversion are stored in the session-file.
<br>> Hmm, should I try to write a patch for the subversion-plugin so that it<br>> reads the settings and url from the kdevelop project file? Or better<br>> leave that for the correct subversion-plugin-maintainer? Mickael?
<br>><br>> Andreas<br>><br><br>all settings are user settings afaicr so we discussed with Alexander<br>iirc (a long time ago) and decided to leave them in session.<br><br>I don't think any settings has its place into the project.
<br>even if the URL still is (or was) stored (which I don't think is still<br>needed if it's still is), it would be a user setting too (KDE developers<br>have different means of accessing the same server for example : https/ssh)
<br><br>Cheers,<br>Mik<br><br><br><br>_______________________________________________<br>KDevelop-devel mailing list<br><a href="mailto:KDevelop-devel@barney.cs.uni-potsdam.de">KDevelop-devel@barney.cs.uni-potsdam.de</a><br>
<a href="http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel">http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br></blockquote></div><br>