commit | e19d53d48763dc4ed6ccaab4b62cf40118280427 | [log] [tgz] |
---|---|---|
author | Josip Sokcevic <sokcevic@chromium.org> | Fri Nov 17 00:44:52 2023 |
committer | Josip Sokcevic <sokcevic@chromium.org> | Fri Nov 17 00:44:52 2023 |
tree | c9005f88ca88d0982c05b46040917ab033100479 | |
parent | 235118f7117e7e01e3db76406a2ce45954271545 [diff] |
Return normalized form in getTrailer If old Reitveld tag is used in the commit message, and revert is made, Git and Gerrit won't recognize those as footers. This results in presubmit footers not being honored. Instead, we are normalizing all tags to comply with Git expectation. Bug: crbug/1502371 Change-Id: If7c19ccdbd9a9c0ae4037ee20fafa4acaa4cec7e
This plugin must be placed inside the Gerrit plugins directory:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-behavior
Run the commands below in web/.
For running TypeScript unit tests execute:
make test
For checking or fixing eslint formatter problems run:
make lint_test make lint_fix
For testing the plugin with Gerrit FE Dev Helper the command below builds the JavaScript bundle and copies it to the plugins/chromium-behavior
folder:
make build
Start polygerit-ui server:
./polygerrit-ui/run-server.sh --plugins="plugins"
and let the Dev Helper redirect from .+/plugins/chromium-behavior/static/chromium-behavior.js
to http://localhost:8081/plugins/chromium-behavior.js
.