Clone this repo:

Branches

  1. 097a824 Add missing staging settings by Adrià Vilanova Martínez · 11 months ago main
  2. 5ccb1a0 Change local SQL credentials by Adrià Vilanova Martínez · 11 months ago
  3. 5484848 Fix loading issues in the local environment by Adrià Vilanova Martínez · 11 months ago
  4. 0ae79a7 Fix hangs when loading issues by Adrià Vilanova Martínez · 11 months ago
  5. f19ea43 Merge branch 'main' into avm99963-monorail by Adrià Vilanova Martínez · 11 months ago

Monorail Issue Tracker - bugs.avm99963.com

This repo is a fork of the open-source Monorail issue tracker designed to run at bugs.avm99963.com. I've made the code public so it can inspire other developers to host relatively cheap Monorail instances.

Monorail development should generally be contributed upstream, this repo will only accept changes specific to small and relatively cheap instances.

The original README.md file is here below (slightly modified where applicable):


Monorail Issue Tracker

Monorail is the Issue Tracker used by the Chromium project and other related projects. It is hosted at bugs.chromium.org.

If you wish to file a bug against Monorail itself, please do so in our self-hosting tracker. We also discuss development of Monorail at infra-dev@chromium.org.

Getting started with Monorail development

For Googlers: Monorail's codebase is open source and can be installed locally on your workstation of choice.

For local development on Linux, see Linux development instructions For local development on MacOS and Debian, see MacOs development instructions

Instructions for deploying Monorail to an existing instance or setting up a new instance are here.

See also: Common Development Problems

Testing

Python backend testing

make pytest

To run a single test:

vpython3 test.py services/test/issue_svc_test.py::IssueServiceTest::testUpdateIssues_Normal

JavaScript frontend testing

make jstest

If you want to skip the coverage for karma, run:

make karma_debug

To run only one test or a subset of tests, you can add .only to the test function you want to isolate:

// Run one test.
it.only(() => {
  ...
});

// Run a subset of tests.
describe.only(() => {
  ...
});

Just remember to remove them before you upload your CL.

Development resources

Supported browsers

Monorail supports all browsers defined in the Chrome Ops guidelines.

File a browser compatability bug here.

Frontend code practices

See: Monorail Frontend Code Practices

Monorail's design

Triage process

See: Monorail Triage Guide.

Release process

See: Monorail Deployment

User guide

For information on how to use Monorail, see the Monorail User Guide.

Setting up a new instance of Monorail

See: Creating a new Monorail instance