[problem-matchers] support for glob search the file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md describes that I can specify a matching group for the filename and one for the fromPath, but what I actually need is to specify a pref and/or glob pattern.
The analysis toll I like to annotate errors emits the following message:
Marker [on: /projectname/SomeFile.java, id: 3107, lineNumber: 99, message: Something went Wrong]
The problem is that the file is actually located in subfolder/projectname/SomeFile.java so if it would be possible to define something like
fileroot: "/base/**/subfolder"fileroot: "subfolder"
this would be great so the file is then searched in a folder matching the fileroot
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/problem-matchers.md, especially the filename and fromPath matching-group behavior described there. Trace the problem-matcher implementation that consumes those fields and determine how a fileroot prefix or glob should resolve /projectname/SomeFile.java to subfolder/projectname/SomeFile.java; done means the documented pattern works for this example and existing matching behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100