This is a Bugzilla dashboard that helps management determine Bugzilla components triaging status plus listing members of their reporting chain.
Only LDAP users are allowed to use this app. You can do development locally without an LDAP account, however, the app will only have fake org data. See the Contribute section.
You can see the deployment in our Netlify instance.
A team is a collection of components that can span various products and it is shown under the Teams tab. You can add new teams and make them show in the Teams tab by making changes to the config file.
To add a team you need to modify TEAMS_CONFIG
and an entry similar to this:
export const TEAMS_CONFIG = {
domCore: {
label: 'DOM Core',
owner: 'someone@mozilla.com',
product: ['Core'],
component: [
'DOM: Core & HTML', 'DOM: Events',
'Editor', 'HTML: Parser', 'Selection', 'Serializers',
'User events and focus handling',
],
},
Here's how to configure it:
product
and component
are parameters passed to the Bugzilla queries.owner
should match someone reporting to you.
label
is the name of the teamUntil we have a backend, we need to regenerate certain files to bring the app up-to-date.
The data is stored in Taskcluster Secrets and it's only accessible to moco_team. See bug 1540823
To update the data you will need to take a Phonebook dump, get it reduced and converted to Yaml and upload it to Taskcluster Secrets.
Requirements:
Set up the virtualenv with poetry
:
poetry install
poetry shell
or:
python3 -m venv venv
source ./venv/bin/activate
pip install PyYaml
Execute the command:
python scripts/processPeopleFile.py --path /path/to/phonebook.json
You can read in here what changes are needed to get data from CIS.
This file is checked-in because it makes the app snapier, however, it can fall out of date.
To regenerate it run this and commit the updated file:
node scripts/generateTriageOwners.js
If you don't have LDAP access you can start the app with yarn start:alternativeAuth
and use Google or GitHub to authenticate. This will
not give you access to a functioning app, however, it will allow you to make contributions to the authenticated interface.
Issue #66 will add fake data into this alternative auth approach.
This app authenticates with Mozilla's official Auth0 domain. It uses SSO and it only allows authentication of Mozilla staff via LDAP.
The authentication configuration has the following characteristics:
firefox-ci-tc.services.mozilla.com
)
To install the dependencies:
yarn install
yarn test -u
yarn lint
yarn install
yarn start