From 5d29adf29c1e2bd497da5468f1d622c83bdea190 Mon Sep 17 00:00:00 2001 From: insleker Date: Mon, 4 May 2026 09:23:29 +0800 Subject: [PATCH 1/3] fix: rename ethercat package to igh-ethercat --- README.md | 3 +-- recipes/{ethercat => igh-ethercat}/all/CMakeLists.txt | 0 recipes/{ethercat => igh-ethercat}/all/conandata.yml | 0 recipes/{ethercat => igh-ethercat}/all/conanfile.py | 4 ++-- .../all/test_package/CMakeLists.txt | 0 .../{ethercat => igh-ethercat}/all/test_package/conanfile.py | 0 .../all/test_package/test_package.c | 0 7 files changed, 3 insertions(+), 4 deletions(-) rename recipes/{ethercat => igh-ethercat}/all/CMakeLists.txt (100%) rename recipes/{ethercat => igh-ethercat}/all/conandata.yml (100%) rename recipes/{ethercat => igh-ethercat}/all/conanfile.py (97%) rename recipes/{ethercat => igh-ethercat}/all/test_package/CMakeLists.txt (100%) rename recipes/{ethercat => igh-ethercat}/all/test_package/conanfile.py (100%) rename recipes/{ethercat => igh-ethercat}/all/test_package/test_package.c (100%) diff --git a/README.md b/README.md index 599e3eb..9d9302b 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,4 @@ The goal of this repo is provide some **non-official** recipes for libraries tha * bibliography: [conan-center-index](https://github.com/conan-io/conan-center-index/tree/master) * [audacity/conan-recipes](https://github.com/audacity/conan-recipes) -* [bkinnightskytw/ethercat](https://gitlab.com/bkinnightskytw/ethercat/-/tree/backport/1.5.3-conan?ref_type=heads) - +* [bkinnightskytw/ethercat](https://gitlab.com/bkinnightskytw/ethercat/-/tree/backport/1.5.3-conan?ref_type=heads) (recipe: `igh-ethercat`) diff --git a/recipes/ethercat/all/CMakeLists.txt b/recipes/igh-ethercat/all/CMakeLists.txt similarity index 100% rename from recipes/ethercat/all/CMakeLists.txt rename to recipes/igh-ethercat/all/CMakeLists.txt diff --git a/recipes/ethercat/all/conandata.yml b/recipes/igh-ethercat/all/conandata.yml similarity index 100% rename from recipes/ethercat/all/conandata.yml rename to recipes/igh-ethercat/all/conandata.yml diff --git a/recipes/ethercat/all/conanfile.py b/recipes/igh-ethercat/all/conanfile.py similarity index 97% rename from recipes/ethercat/all/conanfile.py rename to recipes/igh-ethercat/all/conanfile.py index 6d9b668..464fba3 100644 --- a/recipes/ethercat/all/conanfile.py +++ b/recipes/igh-ethercat/all/conanfile.py @@ -5,8 +5,8 @@ from conan.tools.files import copy, get import os -class EthercatConan(ConanFile): - name = "ethercat" +class IghEthercatConan(ConanFile): + name = "igh-ethercat" license = "LGPL-2.1-only" author = "Florian Pose " url = "https://gitlab.com/etherlab.org/ethercat" diff --git a/recipes/ethercat/all/test_package/CMakeLists.txt b/recipes/igh-ethercat/all/test_package/CMakeLists.txt similarity index 100% rename from recipes/ethercat/all/test_package/CMakeLists.txt rename to recipes/igh-ethercat/all/test_package/CMakeLists.txt diff --git a/recipes/ethercat/all/test_package/conanfile.py b/recipes/igh-ethercat/all/test_package/conanfile.py similarity index 100% rename from recipes/ethercat/all/test_package/conanfile.py rename to recipes/igh-ethercat/all/test_package/conanfile.py diff --git a/recipes/ethercat/all/test_package/test_package.c b/recipes/igh-ethercat/all/test_package/test_package.c similarity index 100% rename from recipes/ethercat/all/test_package/test_package.c rename to recipes/igh-ethercat/all/test_package/test_package.c From c65d372dce51ddbe0fac13c43351dc14826555ba Mon Sep 17 00:00:00 2001 From: insleker Date: Mon, 4 May 2026 09:44:11 +0800 Subject: [PATCH 2/3] chore: ci add cache-apt-pkgs-action --- .github/workflows/cd.yml | 15 +++++---------- .github/workflows/ci.yml | 15 +++++---------- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 77de6a6..a7f832b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -62,16 +62,11 @@ jobs: uses: actions/checkout@v4 - name: Install host build tools - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - build-essential \ - gcc-14 \ - g++-14 \ - cmake \ - ninja-build \ - graphviz \ - crudini + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: build-essential gcc-14 g++-14 cmake ninja-build graphviz crudini + version: 1.0 + execute_install_scripts: true - name: Set gcc-14 as default run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc269cd..94700ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,16 +59,11 @@ jobs: uses: actions/checkout@v4 - name: Install host build tools - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - build-essential \ - gcc-14 \ - g++-14 \ - cmake \ - ninja-build \ - graphviz \ - crudini + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: build-essential gcc-14 g++-14 cmake ninja-build graphviz crudini + version: 1.0 + execute_install_scripts: true - name: Set gcc-14 as default run: | From ccaa28ea596a50c8d613d01e3b696d278f8af8f5 Mon Sep 17 00:00:00 2001 From: insleker Date: Mon, 4 May 2026 09:53:12 +0800 Subject: [PATCH 3/3] chore: add dependabot --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..df9e0c5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + groups: + github-actions: + patterns: + - "*" diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a7f832b..18b5f4a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,7 +18,7 @@ jobs: has_targets: ${{ steps.detect.outputs.has_targets }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -59,7 +59,7 @@ jobs: CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD || secrets.GITEA_TOKEN }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install host build tools uses: awalsh128/cache-apt-pkgs-action@latest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94700ed..9ca673f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: has_targets: ${{ steps.detect.outputs.has_targets }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -56,7 +56,7 @@ jobs: matrix: ${{ fromJson(needs.detect-targets.outputs.matrix) }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install host build tools uses: awalsh128/cache-apt-pkgs-action@latest