Joey Armstrong | bb26e93 | 2024-01-29 16:17:27 -0500 | [diff] [blame] | 1 | .. _code--makefile-lint-targets: |
Joey Armstrong | fb8f3c8 | 2024-01-29 10:13:18 -0500 | [diff] [blame] | 2 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 3 | ====================================== |
| 4 | Makefile Lint Targets: Syntax Checking |
| 5 | ====================================== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 6 | |
Joey Armstrong | 477381e | 2024-02-11 12:59:59 -0500 | [diff] [blame] | 7 | Makefile Linting: By language |
| 8 | ----------------------------- |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 9 | |
| 10 | .. code:: bash |
| 11 | |
Joey Armstrong | 477381e | 2024-02-11 12:59:59 -0500 | [diff] [blame] | 12 | % git clone ssh://gerrit.opencord.org:29418/onf-make.git |
| 13 | % cd onf-make |
| 14 | |
| 15 | % make help | grep lint |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 16 | lint-chart chart_version_check.sh |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 17 | lint-doc8 Syntax check *.rst documentation files. |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 18 | lint-helm Syntax check helm configs |
| 19 | lint-json Syntax check json sources |
| 20 | lint-license Verify sources contain a license block. |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 21 | lint-robot Syntax check robot sources using rflint |
| 22 | lint-shell Syntax check bash,bourne,etc sources |
| 23 | lint-yaml Syntax check yaml source using yamllint |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 24 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 25 | [PYTHON] |
Joey Armstrong | a2fa658 | 2023-04-07 11:03:36 -0400 | [diff] [blame] | 26 | lint-python Syntax check using available python tools |
| 27 | lint-flake8 Syntax check using tool flake8 |
| 28 | lint-pylint Syntax check using tool pylint |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 29 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 30 | | |
| 31 | |
Joey Armstrong | 477381e | 2024-02-11 12:59:59 -0500 | [diff] [blame] | 32 | Makefile Linting: By language target |
| 33 | ------------------------------------ |
| 34 | |
| 35 | .. list-table:: Bulk sandbox linting |
| 36 | :widths: 20, 60 |
| 37 | :header-rows: 1 |
| 38 | |
| 39 | * - Make Target |
| 40 | - Description |
| 41 | * - help | grpe lint |
| 42 | - Display available help for lint targets and flags. |
| 43 | * - make lint |
| 44 | - Invoke all source linters, linting is conditional by language. |
| 45 | |
| 46 | .. list-table:: Language and tool specific linting targets |
| 47 | :widths: 20, 60 |
| 48 | :header-rows: 1 |
| 49 | |
| 50 | * - lint-{topic}-help |
| 51 | - Display extended help for a topic, supported targets and flags, etc. |
| 52 | * - lint-{topic}-all |
| 53 | - Lint everything available by file extension. |
| 54 | * - lint-{topic}-mod |
| 55 | - Lint locally modified files (git ls-files -m | lint) |
| 56 | * - lint-{topic}-src |
| 57 | - Lint a list of files passed in (make lint-{topic}-src VAR=list-of-files) |
| 58 | |
Joey Armstrong | 8218059 | 2024-02-10 15:34:21 -0500 | [diff] [blame] | 59 | .. seealso:: |
| 60 | |
| 61 | - :ref:`Makefile Target lint-chart` |
| 62 | - :ref:`Makefile Target lint-helm` |
Joey Armstrong | 477381e | 2024-02-11 12:59:59 -0500 | [diff] [blame] | 63 | - :ref:`Makefile Target lint-robot` |
Joey Armstrong | 8218059 | 2024-02-10 15:34:21 -0500 | [diff] [blame] | 64 | |
Joey Armstrong | 477381e | 2024-02-11 12:59:59 -0500 | [diff] [blame] | 65 | | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 66 | |
| 67 | All Sources |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 68 | =========== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 69 | |
| 70 | The generic lint target can be used to invoke all defined lint targets. |
| 71 | |
| 72 | .. code:: bash |
| 73 | |
| 74 | make clean |
| 75 | make lint 2>&1 | tee log |
| 76 | |
| 77 | | |
| 78 | |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 79 | Makefile help |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 80 | ============= |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 81 | |
Joey Armstrong | bd6cc3d | 2023-01-09 19:52:12 -0500 | [diff] [blame] | 82 | Individual Makefiles support a help target that will display a list of |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 83 | targets and functionality supported. |
| 84 | |
| 85 | .. code:: bash |
| 86 | |
| 87 | make help |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 88 | make help | grep {topic} |
| 89 | |
| 90 | .. list-table:: help |
| 91 | :widths: 20, 60 |
| 92 | :header-rows: 1 |
| 93 | |
| 94 | * - Make Target |
| 95 | - Description |
| 96 | * - help |
| 97 | - Display available help for targets and flags |
| 98 | * - make help | lint-{topic} |
| 99 | - Display summary usage for lint-doc8, lint-license, lint-make |
| 100 | * - lint-{topic}-help |
| 101 | - Display extended help for a topic, supported makefile targets, etc |
| 102 | |
| 103 | Legacy Help Usage |
| 104 | ----------------- |
| 105 | |
| 106 | .. code:: bash |
| 107 | |
| 108 | make help |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 109 | make help-verbose |
| 110 | make help VERBOSE=1 |
| 111 | |
| 112 | | |
| 113 | |
| 114 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 115 | doc8 / restructuredText (rst) |
| 116 | ============================= |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 117 | |
| 118 | Command: `doc8 <https://pypi.org/project/doc8/>`_ |
| 119 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 120 | .. list-table:: Makefile Targets |
| 121 | :widths: 20, 60 |
| 122 | :header-rows: 1 |
| 123 | |
| 124 | * - Target |
| 125 | - Description |
| 126 | * - help |
| 127 | - Display item ``lint-doc8`` as a summary help topic item. |
| 128 | * - lint-doc8-help |
| 129 | - Display extended help for ``lint-doc8`` targets |
| 130 | * - |
| 131 | - |
| 132 | * - lint-doc8 |
| 133 | - Build system lint target used to syntax check restructuredText sources. |
| 134 | * - lint-doc8-all |
| 135 | - Filesystem traversal, check all ``*.rst`` sources. |
| 136 | * - lint-doc8-mod |
| 137 | - Syntax check locally modified files (~git status) |
| 138 | * - lint-doc8-src |
| 139 | - Syntax check a list of files passed in as an argument. |
| 140 | * - |
| 141 | - |
| 142 | * - lint-doc8-install |
| 143 | - Dependency driven installation of the doc8 tool. |
| 144 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 145 | .. code:: bash |
| 146 | |
| 147 | make clean |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 148 | make lint-doc8 2>&1 | tee log |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 149 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 150 | make lint # supported by repositories that define lint-doc8 as a default target. |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 151 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 152 | .. list-table:: Sources |
| 153 | :widths: 20, 60 |
| 154 | :header-rows: 1 |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 155 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 156 | * - Source |
| 157 | - Description |
| 158 | * - `makefiles/lint/doc8/include.mk <http://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/doc8/include.mk>`_ |
| 159 | - Main makefile logic for syntax checking RST sources. |
| 160 | * - `makefiles/lint/doc8/install.mk <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/doc8/install.mk>`_ |
| 161 | - Dependency logic to install the doc8 tool when needed. |
| 162 | * - `makefiles/lint/doc8/excl.mk <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/doc8/install.mk>`_ |
| 163 | - Common doc8 exclusion patterns for all repositories. |
| 164 | |
| 165 | See Also |
| 166 | -------- |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 167 | |
Joey Armstrong | 1b8fdc3 | 2023-12-20 17:22:57 -0500 | [diff] [blame] | 168 | - lint-doc8-all target dependency will create a `python virtual env <https://wiki.opencord.org>`_ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 169 | - python 3.10+ requires `virtual env patching <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/patches/>`_ (dynamic, applied when needed). |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 170 | - `makefiles/patches/include.mk <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/makefiles-orig/patches/>`__ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 171 | |
| 172 | | |
| 173 | |
| 174 | |
| 175 | python: flake8 |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 176 | ============== |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 177 | |
| 178 | Command: `flake8 <https://flake8.pycqa.org/en/latest>`_ |
| 179 | |
| 180 | .. code:: bash |
| 181 | |
| 182 | make clean |
| 183 | make lint 2>&1 | tee log |
| 184 | make lint-flake8-all 2>&1 | tee log |
| 185 | make lint-flake8-modified 2>&1 | tee log |
| 186 | |
| 187 | Sources: |
| 188 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 189 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 190 | - makefiles/lint/flake8.mk |
| 191 | |
| 192 | Notes: |
| 193 | |
Joey Armstrong | 1b8fdc3 | 2023-12-20 17:22:57 -0500 | [diff] [blame] | 194 | - lint-flake8-all target dependency will create a `python virtual env <https://wiki.opencord.org>`_ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 195 | - python 3.10+ requires `virtual env patching <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/patches/>`_ (dynamic, applied when needed). |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 196 | - `makefiles/patches/include.mk <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/makefiles-orig/patches/>`__ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 197 | |
| 198 | | |
| 199 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 200 | Golang |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 201 | ====== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 202 | |
| 203 | Command: |
| 204 | |
| 205 | Sources: |
| 206 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 207 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 208 | |
| 209 | | |
| 210 | |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 211 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 212 | JSON |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 213 | ==== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 214 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 215 | Command: `json.tool <https://docs.python.org/3/library/json.html>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 216 | |
| 217 | .. code:: bash |
| 218 | |
| 219 | make clean |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 220 | make lint 2>&1 | tee log |
| 221 | make lint-json-all 2>&1 | tee log |
| 222 | make lint-json-modified 2>&1 | tee log |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 223 | |
| 224 | Sources: |
| 225 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 226 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
| 227 | - `makefiles/lint/json.mk <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/json.mk>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 228 | |
| 229 | | |
| 230 | |
| 231 | |
| 232 | License / Copyright notice |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 233 | ========================== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 234 | |
| 235 | Command: |
| 236 | |
| 237 | .. code:: bash |
| 238 | |
| 239 | make clean |
| 240 | make lint-license 2>&1 | tee log |
| 241 | |
| 242 | Sources: |
| 243 | |
| 244 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/voltha-system-tests/+/refs/heads/master/makefiles/lint>`__ |
Joey Armstrong | 8b426fc | 2023-11-14 16:09:11 -0500 | [diff] [blame] | 245 | - `makefiles/lint/license.mk <http://gerrit.opencord.org/plugins/gitiles/voltha-system-tests/+/refs/heads/master/makefiles/lint/license/include.mk>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 246 | |
| 247 | | |
| 248 | |
| 249 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 250 | python: pylint |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 251 | ============== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 252 | |
Joey Armstrong | 8b426fc | 2023-11-14 16:09:11 -0500 | [diff] [blame] | 253 | Command: `pylint <http://github.com/pylint-dev/pylint>`_, `pypi.org <https://pypi.org/project/pylint/>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 254 | |
| 255 | .. code:: bash |
| 256 | |
| 257 | make clean |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 258 | make lint 2>&1 | tee log |
| 259 | make lint-pylint-all 2>&1 | tee log |
| 260 | make lint-pylint-modified 2>&1 | tee log |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 261 | |
| 262 | Sources: |
| 263 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 264 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 265 | - makefiles/lint/pylint.mk |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 266 | - `makefiles/patches/include.mk <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/makefiles-orig/patches/>`__ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 267 | |
| 268 | Notes: |
| 269 | |
Joey Armstrong | bd6cc3d | 2023-01-09 19:52:12 -0500 | [diff] [blame] | 270 | - pylint the --py3k option is no longer supported by v3.10+ |
Joey Armstrong | 1b8fdc3 | 2023-12-20 17:22:57 -0500 | [diff] [blame] | 271 | - lint-pylint-all target dependency will create a `python virtual env <https://wiki.opencord.org>`_ |
Joey Armstrong | bd6cc3d | 2023-01-09 19:52:12 -0500 | [diff] [blame] | 272 | - python 3.10+ requires `virtual env patching <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/patches/>`_ (dynamic, applied when needed). |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 273 | |
| 274 | | |
| 275 | |
| 276 | |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 277 | Shell / Command Line Scripts |
| 278 | ============================ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 279 | |
| 280 | Command: `shellcheck <https://github.com/koalaman/shellcheck>`_ |
| 281 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 282 | .. code:: bash |
| 283 | |
| 284 | make clean |
| 285 | make lint 2>&1 | tee log |
| 286 | make lint-shell-all 2>&1 | tee log |
| 287 | make lint-shell-modified 2>&1 | tee log |
| 288 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 289 | Sources: |
| 290 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 291 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
Joey Armstrong | 8b426fc | 2023-11-14 16:09:11 -0500 | [diff] [blame] | 292 | - `makefiles/lint/shell.mk <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/shell/include.mk>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 293 | |
| 294 | | |
| 295 | |
| 296 | |
| 297 | Yaml |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 298 | ==== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 299 | |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 300 | Command: `yamllint <https://yamllint.readthedocs.io/en/stable/>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 301 | |
| 302 | .. code:: bash |
| 303 | |
| 304 | make clean |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 305 | make lint 2>&1 | tee log |
| 306 | make lint-yaml-all 2>&1 | tee log |
| 307 | make lint--modified 2>&1 | tee log |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 308 | |
| 309 | Sources: |
| 310 | |
Joey Armstrong | 644fb65 | 2023-10-02 13:12:20 -0400 | [diff] [blame] | 311 | - `makefiles/lint <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/>`__ |
| 312 | - `makefiles/lint/yaml.mk <https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/makefiles/lint/yaml.mk>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 313 | |
| 314 | | |
| 315 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 316 | |
| 317 | Bugs |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 318 | ==== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 319 | |
| 320 | - `jira::VOLTHA <https://jira.opencord.org/projects/VOL>`- |
| 321 | - Include repository URL |
| 322 | - Include gerrit/github changeset if available. |
| 323 | - A logfile snippet of the error and surrounding context. |
| 324 | |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 325 | | |
| 326 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 327 | |
| 328 | Repositories |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 329 | ============ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 330 | |
| 331 | - [`master <https://gerrit.opencord.org/plugins/gitiles/bbsim/+/refs/heads/master>`__] `bbsim <https://gerrit.opencord.org/plugins/gitiles/bbsim>`_ |
| 332 | - [`master <https://gerrit.opencord.org/plugins/gitiles/pod-configs/+/refs/heads/master>`__] `pod-configs <https://gerrit.opencord.org/plugins/gitiles/pod-configs>`_ |
| 333 | - [`master <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master>`__] `voltha-docs <https://gerrit.opencord.org/plugins/gitiles/voltha-docs>`_ |
| 334 | - [`master <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts/+/refs/heads/master>`__] `voltha-helm-charts <https://gerrit.opencord.org/plugins/gitiles/voltha-helm-charts>`_ |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 335 | - [`master <https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master>`__] `voltha-docs <https://gerrit.opencord.org/plugins/gitiles/voltha-docs>`_ |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 336 | |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 337 | | |
| 338 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 339 | |
| 340 | Notes |
Joey Armstrong | a9a16b6 | 2023-11-01 14:31:15 -0400 | [diff] [blame] | 341 | ===== |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 342 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 343 | - Volume problem reports require cleanup before linting can become a default. |
Joey Armstrong | 4de98b7 | 2023-02-09 14:51:38 -0500 | [diff] [blame] | 344 | |
| 345 | - After bulk linting problems for a language source have been cleaned up |
| 346 | default linting can be enabled by modifing {project-root}/config.mk. |
| 347 | |
Joey Armstrong | a8bc8e1 | 2022-12-04 07:06:59 -0500 | [diff] [blame] | 348 | - Lint target support is globally available across repositories, given time |
| 349 | it will be. Submit patches as needed or open a jira ticket to request |
| 350 | linting support in specific repositories. |
| 351 | - Makefile refactoring: yes absolutely! Baby steps are needed in the interim... |
Joey Armstrong | b544dff | 2022-12-07 15:12:05 -0500 | [diff] [blame] | 352 | |
| 353 | | |