Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.59 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.59 KB

ℹ️ Issues for this repository are tracked on Phabricator - (Click here to open a new one)

magnustools

About

This repository contains a fork of magnustools, which is (technically) a PHP library with shared code for wikidata tools over at https://tools.wmflabs.org

This fork contains modifications to use these tools with wbstack / wikibase.cloud

It gets used by:

Development in wbstack

In order to test pending changes from this repository with a specific tool, you can target a specific branch from this repository.

  • specify branch name in composer.json of the tool
    • in this example, test/my-branch is the branch name and dev- is not part of it (docs):
    "require": {
      "wbstack/magnustools": "dev-test/my-branch"
    },
  • run composer update wbstack/magnustools

  • use skaffold to deploy a local image

    • it may be the case that skaffold does not build a new image automatically, in that case you can build it manually first via wbaas-deploy/skaffold $ skaffold build --kube-context minikube-wbaas -m tool-$NAME (where $NAME is cradle or quickstatements, etc)