commit | 2e0ceac892d6fe38064c0fbcadba6c10043d86b7 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Wed Nov 13 11:15:47 2019 -0800 |
committer | Tao Zhou <taoalpha@google.com> | Wed Nov 13 11:15:47 2019 -0800 |
tree | d8c23b91afa53a187963d24afd3489c95a8d2dd9 | |
parent | a8b6c6cdd47927dc77cb2e79418239d2d55b2965 [diff] |
Gerrit FE Dev Helper extension v0.0.2 Change-Id: Ibf082ff6b12d23e2c3a5546bc3d09402dd0a09f9
Gerrit FE Dev helper is a chrome extension that will focus on helping frontend developers on Gerrit development.
As mentioned in readme from polygerrit-ui, we already support to start your local host for developing / debugging / testing, but it has quite a few restrictions:
To solve these pain points, I created this chrome extension that basically just proxy all assets requests or any requests to local server, and you will have the ability to inject any plugins from local as well.
See in release notes.
npm run build
Then you should have gerrit_fe_dev_helper.zip
that you can test with, or download from chrome web store here: https://chrome.google.com/webstore/detail/gerrit-fe-dev-helper/jimgomcnodkialnpmienbomamgomglkd.
After you installed and enabled the extension, you should see something similar to demo.png.
./polygerrit-ui/run-server.sh
Gerrit dev helper is enabled
), and now your gerrit assets should be loaded from local serverThe extension comes with a set of default rules, but you can change the rules by just clicking the extension icon again.
The extension supports six different type of rules:
The two options of injecting any plugins meant to help you develop your plugins for your gerrit sites.
Please don't hesitate to contact taoalpha@google.com for support on this extension.