Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

XDG Base Directory Specification

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

Nobody has claimed this yet.

Assessment

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

Research direction

No file or test is named. Start by locating the code that reads the legacy ~/.sqlcmd/sqlconfig path, then review the XDG Base Directory Specification and the proposed XDG_CONFIG_HOME and XDG_CONFIG_DIRS behavior. Done means using ~/.config/sqlcmd/sqlcmd by default while retaining the legacy path as a fallback.

Written by the indexing model from the issue text.

Description

Like briefly mentioned in #329, the current config path is a custom arbitrary one: ~/.sqlcmd/sqlconfig as explained in the documentation.

However having ~2000 "dotfiles" and "dotfolders" in $HOME is a bit anoying and messy.

That is why I suggest implementing a XDG compliant config deployment.

The idea would be to have ~/.config/sqlcmd/sqlcmd instead of the legacy ~/.sqlcmd/sqlconfig (that could be kept as fallback for retro-compatibility).

Dominant language
Go
Stars
595
Forks
91
Avg merge
9h 35m
Merged PRs (30d)
1

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 microsoft/go-sqlcmd

All issues in microsoft/go-sqlcmd

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.