在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:addwiki/addwiki开源软件地址:https://github.com/addwiki/addwiki开源编程语言:PHP 97.7%开源软件介绍:addwiki - monorepoAddwiki is a collection of PHP libraries, packages and applications created for interacting with MediaWiki, Wikibase, Wikimedia and more. To dive in take a look at the docs site. If you want to submit code patches to any of the repositories, then this is the place to look! PackagesAll packages exist in the Most popular: Behind the scenes: WIP CLI: Other WIP: Using the monorepomonorepo-builderThis mono repo uses https://github.com/symplify/monorepo-builder This provides convenience scripts for a few things... Merge all composer.json files together with: composer merge Bump the cross package dependency with: vendor/bin/monorepo-builder bump-interdependency "<version here>" Validate your synchronization: composer validate-monorepo Keep your package aliases up to date (not yet working) vendor/bin/monorepo-builder package-alias Testing & CIGithub Actions exist to split out packages as well as run tests on them. Commands exist in each of the packages to run individual tests. You can also run all tests from the main monorepo. Run lint on all packages: composer lint Run phpunit unit tests on a single package: vendor/bin/phpunit packages/mediawiki-api-base/tests/unit Integration tests are facilitated by docker-compose -f docker-compose-ci.yml up -d --build Wait for the wiki to be accessible, then run the tests: composer phpunit-integration |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论