Commit 8672a72
Gyan Ranjan Panda
Rename 'Grammar' optional step group to 'Antlr' in deploy_to_develop pipeline
Fixes #2057
The decorator was used for three pipeline steps that
handle ANTLR-specific grammar files (.g/.g4). The name "Grammar" is too generic
and ambiguous — it does not make clear which grammar tool or technology is involved.
Rename the optional step group from "Grammar" to "Antlr" to:
- Align with all other optional step groups in the pipeline that are named after
their specific technology (Java, Scala, Kotlin, Groovy, AspectJ, Clojure, etc.)
- Make the user-facing CLI --groups flag, REST API, and UI unambiguous
- Clearly communicate that these steps are exclusively for ANTLR grammar files
The three affected steps are:
- find_grammar_packages: finds java packages in .g/.g4 source files
- map_grammar_to_class: maps .class files to their .g/.g4 source
- map_jar_to_grammar_source: maps .jar files to their ANTLR source directory
Note: Internal class names (GrammarLanguage, grammar_package, grammar_to_class)
are database-persisted identifiers and are intentionally NOT changed to avoid
requiring a data migration.
Backward compatibility note: Existing pipeline configs or API calls using
"--groups Grammar" must be updated to "--groups Antlr" after this change.1 parent b966b47 commit 8672a72
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments