The 3 components in Wikibase.git (Repo, Client and Lib) are the only ones
left with manually maintained autoload classmaps. Time to get rid of them!
I have two commits up for review, one killing the map for Client and one
The effect of these changes is that one has to trigger the rebuild of the
classmaps whenever a class is added or moved. This can be done by running
"composer update". This is also the case when doing a git pull that brings
The same has been true for our other components for some time already,
though there the inconvenience is mitigated by having the PHPUnit bootstrap
file automatically run the "composer update" command.
Unfortunately we do not currently have a working boottsrap file in
Wikibase. I poked at this though got a huge pile of errors for some to me
Ultimately it would be good to have the code in Wikibase.git be properly
split and made PSR-0 compliant. If we use PSR-0 based loading, we will not
have to deal with any classmap hassle.
Jeroen De Dauw
Don't panic. Don't be evil. ~=[,,_,,]:3