Skip to content

Improve README and security policy - #63

Merged
ccding merged 3 commits into
masterfrom
cong/improve-project-documentation
Jul 19, 2026
Merged

Improve README and security policy#63
ccding merged 3 commits into
masterfrom
cong/improve-project-documentation

Conversation

@ccding

@ccding ccding commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Modernize installation, CLI, library, protocol, and development documentation.
  • Replace retired GoDoc and Go Report Card references with Go Reference and GitHub Actions status.
  • Distinguish the current master API from the older tagged release so installation guidance matches the documented features.
  • Clarify STUN capabilities, NAT discovery limitations, RFC 3489 compatibility, and partial behavior results.
  • Replace the placeholder security policy with accurate release support, private reporting, response, scope, and safe-testing guidance.
  • Remove the obsolete Travis CI configuration now that GitHub Actions is the CI system of record.

Why

The existing README contains outdated tooling and installation guidance, conflates STUN with a complete UDP hole-punching solution, and does not fully explain server requirements. The existing security policy is GitHub's template text with unrelated example versions and no reporting channel.

Validation

  • Go formatting check
  • go mod tidy and go mod verify
  • go vet -mod=readonly ./...
  • staticcheck -checks=all ./...
  • Race-enabled, shuffled tests with 84.4% aggregate statement coverage
  • git diff --check

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the repository’s documentation by updating the README’s usage guidance and replacing the placeholder security policy with a project-specific SECURITY.md aligned with GitHub’s private reporting flow.

Changes:

  • Refresh README installation, CLI usage, library examples, and protocol/limitations explanations (including RFC references and server requirements).
  • Replace outdated badges/links (GoDoc/Go Report Card) with pkg.go.dev Go Reference and GitHub Actions status.
  • Introduce a concrete security policy covering supported versions, reporting, expectations, scope, and safe testing guidance.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
SECURITY.md Replaces template text with a tailored security policy (supported versions, private reporting, scope, response expectations).
README.md Updates badges and significantly expands/clarifies installation, CLI/library usage, NAT discovery limitations, and RFC references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment on lines +148 to +149
This snippet requires the standard library's `errors` package. A non-nil
behavior result may contain partial results when a later probe fails.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@ccding
ccding marked this pull request as ready for review July 19, 2026 13:28
@ccding
ccding merged commit 5fc6026 into master Jul 19, 2026
13 checks passed
@ccding
ccding deleted the cong/improve-project-documentation branch July 19, 2026 13:28
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.

2 participants