Skip to content

Conversation

@keyboard-slayer
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

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 introduces a port system for managing external dependencies that need custom build procedures. The system allows fetching sources from Git repositories, applying patches, and executing custom build scripts to produce library or executable artifacts.

  • Adds Port component type with support for fetching, preparing, building, and packaging external dependencies
  • Integrates ports into the build system with a new ck-port rule and tool
  • Implements port discovery and loading from a dedicated ports/ directory with Python-based build scripts

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 13 comments.

File Description
cutekit/const.py Adds PORTS_DIR constant for the ports directory location
cutekit/model.py Implements Port and PortScope classes, port loading logic, and integration with the install command
cutekit/rules.py Adds ck-port build rule for executing port build scripts
cutekit/builder.py Integrates ports into the build system with port execution tool and library/executable handling

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

cutekit/model.py Outdated
Comment on lines 813 to 828
class PortScope:
srcDir: Path
destDir: Path
destFile: Path
cwd: Path

Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

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

The PortScope class lacks documentation. As a new public data structure used in the port system API, it should have a docstring explaining its purpose and the meaning of each field.

Copilot uses AI. Check for mistakes.
@keyboard-slayer
Copy link
Member Author

TL;DR of copilot: I should make some docstrings

@keyboard-slayer keyboard-slayer force-pushed the kbd-port branch 2 times, most recently from 257bccf to a6f4c6d Compare December 29, 2025 20:45
@keyboard-slayer keyboard-slayer marked this pull request as draft December 29, 2025 21:21
@keyboard-slayer keyboard-slayer force-pushed the kbd-port branch 14 times, most recently from 2a39ad8 to b507aae Compare December 30, 2025 19:26
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