Skip to content

kt: SSH clones, run mkdistgitdiff.py with kt's Python, keep remote branch last with -e - #90

Open
hailmo-ciq wants to merge 3 commits into
mainlinefrom
hailmo/kt-ssh-and-python
Open

hailmo-ciq wants to merge 3 commits into
mainlinefrom
hailmo/kt-ssh-and-python

Conversation

@hailmo-ciq

@hailmo-ciq hailmo-ciq commented Oct 29, 2026 •

Copy link
Copy Markdown

Some small fix ups based on my onboarding.

  • kt: clone kernel-src-tree and kernel-src-tree-tools over SSH

  • kt content-release: run mkdistgitdiff.py with the current interpreter
    mkdistgitdiff.py's shebang is #!/usr/bin/python, which may not exist or
    may lack kt's dependencies. Run it with sys.executable instead.

  • kt checkout: put -e extra before the remote branch name
    GHA triggers on branches matching *_ (e.g. *ciqlts9_2).
    Appending the -e value at the end ({user}ciqlts9_2_CVE-...) broke
    that, so build the branch as {user}
    instead.

Claude (Workbench chat) and others added 3 commits October 27, 2026 18:08
mkdistgitdiff.py's shebang is #!/usr/bin/python, which may not exist or
may lack kt's dependencies. Run it with sys.executable instead.
GHA triggers on branches matching *_<remote branch> (e.g. *_ciqlts9_2).
Appending the -e value at the end ({user}_ciqlts9_2_CVE-...) broke
that, so build the branch as {user}_<extra>_<remote branch> instead.
Copilot AI balanced review requested due to automatic review settings October 29, 2026 20:49

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.

🟢 Approval recommended

No active review issues block the repository access, release-script execution, and branch-naming changes.

No open issues 🎉

What changed in this PR

This PR updates kt repository access, content-release script execution, and checkout branch naming to preserve compatibility with GitHub Actions branch filters.

Changes:

  • Clone the kernel source and tools repositories over SSH.
  • Run mkdistgitdiff.py with kt’s current Python interpreter.
  • Place checkout -e values before the remote branch name, keeping that name as the suffix.
File Description
kt/​ktlib/​kernel_workspace.py Updates source and dist branch naming to keep the remote branch last.
kt/​data/​kernels.yaml Switches kernel source and tools clone URLs to SSH.
kt/​commands/​content_release/​impl.py Invokes mkdistgitdiff.py using sys.executable.
kt/​commands/​checkout/​command.py Documents the updated branch naming for -e.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants