kt/data/kernels.yaml: Add kernel-src-tree-tools repo#69
Merged
roxanan1996 merged 2 commits intoMay 21, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
Adds the kernel-src-tree-tools repository to kt’s configured common repos and adjusts kt setup to continue processing other repos even if a clone/pull fails (e.g., due to local unstaged changes causing pull --rebase to fail).
Changes:
- Add
kernel-src-tree-toolstokt/data/kernels.yamlso it’s cloned/updated duringkt setup. - Wrap git clone/pull errors in a
RepoInfoExceptionfromRepoInfo.setup_repo(). - Catch
RepoInfoExceptioninkt setupand log an error instead of aborting the whole setup.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
kt/ktlib/repo.py |
Adds RepoInfoException and wraps clone/update git failures so callers can handle them. |
kt/data/kernels.yaml |
Registers kernel-src-tree-tools under common_repos. |
kt/commands/setup/impl.py |
Catches repo setup/update failures and continues with remaining repos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
459cd8e to
c436a7c
Compare
So that it will be cloned/updated during kt setup. Because users will probably have local unstaged changes, the current git pull --rebase will fail. The error is caught but kt setup will continue to clone/update the rest of the repos. Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
c436a7c to
a99af98
Compare
There is no override parameter. Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
shreeya-patel98
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kt/data/kernels.yaml: Add kernel-src-tree-tools repo
So that it will be cloned/updated during kt setup. Because users will probably have local unstaged changes, the current git pull --rebase will fail. The error is caught but kt setup will continue to clone/update the rest of the repos.
While at it, update dostring for setup_repo that was not up to date.