Skip to content

Commit d52a6f1

Browse files
committed
Merge branch 'update_status/1'
2 parents af75c45 + 78a342b commit d52a6f1

27 files changed

Lines changed: 82 additions & 32 deletions

.github/workflows/weekly-update.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Weekly | Update member badges
1+
name: Weekly | Update member status
22

33
on:
44
workflow_dispatch:
55
schedule:
66
- cron: '0 9 * * 4'
77

88
jobs:
9-
batch_update_badges:
10-
name: "Update members badges"
9+
batch_update_status:
10+
name: "Update members status"
1111
if: github.repository_owner == 'Qiskit'
1212
runs-on: ubuntu-latest
1313
steps:
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
echo "dateIseconds=$(date -Iseconds)" >> "$GITHUB_ENV"
1818
echo "date_bdY=$(date +'%b %d, %Y')" >> "$GITHUB_ENV"
19-
echo "pr_branch_name=batch_badges_$(date +'%Y_%m_%d_%H_%M')" >> "$GITHUB_ENV"
19+
echo "pr_branch_name=batch_status_$(date +'%Y_%m_%d_%H_%M')" >> "$GITHUB_ENV"
2020
- uses: actions/checkout@v6
2121
- uses: actions/setup-python@v6
2222
with:
@@ -26,27 +26,25 @@ jobs:
2626
python -m pip install --upgrade pip
2727
pip install -r requirements.txt
2828
29-
- name: Update maturity project
29+
- name: Update project maturity
3030
run: python manager.py members update_maturity
3131

32-
- name: Update checkups data
32+
- name: Update checkups
3333
run: python manager.py members update_checkups
3434

35-
- name: Update Badge data
36-
env:
37-
BITLY_TOKEN: ${{ secrets.BITLY_TOKEN }}
38-
run: python manager.py members update_badge
35+
- name: Update status
36+
run: python manager.py members update_status
3937

40-
- name: Create PR for new badges
38+
- name: Create PR for status update
4139
id: cpr
4240
uses: peter-evans/create-pull-request@v7
4341
with:
4442
author: qiskit-bot <qiskit-bot@users.noreply.github.com>
4543
token: ${{ secrets.REPO_SCOPED_TOKEN }}
46-
commit-message: Member data update for ${{ env.dateIseconds }}
47-
title: Member data update for ${{ env.date_bdY }}
44+
commit-message: Member status update for ${{ env.dateIseconds }}
45+
title: Member status update for ${{ env.date_bdY }}
4846
body: |
49-
Member badge update
47+
Member status update
5048
when: ${{ env.dateIseconds }}
5149
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
5250
branch: ${{ env.pr_branch_name }}

ecosystem/cli/members.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -472,12 +472,19 @@ def update_checkups(self, name=None, checker=None):
472472
)
473473
self.dao.update(project.name_id, checks=project.checks)
474474

475-
def update_status(self, name=None):
476-
"""Check if a project should be moved to "Under revision" or "Alumni" """
475+
def update_status(self, name=None, update_all=False):
476+
"""
477+
Check if a project should be moved to "Under revision" or "Alumni"
478+
479+
Args:
480+
name: project to udpate. None (default) if all of them.
481+
update_all: Updates all the projects. If False (default) will not update "Qiskit Project" or "Alumni"
482+
"""
477483
for project in self.dao.get_all(name):
478-
if project.status == "Qiskit Project":
479-
# Qiskit Project status is governed differently,
484+
if project.status in ["Qiskit Project", "Alumni"] and not update_all:
485+
# "Qiskit Project" status is governed differently,
480486
# not via checkups in Qiskit Ecosystem.
487+
# "Alumni" projects stay alumni
481488
continue
482489

483490
if project.status == "Under revision":
@@ -488,13 +495,14 @@ def update_status(self, name=None):
488495
if check.xfailed:
489496
# Xfails do not affect the status
490497
continue
491-
if not check.cure_period_in_days:
498+
if check.cure_period_in_days is False:
492499
# if cure_period_in_days is disabled (by cure_period_in_days = false), skip.
493500
continue
494501
deadline = check.since + timedelta(days=check.cure_period_in_days)
495502
if datetime.today() > deadline:
496503
# deadline passed
497504
project.status = "Alumni"
505+
break
498506
else:
499507
# still in cure period
500508
project.status = "Under revision"

ecosystem/validation/test_general.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def must_pass_all_requierements(requierements, failed_checkups, msg):
2828
else:
2929
skip.append(checkup)
3030
if fail:
31-
pytest.fail(msg + ": " + " ".join([c.id for c in fail]))
31+
pytest.fail(msg + ": " + " ".join([f"`[{c.id}]`" for c in fail]))
3232
if skip:
3333
pytest.skip("Still in the cure period: " + " ".join([c.id for c in fail]))
3434

@@ -44,13 +44,13 @@ def test_Q20(request, pytestconfig):
4444
)
4545

4646

47-
@pytest.mark.order(after=["test_github.py::test_G05"])
47+
@pytest.mark.order(after=["test_github.py::test_G05", "test_general.py::test_Q20"])
4848
def test_001(request, pytestconfig):
4949
"""Have a clear support expectation and, if actively maintained,
5050
show signs of that activity."""
5151
requierements = request.node.get_closest_marker("order").kwargs["after"]
5252
must_pass_all_requierements(
5353
requierements,
5454
pytestconfig.failed_checkups,
55-
"The project is probably abandoned",
55+
" abandoned",
5656
)

resources/checks.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ importance = "CRITICAL"
210210
name = "CRITICAL"
211211
description = "This is a must-pass and there is no room for negotiation. Failing this test results in immediate removal."
212212
cure_period_in_days = 0
213-
icon = "close-outline"
213+
icon = "material-close-outline"
214214

215215
[[importance]]
216216
name = "IMPORTANT"

resources/members/alicebobp_00f82ee3.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ category = "Compute provider"
88
documentation = "https://felis.alice-bob.com/docs/"
99
uuid = "00f82ee3-ab46-44fc-afbb-32cb34a72339"
1010
maturity = "production-ready"
11+
status = "Under revision"
1112

1213
[github]
1314
url = "https://github.com/Alice-Bob-SW/qiskit-alice-bob-provider"

resources/members/antinature_83868867.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ category = "Application"
1010
documentation = "https://antinature.vercel.app/docs/"
1111
uuid = "83868867-87d7-40c1-a0cb-7e68be6b22ad"
1212
maturity = "experimental"
13+
status = "Under revision"
1314

1415
[github]
1516
url = "https://github.com/mk0dz/antinature"

resources/members/aqtprovide_04f15cf5.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ category = "Compute provider"
1010
documentation = "https://qiskit-community.github.io/qiskit-aqt-provider/"
1111
uuid = "04f15cf5-ee50-4c77-b254-8907ed3ba407"
1212
maturity = "production-ready"
13+
status = "Under revision"
1314

1415
[github]
1516
url = "https://github.com/qiskit-community/qiskit-aqt-provider"

resources/members/classroomc_bc3b8894.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ category = "Converter"
88
documentation = "https://kmu-quantum-classroom.github.io/qiskit-classroom-converter/"
99
uuid = "bc3b8894-7e2b-4fa3-8cd2-550e58e4133b"
1010
maturity = "archived"
11+
status = "Alumni"
1112

1213
[github]
1314
url = "https://github.com/KMU-quantum-classroom/qiskit-classroom-converter"
@@ -44,6 +45,11 @@ since = 2026-04-30T11:32:49.789583
4445
details = "Python package qiskit-classroom-converter is not compatible with Qiskit SDK v2"
4546
importance = "IMPORTANT"
4647

48+
[checks.001]
49+
since = 2026-05-22T11:10:32.120535
50+
details = " abandoned: `[G05]`"
51+
importance = "CRITICAL"
52+
4753
[pypi.qiskit-classroom-converter]
4854
package_name = "qiskit-classroom-converter"
4955
version = "0.6.0"

resources/members/codeassist_7e74391b.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name = "Qiskit Code Assistant for VSCode"
22
url = "https://github.com/Qiskit/qiskit-code-assistant-vscode"
3-
documentation = "https://quantum.cloud.ibm.com/docs/guides/qiskit-code-assistant"
43
description = "VSCode extension to use the Qiskit Code Assistant"
54
labels = [ "cloud service",]
65
ibm_maintained = true
76
category = "Tooling"
7+
documentation = "https://quantum.cloud.ibm.com/docs/guides/qiskit-code-assistant"
88
packages = [ "https://marketplace.visualstudio.com/items?itemName=qiskit.qiskit-vscode", "https://open-vsx.org/extension/qiskit/qiskit-vscode",]
99
uuid = "7e74391b-0b86-46d6-bcd5-d2305c9e5338"
1010
maturity = "production-ready"

resources/members/denseev_f305aa07.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ category = "Paper artifact"
99
reference_paper = "https://arxiv.org/abs/2305.11847"
1010
uuid = "f305aa07-74a6-4af4-bb80-e0a75672f16f"
1111
maturity = "production-ready"
12+
status = "Under revision"
1213

1314
[github]
1415
url = "https://github.com/atlytle/dense-ev"

0 commit comments

Comments
 (0)