Hi devs,
As you probably know from http://jira.xwiki.org/jira/browse/XRENDERING-187, I've been working on a Compatibility Test Suite (CTS) for the Rendering Syntaxes.
I've now added a Test Report on xwiki.org at
http://rendering.xwiki.org/xwiki/bin/view/Main/SyntaxReport
It allows to have a global view of what each syntax supports.
Of course this is a very first version and the idea is to improve it over time.
Note 1: Right now we have only 6 tests in the CTS.
Note 2: ATM the Report gets …
[View More]its data from the Sonar Nemo instance at http://nemo.sonarsource.org/dashboard/index/178313 However this instance only runs the xwiki build every few days. I've made modifications this morning to the CTS but the build hasn't run yet on Nemo. I need to check if I can get the same result using Jenkins Remote API.
Let me know what you think.
Thanks
-Vincent
[View Less]
Hello students,
As you probably already know, we are almost at the middle of the community
bonding period [1].
>From the previous mail [2] and XWiki's GSoC page [3], you also know that
this is the time where you learn about XWiki's development processes, code
and community and, to better understand the code, you must fix at least one
jira issue related directly or indirectly to your project.
This is in no way a radio silence period, quite the contrary.
In other words, you need to:
1. …
[View More]Answer this mail :)
2. Create a Design page [4] regarding your project
3. Start idling on the IRC channel
4. Start chatting on the mailing list and on IRC about your project and
other aspects of XWiki that you don't yet understand
5. Get your hands dirty by diving into the code and fixing at least one
Jira issue (2 more weeks left)
6. Talk about your project
What we want from you with this mail is to see where you stand with regard
to what has been written above. We want to know what you don`t understand
about XWiki, what issue you are planning to undertake, what you want to
start with, etc.
It helps you more to start saying incorrect things and fixing them early
instead of staying quiet and making a big bad choice towards the end.
And a last thing, please remember that one-to-one conversations with your
mentor are not encouraged and are actually harmful to the success of your
project. Talk to the community, ask for help early and life will be sweeter
:)
Thanks,
Eduard
----------
[1] http://www.google-melange.com/gsoc/events/google/gsoc2012
[2] http://markmail.org/thread/u6jhsqwxn6uitcjo
[3] http://gsoc.xwiki.org
[4] http://dev.xwiki.org/xwiki/bin/view/Design/WebHome
[View Less]
Hi students,
This year we thought about changing a bit the way we track a student's
progress.
As you may have seen in previous mails [1], we expect students to document
their work/progress in 2 ways:
1) Design page in the Design [2] space on xwiki.org
GSoC students should create a Design page where they document technical
aspects of the feature they are working on: architecture, use cases,
problems, various solutions with pros and cons, etc. This page should be
written as an XWiki community …
[View More]member and not a GSoC student (there is
the progress
report for that), ensuring that the page will remain relevant even after
the GSoC period ends.
2) 'Progress' section of the GSoC project [3] for which the student has
been accepted
This is the place where the students set their goals (milestones and
deliverables) and where they report their advance towards completing them.
More details and examples are available at [4].
Thanks,
Eduard
----------
[1] http://markmail.org/message/tdjr4wjm6hwswghr
[2] http://dev.xwiki.org/xwiki/bin/view/Design/
[3]
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/WebHome#HSelectedPro…
[4]
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/DocumentingStudentPr…
[View Less]
Hello,
Seems I did not understand everything about how to write unit tests ...
Here's my problem : I want to test a class MA, a component, that has the
following code (excerpt) :
My test class MATest contains :
Here I'm looking up the Execution in order to set expectations on it for the
initialize to pass.
Problem is that I'm still getting this at test execution :
It seems that my initialize() method is called at lookup(), so how could I
set-up the expectations before they're …
[View More]actually exercised ? :
Thanks for help,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Some-difficulties-with-unit-testing-tp749…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]
Dear developers of XWiki!
I am a student of Software Engineering at the Vienna University of
Technology and currently writing my master thesis on project management
and the development methods used in open source projects. In my research
I analyzed open source development and compared it with elements found
in various proprietary approaches, both agile and well-defined.
But to provide balanced and up-to-date results my work relies on first-
hand information and expert opinion, for which I …
[View More]need your help. XWiki
matches my criteria regarding size, activity and available information
and I would be glad to include it in my case study.
I am looking for an interview partner with good insight into the project
structure and a solid overview of all stages of development, ideally a
member of the core team with long-term dedication to the project.
The interview would take about 20 minutes on Skype (or a similar phone-
based tool). If you prefer a written chat, that can be arranged as well.
My daily schedule is flexible, so whatever time suits you best should
work for me.
The subject areas I would like to cover in the interview are XWiki's:
* Development flow and release cycles
* Social structures, responsibilities and decision making
* Code structure and architectural considerations
* Special conditions caused by the open source environment
I realize your time might be scarce, but if you decide to contribute to
this case study your help shall be all the more appreciated. Once
finished I will gladly share my results and any new insights gained on
the topic with you.
Kind regards,
Martin Schönberger
(maschonber(a)gmail.com)
[View Less]
Hi Fabio and devs,
I found a serious concurrency issue in the REST server module while
debugging the instability of the Extension Manager when
extensions.xwiki.org repository is used (default case) . The Extension
Manager UI searches extensions using REST and very often it gets 500
HTTP response code. See http://jira.xwiki.org/browse/XWIKI-7773 for
instance. The server log from xwiki.org shows that the real cause is:
May 8, 2012 5:09:14 PM org.restlet.engine.application.StatusFilter doHandle
…
[View More]WARNING: Exception or error caught in status service
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.xwiki.rest.XWikiSetupCleanupFilter.afterHandle(XWikiSetupCleanupFilter.java:73)
See the full stacktrace http://pastebin.com/hnFSuwem .
The problem is related to the way "releasable components" are managed.
I debugged locally both XWikiSetupCleanupFilter [1] and
ComponentsObjectFactory and here's what I discovered:
* org.restlet.Context.getCurrent() is shared across HTTP requests
* as a consequence, restlet context attributes are shared across HTTP request
* RELEASABLE_COMPONENT_REFERENCES context attribute is thus also shared
* while a thread iterates this list in XWikiSetupCleanupFilter another
thread can add a component to the list in ComponentsObjectFactory
* the list grows indefinitely because XWikiSetupCleanupFilter only
releases the components; it doesn't remove them from the list
* older instances are re-released
* since the list keeps references to older instances these instances
can't be garbage collected
Could someone more knowledgeable on the REST module (especially
Restlet) review my findings?
Thanks,
Marius
[1] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
[2] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
[View Less]
Hi team,
Just to let you know I've started splitting the WYSIWYG module in
order to create a standalone distribution of the editor, to make it
easier to use outside XWiki.
The new structure of the module would be :
├── xwiki-platform-wysiwyg-client
│ ├── xwiki-platform-wysiwyg-client-standalone
│ └── xwiki-platform-wysiwyg-client-xwiki
├── xwiki-platform-wysiwyg-plugin-api
├── xwiki-platform-wysiwyg-server
└── xwiki-platform-wysiwyg-war
├── xwiki-platform-wysiwyg-…
[View More]war-standalone
└── xwiki-platform-wysiwyg-war-xwiki
Note that the standalone WAR distribution would only be built when
releasing, otherwise it means we almost double the overall time of the
WYSIWYG build. I'm not sure we can work around that so easily due to
the way GWT works ; Marius maybe you can hint me here.
You can check out the split here :
https://github.com/jvelo/xwiki-platform/compare/XWIKI-7785
Jerome
[View Less]
Hi,
I'd like to introduce a new API in QueryFilter:
====================8<====================
/**
* Filter a list of query results. The result list can be returned
without modification.
*
* @param results the original result list.
* @param <T> expected type of elements in the result list.
* @return a filtered result list.
*/
<T> List<T> filterResults(List<T> results);
====================8<====================
In addition …
[View More]to QueryFilter#filterStatement(), this method would be
called from the QueryExecutor and it would allow the filter to mofidy
the result list of a query.
We talked about this one before with Thomas and Vincent but the use
case we were thinking about wasn't achievable (permission checking)
because of performance issues.
Now I need this method to fix an issue with the "unique" (distinct)
filter. When using "unique", a HSQLDB limitation [1] forces us to put
the columns present in the "order by" clause in the "select" clause.
This currently causes a lot of queries to fail when using the "unique"
filter. The fix consists to add the columns from the "order by" clause
in the "select" clause and then to remove the added columns from the
query results.
I think this new API fits well in the QueryResult interface, here's my +1.
[1] This is considered invalid when backed by HSQLDB (and Oracle
AFAIK): "select distinct doc.fullName from XWikiDocument order by
doc.language"
The reason is that the order can't be undoubtedly determined, for
example with the following data:
XWD_FULLNAME, XWD_LANGUAGE
Main.Page1, de
Main.Page1, fr
Main.Page2, en
Main.Page2, it
--
Jean-Vincent Drean,
XWiki.
[View Less]