Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions registry/vector.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
backends = ["github:vectordotdev/vector"]
description = "A high-performance observability data pipeline."
detect = ["vector.yaml", "vector.json", "vector.toml"]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The detect directive? or the vector.toml file in general?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this actually allow mise to use these files? I suspect it doesn't

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vector can be configured a billion different ways but the default is to look for vector.{toml,json,yaml} and it seems reasonable that if those file(s) are present in a repo, mise should suggest installing vector.

But it looks like idiomatic_files is how that's done, not detect: 35083c3

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's going to work either...

test = { cmd = "vector --version", expected = "vector {{version}}" }
Comment thread
kquinsland marked this conversation as resolved.
Loading