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

Add configuration notes to README.md #964

Merged
merged 4 commits into from
Feb 7, 2025
Merged

Conversation

dimas-b
Copy link
Contributor

@dimas-b dimas-b commented Feb 7, 2025

No description provided.

@dimas-b
Copy link
Contributor Author

dimas-b commented Feb 7, 2025

CC: @dennishuo

Please see the [Configuration Guide](https://polaris.apache.org/in-dev/unreleased/configuration/)
for more information.

Default configuration values can be found in `quarkus/defaults/src/main/resources/application.properties`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a blocker to this PR, but I'm still concerned as this file contains both build-time and runtime configs. I'm not sure if there is a better way to reduce the confusion from the users, other than documenting them well. Open for suggestions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would it help if we had a different section for build-time properties in application.properties with a comment explaining how they work?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, that definitely helps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@HonahX HonahX left a comment

Choose a reason for hiding this comment

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

LGTM!

README.md Outdated
#### Configuring Polaris

Polaris Servers can be configured using a variety of ways.
Please see the [Configuration Guide](https://polaris.apache.org/in-dev/unreleased/configuration/)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use relative path here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure. I suppose people often view this README on GH or locally.

Copy link
Contributor

@flyrain flyrain Feb 7, 2025

Choose a reason for hiding this comment

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

I have test a relative path as the following. Either GH and local(in IDE) usage are fine. Just a bit concern of inconsistency, as once we got releases. A link like this https://polaris.apache.org/in-dev/unreleased/configuration/ will be changed.

- See [README in `site/`](site/README.md) for more information.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to a relative link to configuration.md. This is a link between .md files, not to the generated docs, but that works for me.

@dimas-b dimas-b merged commit 9799e85 into apache:main Feb 7, 2025
5 checks passed
@dimas-b dimas-b deleted the readme-config branch February 7, 2025 23: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.

3 participants