Wikimedia

WikiContrib: Update .gitignore with semantic/ and semantic.json

This task is about the WikiContrib tool at https://tools.wmflabs.org/wikicontrib/ - you are expected to provide a Merge Request in Github.

Recently in (https://github.com/wikimedia/WikiContrib/pull/63), @JanStevcik faced some problems while pushing the pull requests. Upon hosting the tool locally, few dependencies are getting added (like a directory named semantic/ and a file named semantic.json).

When the contributor is pushing the patch to the repo and if he/she accidentally type the command git add .. The above two specified ones are being added to the commit. Ideally it should not be done.

To prevent happening this, add semantic/ and semantic.json to .gitignore. This avoids both of them while the contributors make new commits :)

To know more about gitignore, you can read this article: https://git-scm.com/docs/gitignore

You can add semantic/ and semantic.json to the .gitignore file in Wikicontrib/frontend/WikiContrib-Frontend/.

Task tags

  • wikicontrib
  • .gitignore

Students who completed this task

arcaynia

Task type

  • done_all Quality Assurance
close

2019