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

feat: add go config #155

Merged
merged 1 commit into from
Nov 28, 2023
Merged

feat: add go config #155

merged 1 commit into from
Nov 28, 2023

Conversation

renan061
Copy link
Contributor

No description provided.

@renan061 renan061 requested a review from gligneul November 16, 2023 19:21
@renan061 renan061 self-assigned this Nov 16, 2023
@renan061 renan061 linked an issue Nov 16, 2023 that may be closed by this pull request
Copy link
Contributor

@gligneul gligneul left a comment

Choose a reason for hiding this comment

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

Looks great, just minor comments.

internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/generate/main.go Show resolved Hide resolved
internal/config/config.go Show resolved Hide resolved
internal/config/generate/main.go Outdated Show resolved Hide resolved
internal/config/generate/main.go Show resolved Hide resolved
internal/config/generate/main.go Show resolved Hide resolved
internal/config/get.go Outdated Show resolved Hide resolved
internal/config/TODO.txt Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/generate/Config.toml Show resolved Hide resolved
@renan061 renan061 marked this pull request as ready for review November 24, 2023 16:46
@renan061 renan061 force-pushed the feature/go-config branch 2 times, most recently from efe40b7 to 1f2da11 Compare November 27, 2023 17:23
CHANGELOG.md Outdated
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added Go config.
Copy link
Contributor

Choose a reason for hiding this comment

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

If I remember correctly, the consensus was that we don't add modifications to the changelog if the change is not relevant/visible to our users, so I guess we'll add a single entry for the whole go binary, when it becomes ready for production. You can remove this and just add the no-changelog tag 😉

Copy link
Contributor

Choose a reason for hiding this comment

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

We could also add a more relevant comment regarding the configuration part of the single container.
Something like: "Added unified configuration for the Node with a new set of environment variables".

Copy link
Contributor

Choose a reason for hiding this comment

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

@gligneul now you got me confused. Should or shouldn't we add single container updates to the changelog? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

We should add the updates that are relevant for external users. The config part is relevant. We could add all of them in the end or start adding them as we go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it is in the unreleased section, I see no harm in adding them now.

internal/config/auth.go Outdated Show resolved Hide resolved
Copy link
Contributor

@gligneul gligneul left a comment

Choose a reason for hiding this comment

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

Looks good! Just fix the minor comments left.

internal/config/auth.go Outdated Show resolved Hide resolved
@gligneul
Copy link
Contributor

Please rebase on top of next.

@renan061 renan061 changed the base branch from main to next November 28, 2023 19:31
@renan061 renan061 merged commit 9ae9667 into next Nov 28, 2023
2 of 3 checks passed
@renan061 renan061 deleted the feature/go-config branch November 28, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify Node config
3 participants