void-linux / void-linux/void-packages

[RFC] Lint packages for configuration files not listed in `conf_files`

Open
#52,368 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement tracking xbps-src
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

It might be nice to add a post-install lint that emits warnings when apparent configuration files are discovered in well-known directories but not listed in the package's conf_files. Apparently configuration files could be identified simply by expecting particular extensions, for example:

  • conf
  • cfg
  • ini
  • yaml
  • yml
  • toml

and "well-known dirctories" might just be the /etc hierarchy, or might include a few others. Comments and recommendations for additional paths, extensions or alternative methods for discovering configuration files are appreciated.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing how package metadata records conf_files and where post-install checks are defined. The issue leaves the directories, extensions, and discovery method open; done would require a decided scope and an agreed lint that emits warnings for discovered configuration files missing from conf_files.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.