Codesearch

From mediawiki.org
This page is a translated version of the page Codesearch and the translation is 100% complete.


Eggbeater stencil narrow.svg
Codesearch
2019 Coolest Tool Award Winner
in the category
Developer

MediaWiki code search is een geheel gratis software tool waarmee je gemakkelijk door alles kan zoeken van MediaWiki core, extensies, en skins die gehosted worden op Gerrit. U kunt het zoeken beperken tot specifiek repositories maar ook types van repositories. Reguliere expressies worden ondersteund bij zowel de zoek string en bij het het filteren op path.

Try it out: https://codesearch.wmcloud.org/search/

Implementatie

codesearch uses hound as the search implementation. It indexes the origin/master branch of all specified repositories, and updates them every 90 minutes, and adds new repositories every 24 hours. Each search profile is backed by a different instance of hound. A small Python Flask server acts as the proxy for the web frontend, backed by gunicorn, to the individual hound instances.

Inbegrepen repositories

  • MediaWiki core
  • Any extension in Gerrit that is not marked as read only and those included in the MWStake list
  • Any skin in Gerrit that is not marked as read only
  • Milkshake repositories from GitHub
  • OOUI (oojs/ui in Gerrit)
  • translatewiki configuration (from Gerrit)
  • operations/puppet, operations/dns and operations/mediawiki-config in Gerrit
  • ArmchairGM (this is currently hidden by default; you can access it through https://codesearch.wmcloud.org/armchairgm/)
  • Pywikibot core (from Gerrit)

Additional repositories can be added upon request. Any submodules will need to be added manually (T188023). codesearch's configuration uses <https://www.mediawiki.org/w/api.php?action=query&format=jsonfm&formatversion=2&list=extdistrepos>.

Administratie

The current project administrators are Addshore, Derick Alangi, Ladsgroup, Legoktm, MaxSem, Andrew Bogott, Rush and Prtksxna. Documentation on the operation/administration of codesearch is available at Codesearch/Admin.

Broncode

  • codesearch, available under the terms of the GPL, v3 or any later version.
  • hound, available under the terms of the MIT license.

Bugs en functieverzoeken

Please file them in the Phabricator project.

Zie ook