Subject: Developers of Sympa
List archive
Re: [sympa-developpers] First milestone reached: ready to merge
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] First milestone reached: ready to merge
- Date: Wed, 19 Dec 2012 11:07:15 +0100
Hi Guillaume, Le 18/12/12 16:26, Guillaume Rousse a
écrit :
address@concealed">Hello guys.Great! Is it your version of a Christmas present? ;) address@concealed">Very good. This separation did no longer make sense: several functions are shared amongst different interfaces. address@concealed">That will simplify the understanding of the sources structure. The src/etc directory was a bag-of-many-things and even I was never sure of where the files were. address@concealed">It's good. I don't think anybody codes Sympa from a Windows platform but forcing the eol style is a good thing. What do the modelines do? (I abandonned emacs last year, when I discovered geany). address@concealed"> address@concealed"> address@concealed">As far as I remember, it is not Sympa specific code, but it is bundled because of some tweakings the original authors made in it a long time ago. address@concealed">That must have been a pain... Thanks! address@concealed">Good thing. This will prevent failures for missing modules that are not actually used... It happenned before. address@concealed">I'm a little fuzzy on this: Does it mean that, to access data in a module, we need to use accessor subs (get_something, instead of Module::something) ? I think it would make sense as it gives us good opportunities to catch exceptions at the root. address@concealed">No kidding? Did you also achieve the impossible, i.e. using strict in wwsympa.fcgi? ;-) address@concealed">Indeed. We inscreasingly use objects, which most of the time carry their own parameters, making method calls easier - most of the time, the fucntions I create don't use parameters at all). So parameters will probably be used only for utility modules sucha as mail.pm, and the offspring of late tools.pm. So the increased attention required to call functions using parameters instead of config will remain restricted to few areas of the code. address@concealed">Great! It will be so easier now to use them. We'll need to be carefull when adding new code, now, to prevent creating new interdependencies. Maybe this could be tested by the continuous integration tool (see below)? address@concealed">Good. How would you formally describe this template (so that we can start using it and, hopefully, dissert for a long time about its pertinence, which is one of the big joys of being a developper)? address@concealed">Yes, that's also a default we have... Most of the time, we document subs after we develop them. And somtimes we forget. address@concealed">Great. We now have a continuous integration platform on Sourcesup (Hudson). I will start searching how to set it up correctly for Sympa and how to use your test suite. address@concealed">Well, there are conflicting constraints, here. I think that, when we merge, I should do it, because I have a good knowledge of most of the new code and I would just have to see where it must fit in the new organization. I also think we should merge first. Our own modifications will certainly break things in your code but it's not a big deal as you work on a pure development branch, with no production deadline. We have all the time we want to make it work. But I also have a lot of stabilization work to do in the 6.2 to be able to put in production in January (one month later than expected already). So I won't be able to handle the merge before the holidays. Then, if you have time to spend on Sympa before the beginning of January, it's probably better to spend it stabilizing the sympa-cleanup branch. at least, you could fiw the bugs coming from your own work, they are often easier to find out. I just hope you won't have to work on parts of the code that are no longer valid because Soji or I radically changed this part. All in all, it's good to see that you reached this milestone. We have now a cleaner, better organized code and this is a very good omen for the future of the project. Thanks again for you efforts! On another note: When discussing with Marc yesterday, he mad two suggestions:
These are longer term projects than our current questions
regarding coding, of course. Best regards, David |
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
[sympa-developpers] First milestone reached: ready to merge,
Guillaume Rousse, 12/18/2012
-
Re: [sympa-developpers] First milestone reached: ready to merge,
David Verdin, 12/19/2012
- Re: [sympa-developpers] First milestone reached: ready to merge, Guillaume Rousse, 12/19/2012
- Re: [sympa-developpers] First milestone reached: ready to merge, Guillaume Rousse, 12/21/2012
-
Re: [sympa-developpers] First milestone reached: ready to merge,
David Verdin, 12/19/2012
Archive powered by MHonArc 2.6.19+.