Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: port github.com/grafana/river into syntax #17

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Mar 1, 2024

This commit brings the github.com/grafana/river code into the syntax package, which is intended to be a submodule.

There are a few reasons to do this:

  1. "River" is being sunset as a term in favor of the "Alloy configuration syntax," so it no longer makes sense for River to exist on its own.

  2. With the transition to Alloy configuration syntax, error messages and alike should remove references to the word "River."

  3. It is likely that the Alloy configuration syntax will be receiving a stream of updates soon after the 1.0 release, where having it in a separate repo would slow us down and risks desyncing documentation.

  4. There are projects which depend on River, so it must be importable if we bring it into Alloy. However, since we don't want to mark the Go API as 1.0 yet, constraining the Alloy configuration syntax to a submodule allows us to version it separately.

This commit brings the github.com/grafana/river code into the syntax
package, which is intended to be a submodule.

There are a few reasons to do this:

1. "River" is being sunset as a term in favor of the "Alloy
   configuration syntax," so it no longer makes sense for River to exist
   on its own.

2. With the transition to Alloy configuration syntax, error messages and
   alike should remove references to the word "River."

3. It is likely that the Alloy configuration syntax will be receiving a
   stream of updates soon after the 1.0 release, where having it in a
   separate repo would slow us down and risks desyncing documentation.

4. There are projects which depend on River, so it must be importable if
   we bring it into Alloy. However, since we don't want to mark the Go
   API as 1.0 yet, constraining the Alloy configuration syntax to a
   submodule allows us to version it separately.
@rfratto rfratto merged commit 2ff16d2 into main Mar 1, 2024
9 checks passed
@rfratto rfratto deleted the port-river branch March 1, 2024 16:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
@rfratto rfratto added the backport-to-agent:no PR should NOT be backported to the agent repo. label Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-agent:no PR should NOT be backported to the agent repo. frozen-due-to-age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant