Skip to content

Commit e5e16c7

Browse files
committed
Update metadata, badge, and citation for 2025-05-29
1 parent 0b2fe96 commit e5e16c7

5 files changed

Lines changed: 71 additions & 17 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ liberapay: qompassai
77
patreon: qompassai
88
open_collective: qompassai
99
custom: ["https://www.buymeacoffee.com/phaedrusflow"]
10+
"monero:42HGspSFJQ4MjM5ZusAiKZj9JZWhfNgVraKb1eGCsHoC6QJqpo2ERCBZDhhKfByVjECernQ6KeZwFcnq8hVwTTnD8v4PzyH"
11+
]

.github/workflows/fh.yml

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,43 @@
1-
name: Publish to FlakeHub
2-
1+
name: "Publish to FlakeHub"
32
on:
43
push:
5-
branches: [main]
4+
branches: [main, master]
5+
tags: ["v*"]
6+
pull_request:
7+
branches: [main, master]
68

79
jobs:
810
flakehub-publish:
9-
strategy:
10-
matrix:
11-
system: [x86_64-linux, aarch64-linux, aarch64-darwin]
12-
runs-on: [self-hosted, linux, x64, ${{ matrix.system }}]
11+
runs-on: self-hosted
1312
permissions:
1413
id-token: write
1514
contents: read
1615
steps:
17-
- uses: actions/checkout@v4
18-
- uses: DeterminateSystems/nix-installer-action@main
19-
- uses: DeterminateSystems/flakehub-push@main
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install Nix
20+
uses: DeterminateSystems/nix-installer-action@main
21+
22+
- name: Setup Nix Magic Cache
23+
uses: DeterminateSystems/magic-nix-cache-action@main
24+
25+
- name: Check if flake.nix exists
26+
id: check_flake
27+
run: |
28+
if [ -f "flake.nix" ]; then
29+
echo "has_flake=true" >> $GITHUB_OUTPUT
30+
else
31+
echo "has_flake=false" >> $GITHUB_OUTPUT
32+
fi
33+
34+
- name: Publish to FlakeHub
35+
if: steps.check_flake.outputs.has_flake == 'true'
36+
uses: DeterminateSystems/flakehub-push@main
2037
with:
21-
name: qompassai/Python
22-
rolling: true
2338
visibility: public
39+
rolling: true
40+
41+
- name: Skip - No flake.nix found
42+
if: steps.check_flake.outputs.has_flake == 'false'
43+
run: echo "No flake.nix found, skipping FlakeHub publish"

.pre-commit-config.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# /qompassai/python/.pre-commit-config.yml
2+
# -------------------------------------------
3+
# Copyright (C) 2025 Qompass AI, All rights reserved
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v5.0.0
8+
hooks:
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
- id: check-yaml
12+
- id: check-added-large-files
13+
args: ['--maxkb=2048']
14+
15+
- repo: https://github.com/psf/black
16+
rev: 24.10.0
17+
hooks:
18+
- id: black
19+
args: [--line-length=88]
20+
21+
- repo: https://github.com/pycqa/isort
22+
rev: 5.13.2
23+
hooks:
24+
- id: isort
25+
args: [--profile=black]
26+
27+
- repo: https://github.com/astral-sh/ruff-pre-commit
28+
rev: v0.8.4
29+
hooks:
30+
- id: ruff
31+
args: [--fix, --exit-non-zero-on-fix]
32+
- id: ruff-format

.zenodo.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"language": "eng",
66
"upload_type": "software",
77
"access_right": "open",
8-
"version": "2025-04-27-107-gcf05f804",
9-
"publication_date": "2025-05-28",
8+
"version": "2025-04-27-108-g0b2fe961-dirty",
9+
"publication_date": "2025-05-29",
1010
"creators": [
1111
{
1212
"name": "Porter, Matthew A.",
@@ -18,7 +18,7 @@
1818
"keywords": ["AI","Education","Healthcare","Post-Quantum Cryptography","Quantum","opensource","software"],
1919
"related_identifiers": [
2020
{ "identifier": "https://github.com/qompassai/Python", "relation": "isSupplementTo", "resource_type": "software" },
21-
{ "identifier": "https://github.com/qompassai/Python/releases/tag/v2025-05-28", "relation": "isIdenticalTo", "resource_type": "software" },
21+
{ "identifier": "https://github.com/qompassai/Python/releases/tag/v2025-05-29", "relation": "isIdenticalTo", "resource_type": "software" },
2222
{ "identifier": "https://orcid.org/0000-0002-0302-4812", "relation": "isAuthorOf", "resource_type": "person" },
2323
{ "identifier": "https://github.com/qompassai/Python/actions", "relation": "isCompiledBy", "resource_type": "workflow" },
2424
{ "identifier": "https://loop.frontiersin.org/people/2230223", "relation": "isAuthorOf", "resource_type": "person" },

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ authors:
66
given-names: "Matthew A."
77
orcid: "https://orcid.org/0000-0002-0302-4812"
88
affiliation: "Qompass AI"
9-
version: "v2025-05-28"
10-
date-released: "2025-05-28"
9+
version: "v2025-05-29"
10+
date-released: "2025-05-29"
1111
repository-code: "https://github.com/qompassai/Python"
1212
license: "Q-CDA-1.0"
1313
keywords:

0 commit comments

Comments
 (0)