From 11a01b36f92ad38ab3ee7da7b477e5cbefe7512e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 23:27:54 +0000 Subject: [PATCH] Improve clarity in CONAN.md with concrete examples and better explanations Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- docs/CONAN.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/CONAN.md b/docs/CONAN.md index 67ee970..ac728ae 100644 --- a/docs/CONAN.md +++ b/docs/CONAN.md @@ -34,21 +34,26 @@ conan remote add kernelcenter https://johndoe6345789.github.io/kernelcenter/ # List your configured remotes to verify conan remote list - -# Set KernelCenter as the primary remote (optional) -conan remote enable kernelcenter ``` ### Using Packages from KernelCenter -Once the remote is added, you can install packages from it: +Once the remote is added, you can use packages from it by adding them to your `conanfile.py` or `conanfile.txt`: +**In conanfile.py:** +```python +requires = ( + "mesa-radv/24.0.0", # Will be fetched from KernelCenter +) +``` + +**Or search for available packages:** ```bash # Search for available packages conan search "*" -r=kernelcenter -# Install specific packages (Conan 2.x syntax) -conan install --requires=/ -r=kernelcenter +# Example: Search for specific package +conan search "mesa-radv/*" -r=kernelcenter ``` ### Repository Information @@ -56,9 +61,10 @@ conan install --requires=/ -r=kernelcenter You can view detailed information about the KernelCenter repository: ```bash -# Fetch repository information +# Fetch repository information using curl curl https://johndoe6345789.github.io/kernelcenter/ -# or + +# Alternative: Using wget wget -q -O - https://johndoe6345789.github.io/kernelcenter/ ```