-
Notifications
You must be signed in to change notification settings - Fork 32
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
Defining the Contribution Process and Project Management Process #256
Defining the Contribution Process and Project Management Process #256
Conversation
Warning Rate limit exceeded@dvonthenen has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 13 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe recent changes involve updating documentation files within the repository to improve clarity, structure, and consistency. Significant alterations include refinements to guides on code contributions, GitHub workflow, and conduct. Additionally, the README.md file was reorganized for better readability, and some function names in the source code were modified for clarity. Changes
Sequence Diagram(s)Silently ignoring generating this section. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
Outside diff range, codebase verification and nitpick comments (10)
.github/CONTRIBUTING.md (4)
16-27
: Correct minor typographical error and improve clarity.Correct the minor typographical error in the first sentence and improve the clarity of the suggestions list.
- The first step to getting starting contributing to Go SDK is to find something to work on. Help is always welcome, and no contribution is too small (but see below)! + The first step to getting started with contributing to the Go SDK is to find something to work on. Help is always welcome, and no contribution is too small (but see below)! Here are some things you can do today to get started contributing: - Help improve the documentation. - Clarify code, variables, or functions by adding comments. - Write test coverage. - Help triage issues.
29-44
: Ensure consistency in contribution types formatting.Ensure that the formatting of the contribution types is consistent and clear.
- - If you find a bug, please first report it using Github Issues. - - Issues that have already been identified as a bug will be labeled `🐛 bug`. - - Before you start any coding or implementation, please see the [Making Code Contributions](#making-code-contributions) section first. + - If you find a bug, please first report it using GitHub Issues. + - Issues that have already been identified as a bug will be labeled `🐛 bug`. + - Before you start any coding or implementation, please see the [Making Code Contributions](#making-code-contributions) section first.
48-48
: Capitalize the first word in the sentence.Capitalize the first word to maintain consistency in the documentation.
- for those interested in contributing code to the project, please review the [Code Contribution Guide](https://github.com/deepgram/deepgram-go-sdk/blob/main/.github/CODE_CONTRIBUTIONS_GUIDE.md) for more details. + For those interested in contributing code to the project, please review the [Code Contribution Guide](https://github.com/deepgram/deepgram-go-sdk/blob/main/.github/CODE_CONTRIBUTIONS_GUIDE.md) for more details.
5-7
: Ensure internal links are functional.The internal link to the "Contribution Types" section is broken because the section header is missing in the
.github/CONTRIBUTING.md
file.
- Missing Section:
## Contribution Types
Analysis chain
Ensure internal links are functional.
Verify that the internal links for "Your First Contribution," "Contribution Types," and "Making Code Contributions" are correctly set up and functional.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the internal links in the CONTRIBUTING.md file. # Test: Check if the internal links are functional. Expect: All links to be valid. grep -E '\(#your-first-contribution\)|\(#contribution-types\)|\(#making-code-contributions\)' .github/CONTRIBUTING.mdLength of output: 561
Script:
#!/bin/bash # Description: Verify the presence of section headers in the CONTRIBUTING.md file. # Test: Check if the section headers exist. Expect: All headers to be present. grep -E '^## (Your First Contribution|Contribution Types|Making Code Contributions)' .github/CONTRIBUTING.mdLength of output: 167
README.md (6)
86-113
: Correct minor typographical errors and improve clarity.Correct minor typographical errors in the code comments and improve the clarity of the sample code.
- Sample_rate: 16000, + SampleRate: 16000, +} +// create the client +dgClient, err := client.NewWebSocketWithDefaults(ctx, transcriptOptions, callback) +if err != nil { + log.Println("ERROR creating LiveTranscription connection:", err) + os.Exit(1) +} +// call connect! +wsconn := dgClient.Connect() +if wsconn == nil { + log.Println("Client.Connect failed") + os.Exit(1) +}
Line range hint
115-139
:
Ensure consistency in variable naming and improve clarity.Ensure that the variable naming is consistent and improve the clarity of the sample code.
- URL := "https://my-domain.com/files/my-conversation.mp3" - res, err := dg.FromURL(ctx, URL, options) + url := "https://my-domain.com/files/my-conversation.mp3" + res, err := dg.FromURL(ctx, url, options)
143-169
: Correct minor typographical errors and improve clarity.Correct minor typographical errors in the code comments and improve the clarity of the sample code.
- fmt.Println("ERROR creating TTS connection:", err) + log.Println("ERROR creating TTS connection:", err)
171-188
: Correct minor typographical errors and improve clarity.Correct minor typographical errors in the code comments and improve the clarity of the sample code.
- fmt.Printf("FromStream failed. Err: %v\n", err) + log.Printf("FromStream failed. Err: %v\n", err)
199-203
: Ensure consistency in example links formatting.Ensure that the formatting of the example links is consistent and clear.
- - From a Microphone - [examples/speech-to-text/websocket/microphone](https://github.com/deepgram/deepgram-go-sdk/blob/main/examples/speech-to-text/websocket/microphone/main.go) - - From an HTTP Endpoint - [examples/speech-to-text/websocket/http](https://github.com/deepgram/deepgram-go-sdk/blob/main/examples/speech-to-text/websocket/http/main.go) + - From a Microphone - [examples/speech-to-text/websocket/microphone](https://github.com/deepgram/deepgram-go-sdk/blob/main/examples/speech-to-text/websocket/microphone/main.go) + - From an HTTP Endpoint - [examples/speech-to-text/websocket/http](https://github.com/deepgram/deepgram-go-sdk/blob/main/examples/speech-to-text/websocket/http/main.go)
13-16
: Ensure all quickstart links are functional.The following quickstart links in the README.md file are not functional because their corresponding section headers are missing:
- Speech-to-Text WebSocket (from Live/Streaming Audio) Quickstart
- Speech-to-Text REST (from PreRecorded Audio) Quickstart
Please add the missing sections or remove the links if they are not needed.
Analysis chain
Ensure quickstart links are functional.
Verify that the quickstart links are correctly set up and functional.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the quickstart links in the README.md file. # Test: Check if the quickstart links are functional. Expect: All links to be valid. grep -E '\(#speech-to-text-from-livestreaming-audio-quickstart\)|\(#speech-to-text-from-prerecorded-audio-quickstart\)|\(#text-to-speech-websocket-quickstart\)|\(#text-to-speech-rest-quickstart\)' README.mdLength of output: 594
Script:
#!/bin/bash # Description: Verify that the corresponding section headers exist in the README.md file. # Test: Check if the section headers for the quickstart links exist. grep -E '##\sSpeech-to-Text\sWebSocket\s\(from\sLive/Streaming\sAudio\)\sQuickstart|##\sSpeech-to-Text\sREST\s\(from\sPreRecorded\sAudio\)\sQuickstart|##\sText-to-Speech\sWebSocket\sQuickstart|##\sText-to-Speech\sREST\sQuickstart' README.mdLength of output: 317
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review due to trivial changes (4)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/GITHUB_WORKFLOW.md
62ae7e0
to
47bd2c4
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
47bd2c4
to
087d250
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (5)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
Additional comments not posted (8)
.github/CODE_OF_CONDUCT.md (8)
5-5
: LGTM! Heading level changed for consistency.The change to the heading level for "Being a Good Community Member" improves consistency with other major sections.
66-66
: LGTM! Heading level changed for consistency.The change to the heading level for "Additional rules for online spaces" improves consistency with other sections.
90-90
: LGTM! Heading level changed for consistency.The change to the heading level for "Enforcement & Reporting" improves consistency with other sections.
94-94
: LGTM! Heading level changed for consistency.The change to the heading level for "Enforcement Guidelines" improves consistency with the nesting structure of the document.
98-98
: LGTM! Heading level changed for consistency.The change to the heading level for "1. Correction" improves consistency with the nesting structure of the document.
104-104
: LGTM! Heading level changed for consistency.The change to the heading level for "2. Warning" improves consistency with the nesting structure of the document.
110-110
: LGTM! Heading level changed for consistency.The change to the heading level for "3. Temporary Ban" improves consistency with the nesting structure of the document.
116-116
: LGTM! Heading level changed for consistency.The change to the heading level for "4. Permanent Ban" improves consistency with the nesting structure of the document.
ae8143e
to
73b59a0
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
73b59a0
to
27efcbc
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
0671fab
to
db54827
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md (1 hunks)
- .github/CODE_CONTRIBUTIONS_GUIDE.md (1 hunks)
- .github/CODE_OF_CONDUCT.md (3 hunks)
- .github/CONTRIBUTING.md (1 hunks)
- .github/GITHUB_WORKFLOW.md (1 hunks)
- README.md (6 hunks)
Files skipped from review as they are similar to previous changes (6)
- .github/BRANCH_AND_RELEASE_PROCESS.md
- .github/CODE_CONTRIBUTIONS_GUIDE.md
- .github/CODE_OF_CONDUCT.md
- .github/CONTRIBUTING.md
- .github/GITHUB_WORKFLOW.md
- README.md
db54827
to
71ee4e0
Compare
Proposed changes
This PR explicitly (and hopefully without any ambiguity) defines:
CONTRIBUTING.md
landing page to include references to the following pages below:CODE_CONTRIBUTIONS_GUIDE.md
describes how someone can setup their environment/laptop/desktop for this project to contributeGITHUB_WORKFLOW.md
describes the code contribution workflow for ALL individuals (admin, project maintainer, any Deepgram employee contributor, 3rd party/external contributor, etc). We all follow the same process.BRANCH_AND_RELEASE_PROCESS.md
describes the branch and release process for this projectOther fixes:
CODE_OF_CONDUCT.md
had a number of markdown errors being flagged by the markdown linterTypes of changes
What types of changes does your code introduce to the community Go SDK?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
NA
Summary by CodeRabbit
Documentation
New Features