26 Commits
Author SHA1 Message Date
Repository mirror & CI ce34eae66a Merge updates from master 2026-09-07 15:16:18 +00:00
Repository mirror & CI a7d3c0f4ed Merge updates from master 2026-09-07 10:31:04 +00:00
Repository mirror & CI 2158fa3fb5 2026-09-01 10:31:19 UTC 2026-09-01 10:31:19 +00:00
Thomas Bracht Laumann Jespersen 54e03a0b41 scripts/last_status: filter by 'success' and 'failure' only
Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
2026-08-25 22:01:44 +02:00
Thomas Bracht Laumann Jespersen 207488a250 scripts: three times &status instead of &status[]=
Apparently, the &status[]= format doesn't work, but specifying &status=
three times appears to work.

Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
2026-08-25 12:15:55 +02:00
Thomas Bracht Laumann Jespersen e2bf35861c scripts: limit last_status to completed workflows
When looking for the status of the "last" run, we only want to consider
completed runs. Without this filtering, we risk seeing runs that are
still in progress (status is "running") which isn't of interest and only
results in spamming the #guru channel.

Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
2026-08-25 11:55:14 +02:00
Dustin Smith 7b6155cb78 Add CI/CD for Forgejo, for use on Codeberg
This commit replicates the CI/CD behavior we currently have on GitHub
by making the following changes:

- Jobs that used Actions were replaced with in-repo scripts. This
  removes the dependency on GitHub and makes the overall pipeline more
  forge-agnostic.

  - rectalogic/notify-irc replaced with ./scripts/irc_notify.py

  - pkgcore/pkgcheck-action replaced with ./scripts/pkgcheck.sh

- Actions that used `gh` (the GitHub CLI) were replaced with in-repo
  scripts that perform the same action but with the Forgejo API.

  - ./scripts/last_status.py to get the last status of a completed job
    (e.g. succeeded, failed, canceled)

  - ./scripts/last_successful_commit.py to get the last commit that had
    a successful job

- Forgejo-specific changes

  - Variables renamed from "github" to "forgejo" where appropriate
    (though Forgejo lets you get away with keeping them as "github" to
    make migration easier)

  - Use ./.forgejo/ instead of ./.github/ -- this will simultaneously
    keep the GitHub actions intact while also disabling the GitHub
    actions from running in Forgejo

- Codeberg-specific changes

  - Use codeberg-tiny-lazy shared runner for {duplicates,emails}.yml

  - Use codeberg-medium-lazy shared runner for pkgcheck.yml

Signed-off-by: Dustin Smith <d.usty360@gmail.com>
Part-of: https://codeberg.org/gentoo/guru/pulls/30
Merges: https://codeberg.org/gentoo/guru/pulls/30
Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
2026-08-21 21:40:26 +02:00
Nowa Ammerlaan e4bb8e2e6d */*: rename account andrewammerlaan -> nowa
Bug: https://bugs.gentoo.org/940905
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
2024-11-12 19:25:58 +01:00
Anna (cybertailor) Vyalkova 580d1b4f16 check-duplicates.sh: skip "eclass/tests"
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-01-22 23:08:31 +05:00
Anna (cybertailor) Vyalkova 9c1f62dbe8 scripts/email-checker.py: handle EOF
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-06-27 16:09:31 +05:00
Anna (cybertailor) Vyalkova 5201427095 .github/workflows: bump changed-files action
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-06-27 12:55:18 +05:00
Anna (cybertailor) Vyalkova c6fd909184 .github/workflows/emails.yml: unbroke
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-04-23 20:11:11 +05:00
Anna (cybertailor) Vyalkova 87804196df .github/workflows: update actions
* bump actions
* fix indentation and other issues detected by yamllint

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-02-02 11:14:18 +05:00
Arthur Zamarin 5fa6ea3b1d Add emails checker against bugzilla workflow
A new check that checks that all new emails written in metadata.xml
correspond to existing user in bugzilla.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2022-04-06 21:08:40 +03:00
Andrew Ammerlaan 0fa19ebeb3 Drop repoman in favour of pkgcheck/pkgdev
As per discussed in [1]

[1] https://archives.gentoo.org/gentoo-dev/message/93df9e7a2ad9d8d33e0cc83b50556d51

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2022-04-04 16:47:08 +02:00
Theo Anderson 6116733625 */*: update maintainer name
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-06-18 17:07:06 +12:00
Theo Anderson c738bdab3a scripts/setup-and-run-repoman.sh: checkout portage tag
checking out any current repoman version tag puts portage
 into a version where EAPI 8 support is not enabled

Signed-off-by: Theo Anderson <telans@posteo.de>
2021-06-17 16:51:06 +12:00
Yuan Liao f5a89a542d scripts/setup-and-run-repoman.sh: use 'sort -V' to get latest tag
Without the -V flag to enable version sort, 'sort' can falsely identify
a version string like 3.0.9 to be greater than 3.0.10.  This can be
shown by running 'git tag | grep portage | sort -u' in the Portage Git
tree.  This issue is not so prominent for repoman yet because the latest
version of repoman as of now is 3.0.3, but it will surface when repoman
3.0.10 is released.

Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Closes: https://github.com/gentoo/sci/pull/1094
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-06-15 08:56:16 +02:00
Andrew Ammerlaan b4bf92563d */*: update my email address
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-05-19 22:32:14 +02:00
Andrew Ammerlaan e19e4730a0 .github/workflows/*: reduce code-duplication
Reduce code duplication by moving the ::gentoo setup part
into a seperate script. This way only one file has to be
edited when e.g. updating the profile to a new version

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-04-02 11:52:30 +02:00
Andrew Ammerlaan 292e03dc22 .github/workflows/repoman.yml: Use script to auto run the latest rm
By using a seperate script instead of running everything in the yml
file, we gain the ability to use and manipulate variables. This
means that we can now automatically run the latest version of
repoman, which should make this more hands-off by removing the
need to update this every now and then.

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-04-02 11:52:30 +02:00
Andrew Ammerlaan 94d33fa234 scripts/check-duplicates.sh: skip categories metadata.xml
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-02-18 19:42:31 +01:00
Andrew Ammerlaan 04573fbb57 scripts/check-duplicates.sh: read repo-name from profiles/
- also match foo-bar and foo_bar

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-02-18 11:51:33 +01:00
Theo Anderson 13095e024d .github/workflows/duplicates.yml: update/reformat
- add self as maintainer
 - update variable names
 - un-nest for loops
 - check for matching package name before starting loops
 - speed improvements: ~3s vs 5m

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-02-18 23:16:48 +13:00
Andrew Ammerlaan 1f3eb4b892 scripts/check-duplicates.sh: run in correct dir
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-02-17 16:22:02 +01:00
Andrew Ammerlaan 16f5492d54 .github/workflows/duplicates.yml: add script to check for potential duplicates
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-02-17 16:17:36 +01:00