github / github/codeql-cli-binaries

Respect the XDG Base Directory Specification

Open
#128 1 comment 1 reaction 0 assignees View on GitHub
CLI
Dominant language
No language data
Stars
1k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Running the `pack download` command in codeql writes results to a $HOME/.codeql directory.

It would be nice if codeql conformed to the freedesktop guidelines about where to write user data, as specified here: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

That would make it easier to know where the programs data is located, and not clutter my home directory.

Contributor guide

Open the contributing guide

Research direction

Start with the `pack download` command and compare its current `$HOME/.codeql` location with the linked freedesktop XDG Base Directory Specification. No source file or test is named in the issue, so locate the path-handling entry point first; done means user data follows the applicable XDG location without cluttering the home directory.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.