On Saturday 22 July 2006 01:53, Nick Grandy wrote:
> Hi there -
> A quick note to introduce myself. I just made a bugfix and anticipate
> contributing some more work to SMW.
> I am setting up a site using SMW. We ran into a problem with inline
> queries, which was previously reported as a bug:
> Anyway, I fixed the bug, and will submit the fix. A question: Is it
> better to submit a patch or to commit to CVS? I am new to sourceforge
> (as a contributor).
Well, I am pretty sure that this bug was already fixed in CVS. At least if =
is the one described here:=20
I see that I have to clean up the bug reports more eagerly :-/ I will have =
look at the others this CET afternoon.
> I am working with a friend and we are planning on adding to the
> functionality of the inline queries - to add in more advanced options
> like grouping, counting, and summing, and to specify formatting of the
> output. Any pointers to a roadmap for these features? Or shall we
> just code away on our own? :)
OK, that's very nice. We are always looking for contributors. It is also ve=
good that you ask before doing major work. Of course, it all depends on how=
much code/new features/changes your are going to do. Do you have any=20
experience with other software projects so far?
One of the main points for inclusion of contributed features into SMW is th=
the contributors must take responsibility for the code. It is of course fun=
to code some new features, but we also need to be sure that someone will ca=
for the code when its getting older. Bugs will appear, parts might fail in=
unexpected situations (of which MediaWiki+extensions offers so many), thing=
that worked fine on your machine will break on some other version of PHP,=20
MySQL, or MediaWiki. We currently have a lot of work with just keeping the=
existing features running.=20
So if you add just some new case: for some existing switch-block, this is n=
going to be a big problem for future maintenance. But if you add a couple o=
hundreds of lines of code, then you need to ensure us that you will take ca=
of them during their life.
OK, this said, let's come to the inline queries. What exactly do you have i=
mind? Especially: how should the user write it (we need a very simple synta=
and how should it be implemented (we need a very good performance)?
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> Semediawiki-devel mailing list
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
mak@... phone +49 (0)721 608 7362
http://www.aifb.uni-karlsruhe.de/WBS/ fax +49 (0)721 693 717