-
Notifications
You must be signed in to change notification settings - Fork 405
slight clarification in README.md #93
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
base: main
Are you sure you want to change the base?
Conversation
make docker/podman super clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @bencium, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
Hello! Gemini here, providing a summary of this pull request. The intent of this PR, as indicated by the title and description, is to improve the clarity of the README.md file, specifically regarding the instructions for starting the application using either Docker or Podman. The changes involve modifying a single line in the README to explicitly show separate commands for Docker and Podman, making the setup process clearer for users.
Highlights
- Documentation Clarity: The primary goal is to enhance the clarity of the project's README documentation.
- Docker/Podman Instructions: The specific focus is on making the instructions for starting the application with Docker or Podman more explicit and easier to follow.
Changelog
- README.md
- Clarified the command for starting the application using Docker or Podman by splitting the single generic line into two distinct lines, one for each tool (lines 137-138).
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request aims to clarify the Docker/Podman startup commands in the README.md, which is a commendable improvement for new users. Separating the commands for Docker and Podman significantly enhances clarity compared to the previous ambiguous docker/podman instruction.
I have one suggestion regarding the formatting of the new commands to ensure they are easily copy-pasteable, which would further align with the goal of making them 'super clear'.
Additionally, while this PR focuses on lines 137-138, you might consider applying a similar clarification to the docker/podman compose --env-file .env up --build command found around line 148 in a future update, as it currently presents the same ambiguity this PR addresses for the initial startup command.
Summary of Findings
- README command usability: The proposed Docker/Podman commands in
README.mdinclude prefixes ('Docker:', 'Podman:') directly on the command lines. This will cause errors if users copy-paste these lines into a terminal. Documentation instructions should provide commands that are directly executable to prevent user frustration and errors.
Merge Readiness
The intent of this PR to clarify Docker/Podman commands is excellent and a definite step up in clarity. However, I am requesting changes to address a medium-severity usability issue with the proposed command format. By implementing the suggestion to make the commands directly copy-pasteable, the README will be significantly clearer and more user-friendly, fully achieving the PR's goal.
As a reviewer, I am not authorized to approve pull requests. I recommend addressing the suggested change to improve usability before this PR is merged. It would also be beneficial to consider clarifying a similar command on line 148 in a follow-up.
| Docker: docker compose --env-file .env up | ||
| Podman: podman compose --env-file .env up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current formatting with Docker: and Podman: prefixes on the command lines themselves will cause an error if a user tries to copy and paste the entire line into their terminal. To improve usability and truly make the commands 'super clear' and easy to run, it would be better to have the descriptive labels as comments and the commands themselves as directly executable lines.
Could we reformat this to ensure the commands are directly copy-pasteable?
| Docker: docker compose --env-file .env up | |
| Podman: podman compose --env-file .env up | |
| # Using Docker: | |
| docker compose --env-file .env up | |
| # Using Podman: | |
| podman compose --env-file .env up |
make docker/podman super clear
name: 🔄 Pull Request
about: Create a pull request for OpenHealth
What's changed?
✨ Screenshots (optional)