commit | 9f9ade5a5fd4ebe76e0ad0d7a91f386f475e8fe9 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova MartÃnez <me@avm99963.com> | Mon Oct 10 23:20:11 2022 +0200 |
committer | gerritbot <gerritbot@avm99963.com> | Mon Oct 10 23:31:26 2022 +0200 |
tree | 8ae2c3467f59d3fc5415e1793a4f581e56a52122 | |
parent | 1663d14d8132d1d2bacc6302122f4ce2c8af201a [diff] |
Merge branch 'main' into avm99963-monorail Merged commit 3779da353b36d43cf778e7d4f468097714dd4540 GitOrigin-RevId: 6451a5c6b75afb0fd1f37b3f14521148d0722ea8
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 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
.
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
Instructions for deploying Monorail to an existing instance or setting up a new instance are here.
See also: Common Development Problems
To set up FLT/Approvals in Monorail:
To run all Python unit tests, in the appengine/monorail
directory run:
make test
For quick debugging, if you need to run just one test you can do the following. For instance for the test IssueServiceTest.testUpdateIssues_Normal
in services/test/issue_svc_test.py
:
../../test.py test appengine/monorail:services.test.issue_svc_test.IssueServiceTest.testUpdateIssues_Normal --no-coverage
To run the frontend tests for Monorail, you first need to set up your Go environment. From the Monorail directory, run:
eval `../../go/env.py`
Then, to run the frontend tests, run:
make karma
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.
Monorail supports all browsers defined in the Chrome Ops guidelines.
File a browser compatability bug here.
See: Monorail Frontend Code Practices
See: Monorail Triage Guide.
See: Monorail Deployment
For information on how to use Monorail, see the Monorail User Guide.