Hey Steffen and Andy,
Continuing what I started on Twitter here, as some more characters might be
helpful :)
It seems that both our projects (FLOW3 and Wikidata) are in a similar
situation. We are using Gerrit as CR tool, and TravisCI to run our tests.
And we both want to have Travis run tests for all patchsets submitted to
Gerrit, and then +1 or -1 on verified based on the build passing or
failing. To what extend have you gotten such a thing to work on your
project? Is there code available anywhere? If both projects can use the
same code for this, I'd be happy to contribute to what you already have.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
Hey,
I've mainly been poking at DataModel, where I continued work on removing
the old serilization code [0]. This is almost done now. In the process of
working towards that, I've also added equality methods to most value
objects in the DataModel [1]. Last week I ended up not doing much more than
CR and various misc things, as I did not work on WD for many hours
Plans for today: survive all the evil meetings.
[0] https://github.com/wmde/WikibaseDataModel/pull/62/files#diff-0
[1]
https://github.com/wmde/WikibaseDataModel/blob/master/RELEASE-NOTES.md#vers…
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
Hey all,
I am happy to announce the 0.7.3 release of Wikibase DataModel.
Wikibase DataModel is the canonical PHP implementation of the Data Model at
the heart of the Wikibase software. It is primarily used by the Wikibase
MediaWiki extensions, though has no dependencies whatsoever on these or on
MediaWiki itself.
This release contains a new API for working with labels, descriptions and
terms, and it deprecates the old API for those.
More details can be found at
http://www.bn2vs.com/blog/2014/04/14/wikibase-datamodel-0-7-3-released/
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
Today, Thiemo merged my patch introducing the ApiErrorReporter class:
<https://gerrit.wikimedia.org/r/#/c/124323/>. This should help us with
providing error reports from the API in a consistent manner; This way, we will
hopefully soon be able to provide more localized error messages too.
However, this means that some of the error codes used by the API may have
changed, and more will change when more API modules start using this module.
Also, it means that localized messages are included in a slightly different way.
If you rely on error codes or localized error messages, please keep an eye out
for breakage in that regard.
Cheers,
Daniel
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.
Hi all!
Context: We plan to change the XML dumps (and Special:Export) to use the same
JSON serialization that is used by the API, instead of the terse but brittle
"internal" format. This is about the mechanism we plan to use for the conversion.
SO, I just went and checked my assertion that WikiExporter will use the Content
object's serialize method to generate output. I WAS WRONG. It doesn't. I'll use
the text from the database, as-is (for reference, find the call to
Revision::getRevisionText in Export.php).
In order to force a conversion to the new format, we'll need to patch core to a)
inject a hook here to override the default behavior or b) make it always use a
Content object (unless, perhaps, told explicitly not to).
This is not hard to code, but doing it Right (tm) may need some discussion, and
getting it merged may need some time.
Sorry for not checking this earlier.
Daniel
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.
Hey all,
I'm very happy to announce the 1.0 release of the PHP Diff
library<https://github.com/wmde/Diff>.
Diff is a small PHP library for representing differences between data
structures, computing such differences, and applying them as a patch. For
more details see the usage instructions <https://github.com/wmde/Diff#usage>
.
I created this library as part of the Wikibase software
<http://wikiba.se/>for the Wikidata
project <https://www.wikidata.org>. While it is used by Wikibase, it's
fully independent of it (and has no dependencies on any other PHP code).
The first release was during September 2012, and since then it has seen a
new release with refinements and new features every few months. As we've
been using it on Wikidata.org for over a year, and there are no known bugs
with the library, it can be considered to be quite stable and robust.
The 1.0 does not add anything in terms of functionality. The primary change
it brings is PSR-4 compliance. It also removes some old constructs that had
been deprecated for a long time already. A detailed list of changes can be
found in the release
notes<https://github.com/wmde/Diff/blob/master/RELEASE-NOTES.md>
.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3