Matteo Scandolo | 9f61949 | 2019-10-25 13:11:58 -0700 | [diff] [blame] | 1 | .. _Development dependencies: |
| 2 | |
| 3 | Development dependencies |
| 4 | ======================== |
| 5 | |
| 6 | To use a patched version of the ``omci-sim`` library: |
| 7 | |
| 8 | .. code:: bash |
| 9 | |
| 10 | make dep |
| 11 | cd vendor/github.com/opencord/ |
| 12 | rm -rf omci-sim/ |
| 13 | git clone https://gerrit.opencord.org/omci-sim |
| 14 | cd omci-sim |
| 15 | |
| 16 | Once done, go to ``gerrit.opencord.org`` and locate the patch you want |
| 17 | to get. Click on the download URL and copy the ``Checkout`` command. |
| 18 | |
| 19 | It should look something like: |
| 20 | |
| 21 | :: |
| 22 | |
| 23 | git fetch ssh://teone@gerrit.opencord.org:29418/omci-sim refs/changes/67/15067/1 && git checkout FETCH_HEAD |
| 24 | |
| 25 | Then just execute that command in the ``omci-sim`` folder inside the |
| 26 | vendored dependencies. |