Skip to content

Conversation

@dkruces
Copy link

@dkruces dkruces commented Oct 22, 2025

We always clone a full repository. This is counter productive and wasteful. Allow users to specify that they are using kpd to help test patches for a git tree which we should expect a mirror on a target mirror path. We simply check for a mirror for you git tree and if present we use it.

So for example, all kdevops enterprise deployments can easily profit from this as kdevops has support to mirror all target git trees it supports under /mirror/ through an NFS export for clients. And so small thing guests can be used for kpd instances, which can leverage this NFS export.

This allows kpd to be run on smaller guests with less storage needs. This should allow more than one kpd instance to run on small guests too.

Generated-by: Claude AI

@dkruces
Copy link
Author

dkruces commented Oct 22, 2025

Recreate PR (#16) from @mcgrof as per indicated here:
#16 (comment)

We are trying to use this for linux-modules together with kdevops. Saving storage is a must.

We always clone a full repository. This is counter productive and
wasteful. Allow users to specify that they are using kpd to help
test patches for a git tree which we should expect a mirror on
a target mirror path. We simply check for a mirror for you git tree
and if present we use it.

So for example, all kdevops enterprise deployments can easily
profit from this as kdevops has support to mirror all target git
trees it supports under /mirror/ through an NFS export for clients.
And so small thing guests can be used for kpd instances, which
can leverage this NFS export.

This allows kpd to be run on smaller guests with less storage needs.
This should allow more than one kpd instance to run on small guests
too.

Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
Signed-off-by: Daniel Gomez <[email protected]>
@dkruces dkruces force-pushed the 20250709-add-mirror-support-v2-blackfix branch from f5e6c7a to 0905dd1 Compare October 22, 2025 11:33
@mcgrof
Copy link
Contributor

mcgrof commented Oct 23, 2025

Recreate PR (#16) from @mcgrof as per indicated here: #16 (comment)

We are trying to use this for linux-modules together with kdevops. Saving storage is a must.

Thanks for beating me to it!

@theihor
Copy link
Contributor

theihor commented Oct 23, 2025

Hi @dkruces @mcgrof, thank you for working on this.

Could you please check the CI failures? It appears to be an issue with the new tests.

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.

3 participants