[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2024-04-12 Thread Julien Roy
commit: 77206897e75f99a5806ef804a82124ee2bcb2dd9
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Apr 12 12:34:28 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Fri Apr 12 12:37:36 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77206897

ci: bump actions

Signed-off-by: Anna (cybertailor) Vyalkova  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..aafd36 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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/, scripts/

2023-06-27 Thread Florian Schmaus
commit: 520142709533d575685dbabfb3882a5a260ca441
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Jun 27 07:53:22 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Jun 27 07:55:18 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52014270

.github/workflows: bump changed-files action

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 .github/workflows/emails.yml | 2 +-
 scripts/email-checker.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 67763cdb9..bff8c8fec 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -41,7 +41,7 @@ jobs:
 
   - name: Get changed files
 if: ${{ fromJSON(env.is_commit_valid) }}
-uses: tj-actions/changed-files@v35
+uses: tj-actions/changed-files@v37
 with:
   base_sha: ${{ env.last_successful_commit }}
   write_output_files: true

diff --git a/scripts/email-checker.py b/scripts/email-checker.py
index aa23550e5..edc528a37 100755
--- a/scripts/email-checker.py
+++ b/scripts/email-checker.py
@@ -47,7 +47,7 @@ def check_maintainers(maintainers: Iterator[Maintainer]) -> 
Iterator[Maintainer]
 
 
 if __name__ == '__main__':
-files = [line.strip() for line in sys.stdin]
+files = input().split()
 maintainers = set(read_all_maintainers(files))
 missing_maintainers = tuple(check_maintainers(maintainers))
 sys.exit(int(len(missing_maintainers) != 0))



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2023-06-15 Thread Florian Schmaus
commit: 872f11e38d73b9a179a67e34f2da861d6015e3e4
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Jun 14 10:13:59 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Jun 14 10:14:41 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=872f11e3

.github/workflows/duplicates.yml: inform recoveries

Signed-off-by: Anna (cybertailor) Vyalkova  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!



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2023-05-19 Thread Viorel Munteanu
commit: 69cbd3bb1b006841e041fd816628c11c6611c168
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu May 18 08:09:21 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu May 18 08:18:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69cbd3bb

pkgcheck.yml: notify on recoveries too

Signed-off-by: Anna (cybertailor) Vyalkova  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!



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2023-04-20 Thread Florian Schmaus
commit: eaf430a014bd8decbc1ea663fb13f74c0e192ee1
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Apr 20 15:18:09 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr 20 15:18:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaf430a0

.github/workflows: run CI on schedule

Signed-off-by: Anna (cybertailor) Vyalkova  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"



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2023-04-01 Thread Haelwenn Monnier
commit: 2751058f2ac3f1f49611572ff2499b0e424be115
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Mar 31 15:28:03 2023 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Mar 31 15:28:03 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2751058f

.github/workflows: notify on push only

Signed-off-by: Anna (cybertailor) Vyalkova  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"



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2023-01-14 Thread Andrew Ammerlaan
commit: e820c2a6e2241abc7c8c67d5c7afe5f012f09629
Author: Julien Roy  jroy  ca>
AuthorDate: Fri Jan 13 21:32:35 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jan 13 21:36:26 2023 +
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  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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2022-04-14 Thread Andrew Ammerlaan
commit: 167fc257b6f751e75bf91d02ac642b95c380723d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Apr 14 13:38:40 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Apr 14 13:38:40 2022 +
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  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:



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2022-04-06 Thread Michał Górny
commit: 575a6454796c52b05081e2feda4b4e2c68892d1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr  6 18:06:12 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr  6 18:07:28 2022 +
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  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 0..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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2021-02-19 Thread Michał Górny
commit: ac5ddb0aecc63f1e9b9bb5c76c1cdbb9e074b17d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Feb 18 11:14:30 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 18 11:14:30 2021 +
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  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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2021-02-19 Thread Michał Górny
commit: b951fd74adf95c9cbceb18de3370c19f6d81fa0c
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Feb 18 11:22:37 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 18 11:22:37 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b951fd74

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

Signed-off-by: Andrew Ammerlaan  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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2021-01-23 Thread Michał Górny
commit: 84555715ae8c513a0095a27e34567a999217cced
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jan 19 21:16:53 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 19 21:16:53 2021 +
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  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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2021-01-23 Thread Michał Górny
commit: 8f5d1dd2e400b5eef3a194ada71b082630e3f748
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jan 19 21:56:54 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 19 21:57:30 2021 +
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  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



[gentoo-commits] repo/proj/guru:master commit in: .github/workflows/

2021-01-03 Thread Michał Górny
commit: 3dff7190aaca940e315230a21dd296d2af0dfe2c
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan  3 10:03:39 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan  3 10:06:58 2021 +
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  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 ..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 ..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



[gentoo-commits] repo/proj/guru:master commit in: /, .github/workflows/

2021-01-03 Thread Michał Górny
commit: 7b42dce12e1716d83394b251f674d3401286801b
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan  3 10:25:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan  3 10:25:59 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b42dce1

README.md: show result of checks

Closes: https://github.com/gentoo/guru/issues/16
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .github/workflows/pkgcheck.yml | 2 +-
 .github/workflows/repoman.yml  | 2 +-
 README.md  | 5 +
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index 188f9db6..1034bf70 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -25,7 +25,7 @@ jobs:
 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
+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

diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml
index c5fd25ec..8eb8668a 100644
--- a/.github/workflows/repoman.yml
+++ b/.github/workflows/repoman.yml
@@ -28,7 +28,7 @@ jobs:
 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
+sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 
/etc/portage/make.profile
 - name: Test with repoman
   run: |
 python3 portage-portage-3.0.12/repoman/bin/repoman full -dx

diff --git a/README.md b/README.md
index d8d5226a..4a320a0a 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,11 @@
 
 # The GURU Project Repository
 
+[![pkgcheck](https://github.com/gentoo/guru/workflows/pkgcheck/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Apkgcheck)
+[![repoman](https://github.com/gentoo/guru/workflows/repoman/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Arepoman)
+[![contributions 
welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors)
+[![chat on 
freenode](https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg)](https://webchat.freenode.net/#gentoo-guru)
+