The mediawiki/libs/metrics-platform repo is a centralized repository for the Metrics Platform client libraries. It will contain four libraries implementing the Metrics Platform client library specification, one each in JavaScript, PHP, Java, and Swift. The planned repository structure is:
java/
js/
php/
swift/
LICENSE
CODE_OF_CONDUCT
...
A patch adding the PHP library according to this planned structure is in review here. We'll need the standard PHP, JS, and Java jobs to run for the projects in their respective subdirectories, and we'll need to figure something out for Swift.
Open questions
- Can the existing CI jobs handle this repo structure, or will modifications be needed?
- Can Wikimedia CI support iOS library testing, which may require proprietary Apple SDKs? (TODO: Investigate if https://github.com/apple/swift-corelibs-xctest will meet our needs.)