void-linux / void-linux/void-packages
[RFC] Lint packages for configuration files not listed in `conf_files`
Nobody has claimed this yet.
- 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:
confcfginiyamlymltoml
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
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 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