Feature Request: configure file extensions and their format
Open
Nobody has claimed this yet.
enhancement
help wanted
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
We have files named foo.libsonnet which are (in our case) valid json and we want sops to handle them as json files.
We currently workaround this by always setting --input-type=json --output-type=json but it would be great to define a mapping of file extension to format in the .sops.yaml configuration file.
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 reading the .sops.yaml configuration handling and the paths that parse --input-type and --output-type. Define how file-extension mappings should be configured and applied, then verify that .libsonnet files can use the json format without requiring those flags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100