apache / apache/infrastructure-asfyaml
Line number quoted in parsing errors is fairly useless
- Dominant language
- Python
- Stars
- 16
- Forks
- 23
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 4
Description
It looks like the line number which is shown in parsing errors is relative to the part of the file that is checked by the individual features, making it all but useless.
Either remove the line number, or fix it so it relates to the entire file.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the parser and feature-specific validation paths that produce parsing errors, then reproduce the reported line number with a multi-line .asf.yaml file. Confirm whether the number is relative to a feature's input or the whole file. Done means either removing the line number or making it refer to the entire file, with a regression test for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100