Tools for gathering data from Wikimedia incident documentation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
incident_documentation.rb

README.md

Incident documentation

Tools for gathering data from Wikimedia incident documentation.

Build Status Maintainability

Usage

bundle exec ruby incident_documentation.rb INCIDENTS_SUBSET

Example

$ bundle exec ruby incident_documentation.rb 20180312

Incidents that start with 20180312
["Incident documentation/20180312-Cache-text"]

Gerrit patches in Actionables section
{"Incident documentation/20180312-Cache-text"=>["419090"]}

Gerrit repositories from Gerrit patches
{"Incident documentation/20180312-Cache-text"=>["operations/puppet"]}

Phabricator tasks in Actionables section
{"Incident documentation/20180312-Cache-text"=>["T181315", "T96853"]}

Gerrit repositories from Phabricator tasks verbose
{"Incident documentation/20180312-Cache-text"=>
  [{"T181315"=>["operations/puppet", "mediawiki/vagrant"]}, {"T96853"=>[]}]}

Gerrit repositories from Phabricator tasks summary
{"Incident documentation/20180312-Cache-text"=>
  ["operations/puppet", "mediawiki/vagrant"]}

Gerrit repositories connected to an incident
{"Incident documentation/20180312-Cache-text"=>
  ["operations/puppet", "mediawiki/vagrant"]}

Gerrit repositories connected to an incident CSV
Incident documentation/20180312-Cache-text,operations/puppet
Incident documentation/20180312-Cache-text,mediawiki/vagrant