vectordotdev / vectordotdev/vector
Target a different default config location on Windows
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
For windows builds we should have a different default config location as it's currently /etc/vector/vector.toml.
This is hopefully straight forward, surround https://github.com/timberio/vector/blob/master/src/types.rs#L11 with build flags and a different value for windows. Maybe %ProgramFiles(x86)%\Vector\config/vector.toml? (I'm not so hot on windows)
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 with src/types.rs at line 11 and inspect how the current /etc/vector/vector.toml default is defined. Check the project’s Rust build-flag conventions and Windows path expectations before choosing the alternate location. Done means non-Windows builds retain the current default while Windows builds use a Windows-appropriate config path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100