Skip to content

feat: build to bundle README.md in .kpar (not configurable)#239

Merged
consideRatio merged 1 commit intosensmetry:mainfrom
consideRatio:pr/simple-readme
Apr 1, 2026
Merged

feat: build to bundle README.md in .kpar (not configurable)#239
consideRatio merged 1 commit intosensmetry:mainfrom
consideRatio:pr/simple-readme

Conversation

@consideRatio
Copy link
Copy Markdown
Collaborator

@consideRatio consideRatio commented Mar 19, 2026

If a README.md file exists at the project root, it is automatically included in the .kpar archive. This allows package indexes to display README content on package pages. If no README.md exists, the build proceeds normally.

The README.md inclusion, or file choice, isn't configurable in this PR. It just relies on detecting the hardcoded path. I tried it in #217 but I found that when configuration fields arrived, in combination with bindings and workspaces, the complexity exploded and I want to do more smaller PRs instead of a massive one.

By getting this to land first, we can get to verify the sysand client and index server interactions.

@consideRatio consideRatio changed the title feat: bundle README.md into .kpar archives during build feat: build to bundle README.md in .kpar (not configurable) Mar 19, 2026
@consideRatio consideRatio force-pushed the pr/simple-readme branch 2 times, most recently from f30f242 to ed32baa Compare March 31, 2026 12:53
@consideRatio
Copy link
Copy Markdown
Collaborator Author

Thank you @andrius-puksta-sensmetry for reviewing!! I've updated things based on your feedback and rebased this branch on main.

If a README.md file exists at the project root, it is automatically
included in the .kpar archive. This allows package indexes to display
README content on package pages. If no README.md exists, the build
proceeds normally.

Closes sensmetry#86

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Signed-off-by: Erik Sundell <erik.sundell+2025@sensmetry.com>
Copy link
Copy Markdown
Collaborator

@andrius-puksta-sensmetry andrius-puksta-sensmetry left a comment

Choose a reason for hiding this comment

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

Adding a new method to ProjectRead that is only implemented by one type is not elegant, but without specializing KPAR building to take specific project types, this is the best we get...

@consideRatio consideRatio merged commit 915fc5c into sensmetry:main Apr 1, 2026
51 checks passed
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