Page MenuHomePhabricator

[Task] Move Purtle (RdfWriter and friends) to a separate repository, use it via composer
Closed, ResolvedPublic

Description

Purtle is pretty stable, and quite isolated from the rest of the codebase. It already resides in a separate directory. It seems time to move it to a separate git repo, so it can be used independently of Wikibase.

Event Timeline

daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel added a project: Wikidata.
daniel subscribed.
Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.
Lydia_Pintscher set Security to None.
Jonas renamed this task from Move Purtle (RdfWriter and friends) to a separate repository, use it via composer to [Task] Move Purtle (RdfWriter and friends) to a separate repository, use it via composer.Aug 14 2015, 7:43 AM

Could we request that the repo be created in gerrit and phabricator.

Change 286144 had a related patch set uploaded (by Daniel Kinzler):
Use Purtle via composer.

https://gerrit.wikimedia.org/r/286144

Change 286144 merged by jenkins-bot:
Use Purtle via composer.

https://gerrit.wikimedia.org/r/286144

I hereby propose that the Purtle library be made completely independent of MediaWiki, therefore the statements within init.mw.php would be moved into a separate MediaWiki extension called "Purtle" depending on the Purtle library via Composer.

I hereby propose that the Purtle library be made completely independent of MediaWiki, therefore the statements within init.mw.php would be moved into a separate MediaWiki extension called "Purtle" depending on the Purtle library via Composer.

It's not a dependency, just an optional intergration with MediaWiki. I think the only thing this does it to cause extension credits to be shown on Special:Version.

A separate extension just for that would be annoying to manage. I'd rather just kill the code.

If purtle was installed in MediaWiki's vendor directory, then it would be listed on Special:Version as an external library.

suppose we will still be putting it in the build instead...

Change 605589 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Remove purtle/ entries from phpunit.xml.dist

https://gerrit.wikimedia.org/r/605589

Change 605589 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Remove references to bundled Purtle

https://gerrit.wikimedia.org/r/605589