root dir default realpath

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

Start by tracing the cq sarif command and how it determines the root directory when the argument is omitted. Verify the change with the shown dotnet build and cq sarif compiler-diagnostics.sarif gl-code-quality-report.json invocation, confirming the generated report uses the current directory as the root.

Written by the indexing model from the issue text.

Description

dotnet build generates compiler-diagnostics.sarif in current dir(realpath) same as *.csproj,

if this tool default root dir as pwd, it will be great.

now:

dotnet build
cq sarif compiler-diagnostics.sarif gl-code-quality-report.json $(realpath)/

expect:

dotnet build
cq sarif compiler-diagnostics.sarif gl-code-quality-report.json
Dominant language
C#
Stars
14
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codecentric/dotnet_gitlab_code_quality

All issues in codecentric/dotnet_gitlab_code_quality

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.