Include license in Go module - #123
Conversation
Add Apache 2.0 license text to the Go submodule so pkg.go.dev can display package documentation.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request adds ChangesProject Licensing
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This adds the Apache 2.0 license file needed for module licensing metadata without changing runtime behavior. The change is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🟢 Approval recommended
The change is limited to adding a standard license file in the correct Go module directory to address pkg.go.dev license detection.
Pull request overview
This PR adds an Apache 2.0 LICENSE file to the minipdf-go Go submodule so that the module archive published via the Go module proxy includes license metadata, enabling pkg.go.dev to show the module’s documentation and mark it as redistributable.
Changes:
- Add
minipdf-go/LICENSEcontaining the Apache 2.0 license text for the Go submodule.
File summaries
| File | Description |
|---|---|
| minipdf-go/LICENSE | Adds a submodule-local Apache 2.0 license file so pkg.go.dev can detect licensing for minipdf-go. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
minipdf-gosubmoduleContext
minipdf-go/v0.1.0is available from the Go module proxy, but pkg.go.dev hides its documentation because repository-root license files are not included in a submodule archive. After merge, aminipdf-go/v0.1.1tag will publish the corrected module archive.Validation
git diff --checkSummary by CodeRabbit