vectordotdev / vectordotdev/vector
Specify Vector version in the Vector config file
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
After talking with @a-rodin he had the following idea:
My thoughts about release process were mostly questioning the need to add version to the config file, similarly to how docker-compose files have version in the beginning. I see both benefits and downsides of this, but haven’t decided yet would it be better to have it or not.
He also mentioned:
I agree that it is possible to make breaking changes between 0.y.z releases according to semver. However, it could be nice to use configs from older versions in newer ones without manual changes, which can be done by running a special command which would take config from an older version and generate a config for the current version.
Something like running
vector config upgradewhich would bump the version in config and make necessary fixes, for example renaming config options or transforms names.
I don't think we should address this during the pre-1.0 phase of development, but I wanted to open this issue for discussion.
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
The issue names no files, tests, or entry points; start by resolving the open discussion about whether versioning belongs in configs before locating the configuration and CLI upgrade surfaces. Done would require an agreed versioning and upgrade scope, which the current issue does not define.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100