public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2024-04-18 18:04 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2024-04-18 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e037144bc1135c99f9bbc8904be2da779ad9acbc
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Apr 18 18:03:12 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Apr 18 18:03:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e037144b

emails.yml: disable explicit "dev" checkout

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 6bdef241e2..d7465dc7b4 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -20,7 +20,6 @@ jobs:
       - name: Checkout repo
         uses: actions/checkout@v4
         with:
-          ref: dev
           fetch-depth: 0
 
       - name: Get compare commit


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2024-10-26 13:58 Takuya Wakazono
  0 siblings, 0 replies; 25+ messages in thread
From: Takuya Wakazono @ 2024-10-26 13:58 UTC (permalink / raw
  To: gentoo-commits

commit:     257912c3280573204a9f4b0ff83ebeef8ed31e7a
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Oct 26 13:48:17 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Oct 26 13:48:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=257912c3

.github/workflows: notify recovery after schedule event

Notify recovery on IRC even after a faulure in the schedule event.
Schedule events are recognized as default branch events, so we can't
filter by the dev branch to get last status.

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .github/workflows/pkgcheck.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index a5555afd3..df2ebea8a 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -15,7 +15,6 @@ jobs:
       - name: Prepare job
         run: |
           LAST_STATUS=$(gh run list -R ${GITHUB_REPOSITORY} \
-            --branch=dev \
             --workflow=pkgcheck.yml \
             --status=completed \
             --json=event,conclusion \


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2024-04-12 12:37 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2024-04-12 12:37 UTC (permalink / raw
  To: gentoo-commits

commit:     77206897e75f99a5806ef804a82124ee2bcb2dd9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Apr 12 12:34:28 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Apr 12 12:37:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77206897

ci: bump actions

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/duplicates.yml | 2 +-
 .github/workflows/emails.yml     | 6 +++---
 .github/workflows/pkgcheck.yml   | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index bfefcb9922..d3816a20a0 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -27,7 +27,7 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       - name: Check out repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: dev
       - name: Setup master gentoo repository

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index bff8c8fecc..6bdef241e2 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -13,12 +13,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Setup Python
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: 3.x
 
       - name: Checkout repo
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: dev
           fetch-depth: 0
@@ -41,7 +41,7 @@ jobs:
 
       - name: Get changed files
         if: ${{ fromJSON(env.is_commit_valid) }}
-        uses: tj-actions/changed-files@v37
+        uses: tj-actions/changed-files@v44
         with:
           base_sha: ${{ env.last_successful_commit }}
           write_output_files: true

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 18911e4fe3..a5555afd36 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -27,7 +27,7 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       - name: Check out repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: dev
       - name: Run pkgcheck


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-06-14 10:14 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-06-14 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     872f11e38d73b9a179a67e34f2da861d6015e3e4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun 14 10:13:59 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun 14 10:14:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=872f11e3

.github/workflows/duplicates.yml: inform recoveries

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/duplicates.yml | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index 20a593e50..bfefcb992 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -12,7 +12,22 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - name: Prepare job
+        run: |
+          LAST_STATUS=$(gh run list -R ${GITHUB_REPOSITORY} \
+            --branch=dev \
+            --workflow=duplicates.yml \
+            --status=completed \
+            --json=event,conclusion \
+            --jq='first(.[] | select(.event != "pull_request")).conclusion'
+          )
+          IRC_NOTIFY=${{ github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
+          echo "last_status=${LAST_STATUS}" >> "${GITHUB_ENV}"
+          echo "irc_notify=${IRC_NOTIFY}" >> "${GITHUB_ENV}"
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      - name: Check out repository
+        uses: actions/checkout@v3
         with:
           ref: dev
       - name: Setup master gentoo repository
@@ -21,11 +36,19 @@ jobs:
       - name: Check for duplicates
         run: |
           ./scripts/check-duplicates.sh
-      - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
+      - name: Inform failure on IRC
+        if: ${{ failure() && env.last_status == 'success' && fromJSON(env.irc_notify) }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"
           server: "irc.libera.chat"
           nickname: "github-ci"
           message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
+      - name: Inform recovery on IRC
+        if: ${{ success() && env.last_status != 'success' && fromJSON(env.irc_notify) }}
+        uses: rectalogic/notify-irc@v1
+        with:
+          channel: "#gentoo-guru"
+          server: "irc.libera.chat"
+          nickname: "github-ci"
+          message: CI on job ${{ github.workflow }} is green again. Thanks!


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-05-18  8:21 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-05-18  8:21 UTC (permalink / raw
  To: gentoo-commits

commit:     69cbd3bb1b006841e041fd816628c11c6611c168
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu May 18 08:09:21 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu May 18 08:18:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69cbd3bb

pkgcheck.yml: notify on recoveries too

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/pkgcheck.yml | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 32ce5ba8b..18911e4fe 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -12,18 +12,41 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - name: Prepare job
+        run: |
+          LAST_STATUS=$(gh run list -R ${GITHUB_REPOSITORY} \
+            --branch=dev \
+            --workflow=pkgcheck.yml \
+            --status=completed \
+            --json=event,conclusion \
+            --jq='first(.[] | select(.event != "pull_request")).conclusion'
+          )
+          IRC_NOTIFY=${{ github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
+          echo "last_status=${LAST_STATUS}" >> "${GITHUB_ENV}"
+          echo "irc_notify=${IRC_NOTIFY}" >> "${GITHUB_ENV}"
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      - name: Check out repository
+        uses: actions/checkout@v3
         with:
           ref: dev
       - name: Run pkgcheck
         uses: pkgcore/pkgcheck-action@v1
         with:
           args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
-      - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
+      - name: Inform failure on IRC
+        if: ${{ failure() && env.last_status == 'success' && fromJSON(env.irc_notify) }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"
           server: "irc.libera.chat"
           nickname: "github-ci"
           message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
+      - name: Inform recovery on IRC
+        if: ${{ success() && env.last_status != 'success' && fromJSON(env.irc_notify) }}
+        uses: rectalogic/notify-irc@v1
+        with:
+          channel: "#gentoo-guru"
+          server: "irc.libera.chat"
+          nickname: "github-ci"
+          message: CI on job ${{ github.workflow }} is green again. Thanks!


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-23 14:54 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-23 14:54 UTC (permalink / raw
  To: gentoo-commits

commit:     8784e6fe4b907b60267aa7115f62cf2e17fde970
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 23 14:39:38 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 23 14:52:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8784e6fe

.github/workflows/emails.yml: switch from archived action

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 7ce288f2a..159483328 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -12,12 +12,10 @@ jobs:
   bugzilla:
     runs-on: ubuntu-latest
     steps:
-      - uses: nrwl/last-successful-commit-action@v1
-        id: last_successful_commit
+      - name: Setup Python
+        uses: actions/setup-python@v4
         with:
-          branch: 'dev'
-          workflow_id: 'emails.yml'
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          python-version: 3.x
 
       - name: Checkout repo
         uses: actions/checkout@v3
@@ -25,31 +23,36 @@ jobs:
           ref: dev
           fetch-depth: 0
 
-      - uses: actions/setup-python@v3
-        with:
-          python-version: 3.x
-
-      - name: Validate compare commit
+      - name: Get compare commit
         run: |
-          if git rev-parse --verify "${{ steps.last_successful_commit.outputs.commit_hash }}^{commit}"; then
-            echo "is_commit_valid=true" >> ${GITHUB_ENV}
+          COMMIT=$(gh run list -R ${GITHUB_REPOSITORY} --branch=dev --workflow=emails.yml --status=success --limit=1 --json=headSha --jq=".[0].headSha")
+          echo "last_successful_commit=${COMMIT}" >> "${GITHUB_ENV}"
+          echo "Workflow last succeeded on commit ${COMMIT:0:7}"
+
+          if git rev-parse --verify "${COMMIT}^{commit}"; then
+            echo -e "\033[92m\u2713 ${COMMIT:0:7} points to a valid commit"
+            VALID=true
           else
-            echo "is_commit_valid=false" >> ${GITHUB_ENV}
+            echo -e "\033[91m\u2717 ${COMMIT:0:7} doesn't point to a valid commit"
+            VALID=false
           fi
+          echo "is_commit_valid=${VALID}" >> "${GITHUB_ENV}"
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Get changed files
-        id: changed-files
         if: ${{ fromJSON(env.is_commit_valid) }}
         uses: tj-actions/changed-files@v35
         with:
-          base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }}
+          base_sha: ${{ env.last_successful_commit }}
+          write_output_files: true
           files: |
             **/metadata.xml
 
-      - name: Check Emails against bugzilla
+      - name: Check emails against Bugzilla
         if: ${{ fromJSON(env.is_commit_valid) }}
         run: |
-          python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }}
+          python ./scripts/email-checker.py < .github/outputs/all_changed_files.txt
 
       - name: Inform on IRC
         if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-23 14:14 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-23 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     03d995f606c333b0bc0f69e1211e17cff47ac108
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 23 13:52:24 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 23 14:13:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03d995f6

.github/workflows/emails.yml: clone full repo

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index f03ca57dd..7ce288f2a 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -19,31 +19,35 @@ jobs:
           workflow_id: 'emails.yml'
           github_token: ${{ secrets.GITHUB_TOKEN }}
 
-      - name: Checkout compare ref
-        uses: actions/checkout@v3
-        with:
-          ref: ${{ steps.last_successful_commit.outputs.commit_hash }}
-
-      - run: git submodule deinit --all
-
-      - name: Checkout code
+      - name: Checkout repo
         uses: actions/checkout@v3
         with:
           ref: dev
+          fetch-depth: 0
 
       - uses: actions/setup-python@v3
         with:
           python-version: 3.x
 
+      - name: Validate compare commit
+        run: |
+          if git rev-parse --verify "${{ steps.last_successful_commit.outputs.commit_hash }}^{commit}"; then
+            echo "is_commit_valid=true" >> ${GITHUB_ENV}
+          else
+            echo "is_commit_valid=false" >> ${GITHUB_ENV}
+          fi
+
       - name: Get changed files
         id: changed-files
-        uses: tj-actions/changed-files@v18.6
+        if: ${{ fromJSON(env.is_commit_valid) }}
+        uses: tj-actions/changed-files@v35
         with:
           base_sha: ${{ steps.last_successful_commit.outputs.commit_hash }}
           files: |
             **/metadata.xml
 
       - name: Check Emails against bugzilla
+        if: ${{ fromJSON(env.is_commit_valid) }}
         run: |
           python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }}
 


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-23 12:24 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-23 12:24 UTC (permalink / raw
  To: gentoo-commits

commit:     6e33d8cf12c9d7cf5ad3a15577b718778cbab497
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 23 12:23:00 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 23 12:23:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e33d8cf

.github/workflows: deinit git submodules (if any)

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index c60280e56..f03ca57dd 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -24,7 +24,7 @@ jobs:
         with:
           ref: ${{ steps.last_successful_commit.outputs.commit_hash }}
 
-      - run: rm -f .gitmodules
+      - run: git submodule deinit --all
 
       - name: Checkout code
         uses: actions/checkout@v3


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-23 12:15 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-23 12:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7712b364b93a98f53ce949565731629b570124a3
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 23 12:09:23 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 23 12:14:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7712b364

.github/workflows: remove .gitmodules

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 77fbe9bcb..c60280e56 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -23,17 +23,17 @@ jobs:
         uses: actions/checkout@v3
         with:
           ref: ${{ steps.last_successful_commit.outputs.commit_hash }}
-          submodules: true
+
+      - run: rm -f .gitmodules
 
       - name: Checkout code
         uses: actions/checkout@v3
         with:
           ref: dev
-          submodules: true
 
       - uses: actions/setup-python@v3
         with:
-          python-version: '3.x'
+          python-version: 3.x
 
       - name: Get changed files
         id: changed-files


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-23 12:06 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-23 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     14ed45c186b01cb9736ffd8b9a0e1c7f7557b16c
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 23 12:04:37 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 23 12:04:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14ed45c1

.github/workflows: checkout submodules

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/emails.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 285effa1b..77fbe9bcb 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -12,7 +12,6 @@ jobs:
   bugzilla:
     runs-on: ubuntu-latest
     steps:
-
       - uses: nrwl/last-successful-commit-action@v1
         id: last_successful_commit
         with:
@@ -24,9 +23,13 @@ jobs:
         uses: actions/checkout@v3
         with:
           ref: ${{ steps.last_successful_commit.outputs.commit_hash }}
+          submodules: true
 
       - name: Checkout code
         uses: actions/checkout@v3
+        with:
+          ref: dev
+          submodules: true
 
       - uses: actions/setup-python@v3
         with:


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-04-20 15:20 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-04-20 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     eaf430a014bd8decbc1ea663fb13f74c0e192ee1
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Apr 20 15:18:09 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Apr 20 15:18:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaf430a0

.github/workflows: run CI on schedule

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/duplicates.yml | 9 +++++----
 .github/workflows/pkgcheck.yml   | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index e79bfe6ee..20a593e50 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -1,8 +1,8 @@
----
-
 name: duplicates
 
 on:
+  schedule:
+    - cron: '0 12 * * *'
   push:
     branches: [dev]
   pull_request:
@@ -13,15 +13,16 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
+        with:
+          ref: dev
       - name: Setup master gentoo repository
         run: |
           ./scripts/setup-master-gentoo.sh
       - name: Check for duplicates
         run: |
           ./scripts/check-duplicates.sh
-
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 665c96a9c..32ce5ba8b 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -1,8 +1,8 @@
----
-
 name: pkgcheck
 
 on:
+  schedule:
+    - cron: '0 12 * * *'
   push:
     branches: [dev]
   pull_request:
@@ -13,13 +13,14 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
+        with:
+          ref: dev
       - name: Run pkgcheck
         uses: pkgcore/pkgcheck-action@v1
         with:
           args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
-
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-03-31 15:28 Anna Vyalkova
  0 siblings, 0 replies; 25+ messages in thread
From: Anna Vyalkova @ 2023-03-31 15:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2751058f2ac3f1f49611572ff2499b0e424be115
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 31 15:28:03 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Mar 31 15:28:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2751058f

.github/workflows: notify on push only

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .github/workflows/duplicates.yml | 2 +-
 .github/workflows/emails.yml     | 2 +-
 .github/workflows/pkgcheck.yml   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index 8f6c0a47e..e79bfe6ee 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -21,7 +21,7 @@ jobs:
           ./scripts/check-duplicates.sh
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 2987863c6..285effa1b 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -45,7 +45,7 @@ jobs:
           python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }}
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 9289d258c..665c96a9c 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -19,7 +19,7 @@ jobs:
           args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
 
       - name: Inform on IRC
-        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
         uses: rectalogic/notify-irc@v1
         with:
           channel: "#gentoo-guru"


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-03-17 11:42 Arthur Zamarin
  0 siblings, 0 replies; 25+ messages in thread
From: Arthur Zamarin @ 2023-03-17 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     139f67b9b368c5f080f8af8fb93f7c61ef443687
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 11:40:56 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 11:41:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=139f67b9

ci: notify on IRC for failing ci

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/duplicates.yml | 9 +++++++++
 .github/workflows/emails.yml     | 9 +++++++++
 .github/workflows/pkgcheck.yml   | 9 +++++++++
 3 files changed, 27 insertions(+)

diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index 3c12675ac..8f6c0a47e 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -19,3 +19,12 @@ jobs:
       - name: Check for duplicates
         run: |
           ./scripts/check-duplicates.sh
+
+      - name: Inform on IRC
+        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        uses: rectalogic/notify-irc@v1
+        with:
+          channel: "#gentoo-guru"
+          server: "irc.libera.chat"
+          nickname: "github-ci"
+          message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 12f70387f..2987863c6 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -43,3 +43,12 @@ jobs:
       - name: Check Emails against bugzilla
         run: |
           python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }}
+
+      - name: Inform on IRC
+        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        uses: rectalogic/notify-irc@v1
+        with:
+          channel: "#gentoo-guru"
+          server: "irc.libera.chat"
+          nickname: "github-ci"
+          message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index be7ad363d..9289d258c 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -17,3 +17,12 @@ jobs:
         uses: pkgcore/pkgcheck-action@v1
         with:
           args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
+
+      - name: Inform on IRC
+        if: ${{ failure() && github.repository == 'gentoo/guru' }}
+        uses: rectalogic/notify-irc@v1
+        with:
+          channel: "#gentoo-guru"
+          server: "irc.libera.chat"
+          nickname: "github-ci"
+          message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2023-01-13 21:36 Julien Roy
  0 siblings, 0 replies; 25+ messages in thread
From: Julien Roy @ 2023-01-13 21:36 UTC (permalink / raw
  To: gentoo-commits

commit:     e820c2a6e2241abc7c8c67d5c7afe5f012f09629
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Jan 13 21:32:35 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jan 13 21:36:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e820c2a6

.github/workflows: re-enable some checks that are passing now
OldPackageUpdate: did some cleaning up, the bug previously mentioned
is resolved now, so packages in ::gentoo don't get flagged
MissingAccountIdentifier: this is fixed as well since the check passes globally

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index ff8473996..30afdc58c 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -14,4 +14,4 @@ jobs:
     - name: Run pkgcheck
       uses: pkgcore/pkgcheck-action@v1
       with:
-        args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate,-NonsolvableDepsInDev
+        args: --keywords=-RedundantVersion,-NonsolvableDepsInDev


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2022-10-07 15:39 Arthur Zamarin
  0 siblings, 0 replies; 25+ messages in thread
From: Arthur Zamarin @ 2022-10-07 15:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ee8549ebc34271b075019652032d30dd07b9081e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 15:38:40 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 15:38:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee8549eb

.github/workflows/pkgcheck.yml: Disable NonsolvableDepsInDev

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index e98762769..ff8473996 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -14,4 +14,4 @@ jobs:
     - name: Run pkgcheck
       uses: pkgcore/pkgcheck-action@v1
       with:
-        args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate
+        args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate,-NonsolvableDepsInDev


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2022-04-14 13:39 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2022-04-14 13:39 UTC (permalink / raw
  To: gentoo-commits

commit:     167fc257b6f751e75bf91d02ac642b95c380723d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 14 13:38:40 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 13:38:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=167fc257

emails.yml: only run on push to dev

everything that goes into master comes from dev anyway so no need
to run it twice

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .github/workflows/emails.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index e7791f558..966000a14 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -1,6 +1,10 @@
 name: emails
 
-on: [push, pull_request]
+on:
+  push:
+    branches: [ dev ]
+  pull_request:
+    branches: [ dev ]
 
 jobs:
   bugzilla:


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2022-04-06 18:07 Arthur Zamarin
  0 siblings, 0 replies; 25+ messages in thread
From: Arthur Zamarin @ 2022-04-06 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     575a6454796c52b05081e2feda4b4e2c68892d1e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 18:06:12 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 18:07:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=575a6454

Add new empty emails workflow

Added so we have a successful run for full workflow

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/emails.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
new file mode 100644
index 000000000..6871760f4
--- /dev/null
+++ b/.github/workflows/emails.yml
@@ -0,0 +1,10 @@
+name: emails
+
+on: [push, pull_request]
+
+jobs:
+  bugzilla:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout code
+      uses: actions/checkout@v2


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-02-18 11:23 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-02-18 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     b951fd74adf95c9cbceb18de3370c19f6d81fa0c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb 18 11:22:37 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Feb 18 11:22:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b951fd74

.github/workflows/pkgcheck.yml: re-add arguments

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index ed18a451..048f17c5 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -15,3 +15,5 @@ jobs:
 
     - name: Run pkgcheck
       uses: pkgcore/pkgcheck-action@v1
+      with:
+        args: --keywords=-RedundantVersion,-MissingAccountIdentifier,-OldPackageUpdate


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-02-18 11:15 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-02-18 11:15 UTC (permalink / raw
  To: gentoo-commits

commit:     ac5ddb0aecc63f1e9b9bb5c76c1cdbb9e074b17d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb 18 11:14:30 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Feb 18 11:14:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac5ddb0a

.github/workflows/pkgcheck.yml: test with the official pkgcore/pkgcheck-action

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index bf3af980..ed18a451 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -10,22 +10,8 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
-    - name: Set up Python 3.9
-      uses: actions/setup-python@v2
-      with:
-        python-version: 3.9
-    - name: Install pkgcheck
-      run: |
-        python -m pip install --upgrade pip
-        pip install pkgcheck
-    - name: Setup master gentoo repository
-      run: |
-        sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
-        wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
-        sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
-        sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
-        sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
-    - name: Test with pkgcheck
-      run: |
-        pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-MissingAccountIdentifier,-OldPackageUpdate
+    - name: Checkout code
+      uses: actions/checkout@v2
+
+    - name: Run pkgcheck
+      uses: pkgcore/pkgcheck-action@v1


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-02-16  7:52 Theo Anderson
  0 siblings, 0 replies; 25+ messages in thread
From: Theo Anderson @ 2021-02-16  7:52 UTC (permalink / raw
  To: gentoo-commits

commit:     3f8187117d046f18624d46594501a7a8fdfbd76c
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Tue Feb 16 07:51:35 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Tue Feb 16 07:51:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f818711

.github: [pkgcheck] ignore OldPackageUpdate checks

These updates are used for packages which have moved from ::guru
 to ::gentoo under a different category/name.
Pkgcheck only looks for the updated package within ::guru even
 if it still exists in ::gentoo

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 48527c88..bf3af980 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -28,4 +28,4 @@ jobs:
         sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
     - name: Test with pkgcheck
       run: |
-        pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-MissingAccountIdentifier
+        pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-MissingAccountIdentifier,-OldPackageUpdate


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-01-29 10:59 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-01-29 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     18909c1ca535d760405b1ecf74488967d7dd9230
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Jan 29 10:58:19 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Jan 29 10:58:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18909c1c

.github/workflows/pkgcheck.yml: use --keywords instead of --checks to

only skip the problematic output of the AcctCheck instead of the whole check

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 188f7d53..48527c88 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -28,4 +28,4 @@ jobs:
         sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
     - name: Test with pkgcheck
       run: |
-        pkgcheck scan --exit --checks=-RedundantVersionCheck,-VisibilityCheck,-AcctCheck
+        pkgcheck scan --exit --checks=-RedundantVersionCheck --keywords=-MissingAccountIdentifier


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-01-28 11:01 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-01-28 11:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a9fbaff9ef604c4d669041f0230788c71614a562
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Jan 28 11:00:14 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jan 28 11:00:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9fbaff9

.github/workflows/pkgcheck.yml: make compatible with pkgcheck-0.8

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index eaba4755..188f7d53 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -28,4 +28,4 @@ jobs:
         sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
     - name: Test with pkgcheck
       run: |
-        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck,-AcctCheck
+        pkgcheck scan --exit --checks=-RedundantVersionCheck,-VisibilityCheck,-AcctCheck


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-01-19 21:57 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 21:57 UTC (permalink / raw
  To: gentoo-commits

commit:     8f5d1dd2e400b5eef3a194ada71b082630e3f748
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 21:56:54 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 21:57:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f5d1dd2

.github/workflows/pkgcheck.yml: found the correct name for this check

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index d16a1233..eaba4755 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -28,4 +28,4 @@ jobs:
         sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
     - name: Test with pkgcheck
       run: |
-        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck,-MissingAccountIdentifier
+        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck,-AcctCheck


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-01-19 21:18 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 21:18 UTC (permalink / raw
  To: gentoo-commits

commit:     84555715ae8c513a0095a27e34567a999217cced
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 21:16:53 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 21:16:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84555715

.github/workflows/pkgcheck.yml: skip MissingAccountIdentifier check

in overlays ACCT_*_ID variables should be set to -1 for auto-assignment
which means this check will always fail in ::guru

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 1034bf70..d16a1233 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -28,4 +28,4 @@ jobs:
         sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
     - name: Test with pkgcheck
       run: |
-        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck
+        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck,-MissingAccountIdentifier


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
@ 2021-01-03 10:07 Andrew Ammerlaan
  0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-01-03 10:07 UTC (permalink / raw
  To: gentoo-commits

commit:     3dff7190aaca940e315230a21dd296d2af0dfe2c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jan  3 10:03:39 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jan  3 10:06:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dff7190

.github/workflows: add pkgcheck and repoman checks

Lets see if this will work like this

Thanks to the ::science overlay

Bug: https://github.com/gentoo/guru/issues/16

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .github/workflows/pkgcheck.yml | 31 +++++++++++++++++++++++++++++++
 .github/workflows/repoman.yml  | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
new file mode 100644
index 00000000..188f9db6
--- /dev/null
+++ b/.github/workflows/pkgcheck.yml
@@ -0,0 +1,31 @@
+name: pkgcheck
+
+on:
+  push:
+    branches: [ dev ]
+  pull_request:
+    branches: [ dev ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python 3.9
+      uses: actions/setup-python@v2
+      with:
+        python-version: 3.9
+    - name: Install pkgcheck
+      run: |
+        python -m pip install --upgrade pip
+        pip install pkgcheck
+    - name: Setup master gentoo repository
+      run: |
+        sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
+        wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
+        sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
+        sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
+        sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile        
+    - name: Test with pkgcheck
+      run: |
+        pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck

diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml
new file mode 100644
index 00000000..c5fd25ec
--- /dev/null
+++ b/.github/workflows/repoman.yml
@@ -0,0 +1,34 @@
+name: repoman
+
+on:
+  push:
+    branches: [ dev ]
+  pull_request:
+    branches: [ dev ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python 3.9
+      uses: actions/setup-python@v2
+      with:
+        python-version: 3.9
+    - name: Setup repoman
+      run: |
+        python -m pip install --upgrade pip
+        pip install lxml pyyaml
+        wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz
+        sudo groupadd -g 250 portage
+        sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
+    - name: Setup master gentoo repository
+      run: |
+        sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
+        wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
+        sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
+        sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
+        sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile
+    - name: Test with repoman
+      run: |
+        python3 portage-portage-3.0.12/repoman/bin/repoman full -dx


^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-10-26 13:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 18:04 [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2024-10-26 13:58 Takuya Wakazono
2024-04-12 12:37 Anna Vyalkova
2023-06-14 10:14 Anna Vyalkova
2023-05-18  8:21 Anna Vyalkova
2023-04-23 14:54 Anna Vyalkova
2023-04-23 14:14 Anna Vyalkova
2023-04-23 12:24 Anna Vyalkova
2023-04-23 12:15 Anna Vyalkova
2023-04-23 12:06 Anna Vyalkova
2023-04-20 15:20 Anna Vyalkova
2023-03-31 15:28 Anna Vyalkova
2023-03-17 11:42 Arthur Zamarin
2023-01-13 21:36 Julien Roy
2022-10-07 15:39 Arthur Zamarin
2022-04-14 13:39 Andrew Ammerlaan
2022-04-06 18:07 Arthur Zamarin
2021-02-18 11:23 Andrew Ammerlaan
2021-02-18 11:15 Andrew Ammerlaan
2021-02-16  7:52 Theo Anderson
2021-01-29 10:59 Andrew Ammerlaan
2021-01-28 11:01 Andrew Ammerlaan
2021-01-19 21:57 Andrew Ammerlaan
2021-01-19 21:18 Andrew Ammerlaan
2021-01-03 10:07 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox