From 35cf40cc316be3bf72f8154a5b08c4fd438592fc Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:56:29 +0200 Subject: [PATCH 1/6] pioarduino (#43) * Change zip file creation to tar.xz format --- .github/workflows/dangerjs.yml | 27 ---------- .github/workflows/docker.yml | 87 ------------------------------ .github/workflows/release_zips.yml | 17 +++--- package.json | 27 ++++++++++ version.txt | 1 + 5 files changed, 36 insertions(+), 123 deletions(-) delete mode 100644 .github/workflows/dangerjs.yml delete mode 100644 .github/workflows/docker.yml create mode 100644 package.json create mode 100644 version.txt diff --git a/.github/workflows/dangerjs.yml b/.github/workflows/dangerjs.yml deleted file mode 100644 index 07871a79a9a0..000000000000 --- a/.github/workflows/dangerjs.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: DangerJS Pull Request review - -on: - pull_request_target: - types: [opened, edited, reopened, synchronize] - -permissions: - pull-requests: write - contents: write - -jobs: - pull-request-style-linter: - runs-on: ubuntu-latest - steps: - - name: Check out PR head - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - - - name: DangerJS pull request linter - uses: espressif/shared-github-dangerjs@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - instructions-gitlab-mirror: 'true' - instructions-contributions-file: 'CONTRIBUTING.md' - instructions-cla-link: 'https://cla-assistant.io/espressif/esp-idf' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 88deb00f9b46..000000000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: docker - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - -on: - push: - branches: - - 'master' - - 'release/*' - tags: - - 'v*.*' - -env: - # Platforms to build the image for - BUILD_PLATFORMS: linux/amd64,linux/arm64 - DOCKERHUB_REPO: ${{ github.repository_owner }}/idf - -jobs: - docker: - # Disable the job in forks - if: ${{ github.repository_owner == 'espressif' }} - - runs-on: ubuntu-latest - steps: - # Depending on the branch/tag, set CLONE_BRANCH_OR_TAG variable (used in the Dockerfile - # as a build arg) and TAG_NAME (used when tagging the image). - # - # The following 3 steps cover the alternatives (tag, release branch, master branch): - - name: Set variables (tags) - if: ${{ github.ref_type == 'tag' }} - run: | - echo "CLONE_BRANCH_OR_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV - echo "TAG_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV - - name: Set variables (release branches) - if: ${{ github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }} - run: | - echo "CLONE_BRANCH_OR_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV - echo "TAG_NAME=release-${GITHUB_REF_NAME##release/}" >> $GITHUB_ENV - - name: Set variables (main branch) - if: ${{ github.ref_type == 'branch' && github.ref_name == 'master' }} - run: | - echo "CLONE_BRANCH_OR_TAG=master" >> $GITHUB_ENV - echo "TAG_NAME=latest" >> $GITHUB_ENV - - # Display the variables set above, just in case. - - name: Check variables - run: | - echo "CLONE_BRANCH_OR_TAG: $CLONE_BRANCH_OR_TAG" - echo "CHECKOUT_REF: $CHECKOUT_REF" - echo "TAG_NAME: $TAG_NAME" - - # The following steps are the standard boilerplate from - # https://github.com/marketplace/actions/build-and-push-docker-images - - name: Checkout - uses: actions/checkout@v3 - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU for multiarch builds - uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: tools/docker - push: true - tags: ${{ env.DOCKERHUB_REPO }}:${{ env.TAG_NAME }} - platforms: ${{ env.BUILD_PLATFORMS }} - build-args: | - IDF_CLONE_URL=${{ github.server_url }}/${{ github.repository }}.git - IDF_CLONE_BRANCH_OR_TAG=${{ env.CLONE_BRANCH_OR_TAG }} - - - name: Update Docker Hub repository description (master branch) - if: ${{ github.ref_type == 'branch' && github.ref_name == 'master' }} - uses: peter-evans/dockerhub-description@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - # Token based authentication is not supported here: - # https://github.com/peter-evans/dockerhub-description/issues/10 - # https://github.com/docker/roadmap/issues/115#issuecomment-891694974 - password: ${{ secrets.DOCKERHUB_PASSWORD }} - repository: ${{ env.DOCKERHUB_REPO }} - readme-filepath: ./tools/docker/README.md diff --git a/.github/workflows/release_zips.yml b/.github/workflows/release_zips.yml index bc2bf7b5c092..9d4be8aca6f2 100644 --- a/.github/workflows/release_zips.yml +++ b/.github/workflows/release_zips.yml @@ -1,4 +1,4 @@ -name: Create zip file with recursive source clone for release +name: Create tar.xz archive with recursive source clone for release on: push: @@ -7,12 +7,11 @@ on: jobs: release_zips: - name: Create release zip file - runs-on: ubuntu-24.04 + name: Create release tar.xz archive + runs-on: ubuntu-latest steps: - - name: Create a recursive clone source zip - uses: espressif/release-zips-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - release_project_name: ESP-IDF - git_extra_args: --shallow-since="1 year ago" + - name: Create a recursive clone source and stripped archive + uses: Jason2866/github-actions/release_zips@tar_xz + env: + RELEASE_PROJECT_NAME: ESP-IDF + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json new file mode 100644 index 000000000000..4e64e1fe01fc --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "framework-espidf", + "version": "3.50500", + "description": "Espressif IoT Development Framework for ESP32x based chip series", + "keywords": [ + "framework", + "esp32", + "esp32s2", + "esp32s3", + "esp32c2", + "esp32c3", + "esp32c5", + "esp32c6", + "esp32c61", + "esp32h2", + "esp32h21", + "esp32h4", + "esp32p4", + "espressif" + ], + "homepage": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/", + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/espressif/esp-idf" + } +} diff --git a/version.txt b/version.txt new file mode 100644 index 000000000000..0a2584b31c3e --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +5.5.0.20250510 From 65a27a8774ee2153dfcc414d4af2fc77482ad320 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:57:48 +0200 Subject: [PATCH 2/6] Update version from 5.5.0.20250510 to 6.0.0 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 0a2584b31c3e..09b254e90c61 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -5.5.0.20250510 +6.0.0 From 623346570a3869b0985833bbde6d6b2f06f4962c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:59:13 +0200 Subject: [PATCH 3/6] Update version from 3.50500 to 3.60000 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e64e1fe01fc..bf0e12551260 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "framework-espidf", - "version": "3.50500", + "version": "3.60000", "description": "Espressif IoT Development Framework for ESP32x based chip series", "keywords": [ "framework", From 0c24f969f33ebb03a38de771feba74aa0b60e863 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 27 Sep 2025 18:16:39 +0200 Subject: [PATCH 4/6] Update version to 6.0.0.250926 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 09b254e90c61..5aba7e48bb64 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -6.0.0 +6.0.0.250926 From 8874108044aa884a2748ba17d2fbcccb756d2b48 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:48:24 +0200 Subject: [PATCH 5/6] Update GitHub Action to use xz_refac_clone --- .github/workflows/release_zips.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_zips.yml b/.github/workflows/release_zips.yml index 9d4be8aca6f2..dd53de7db85a 100644 --- a/.github/workflows/release_zips.yml +++ b/.github/workflows/release_zips.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Create a recursive clone source and stripped archive - uses: Jason2866/github-actions/release_zips@tar_xz + uses: Jason2866/github-actions/release_zips@xz_refac_clone env: RELEASE_PROJECT_NAME: ESP-IDF GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 73fd9e772b91ad1690e82bc9f6b62e709a8b702f Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:49:17 +0200 Subject: [PATCH 6/6] Update version to 6.0.0.251001 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 5aba7e48bb64..fe10ee49a5a2 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -6.0.0.250926 +6.0.0.251001