mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Compare commits
21 Commits
2025.5.20.
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 672f686d1a | |||
| 59c3ac5bc2 | |||
| 1e75799497 | |||
| fec9dd75c7 | |||
| 2ae8ab6926 | |||
| e24e1f2cbc | |||
| e3465637f9 | |||
| f7a4ab0939 | |||
| a7ffce1f43 | |||
| 3b1526d4d8 | |||
| fd4f97fd41 | |||
| c91ff83bb5 | |||
| c22f4f4d02 | |||
| 919cd3e4bd | |||
| 4fad1ced08 | |||
| 3bb38a95eb | |||
| 36f9b91cc1 | |||
| 3013095bdd | |||
| 6e84ea0446 | |||
| 529fe17d24 | |||
| 0fd2466b49 |
29
.github/dependabot.yml
vendored
Normal file
29
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "uv"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "04:00"
|
||||
open-pull-requests-limit: 8
|
||||
allow:
|
||||
- dependency-type: "all"
|
||||
reviewers:
|
||||
- "Cian-H"
|
||||
assignees:
|
||||
- "Cian-H"
|
||||
commit-message:
|
||||
prefix: "uv-deps"
|
||||
prefix-development: "uv-deps-dev"
|
||||
include: "scope"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "04:00"
|
||||
open-pull-requests-limit: 5
|
||||
commit-message:
|
||||
prefix: "ci"
|
||||
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@@ -13,9 +13,14 @@ jobs:
|
||||
environment: release
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
run: pip install uv
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: "${{ matrix.python-version }}"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: |
|
||||
pyproject.toml
|
||||
- name: Build package
|
||||
run: uv build
|
||||
- name: Publish to PyPI
|
||||
run: uv publish
|
||||
run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -74,13 +74,19 @@ jobs:
|
||||
run: |
|
||||
uv --version
|
||||
uv run python --version
|
||||
docker --version
|
||||
docker ps
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv sync --group tests
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
PYTEST_ADDOPTS: "--cov-report=lcov"
|
||||
run: |
|
||||
uv run test
|
||||
|
||||
- name: Upload coverage to Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: coverage.lcov
|
||||
|
||||
20
.readthedocs.yaml
Normal file
20
.readthedocs.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Set the OS, Python version, and other tools you might need
|
||||
build:
|
||||
os: ubuntu-24.04
|
||||
tools:
|
||||
python: "3.13"
|
||||
jobs:
|
||||
pre_create_environment:
|
||||
- asdf plugin add uv
|
||||
- asdf install uv latest
|
||||
- asdf global uv latest
|
||||
create_environment:
|
||||
- uv sync --group docs
|
||||
install:
|
||||
- uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
|
||||
@@ -24,11 +24,11 @@
|
||||
.. image:: https://readthedocs.org/projects/invenio-config-iform/badge/?version=latest
|
||||
:target: https://invenio-config-iform.readthedocs.io/en/latest/?badge=latest
|
||||
|
||||
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-config-iform.svg
|
||||
:target: https://coveralls.io/r/mb-wali/invenio-config-iform
|
||||
.. image:: https://coveralls.io/repos/github/Cian-H/invenio-config-iform/badge.svg?branch=master
|
||||
:target: https://coveralls.io/github/Cian-H/invenio-config-iform?branch=master
|
||||
|
||||
.. image:: https://img.shields.io/badge/code%20style-Ruff-D7FF64.svg
|
||||
:target: https://github.com/astral-sh/ruff
|
||||
:target: https://github.com/astral-sh/ruff
|
||||
|
||||
invenio module that adds I-Form configs.
|
||||
|
||||
|
||||
12
docs/conf.py
12
docs/conf.py
@@ -47,8 +47,8 @@ master_doc = "index"
|
||||
|
||||
# General information about the project.
|
||||
project = "invenio-config-iform"
|
||||
copyright = "2022, TU Graz"
|
||||
author = "TU Graz"
|
||||
copyright = "2025, I-Form"
|
||||
author = "I-Form"
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
@@ -109,10 +109,10 @@ html_theme = "alabaster"
|
||||
|
||||
html_theme_options = {
|
||||
"description": "invenio module that adds iform configs.",
|
||||
"github_user": "TU Graz",
|
||||
"github_user": "Cian-H",
|
||||
"github_repo": "invenio-config-iform",
|
||||
"github_button": False,
|
||||
"github_banner": True,
|
||||
"github_button": True,
|
||||
"github_banner": False,
|
||||
"show_powered_by": False,
|
||||
"extra_nav_links": {
|
||||
"invenio-config-iform@Github": "https://github.com/Cian-H/invenio-config-iform",
|
||||
@@ -244,7 +244,7 @@ latex_documents = [
|
||||
master_doc,
|
||||
"invenio-config-iform.tex",
|
||||
"invenio-config-iform Documentation",
|
||||
"Mojib Wali",
|
||||
"I-Form",
|
||||
"manual",
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
-e .[docs,tests]
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
"""Metadata for this python module."""
|
||||
|
||||
__version__ = "2025.5.20.4"
|
||||
__version__ = "2025.5.20.21"
|
||||
|
||||
@@ -67,6 +67,11 @@ tests = [
|
||||
"ruff>=0.5.3",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
docs = [
|
||||
"invenio-app>=1.5.0",
|
||||
"invenio-search[opensearch2]>=2.1.0",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling", "hatch-calver"]
|
||||
@@ -128,23 +133,3 @@ line-ending = "auto"
|
||||
|
||||
[tool.pydocstyle]
|
||||
add_ignore = ["D401"]
|
||||
|
||||
# Babel configuration
|
||||
[tool.babel.compile_catalog]
|
||||
directory = "invenio_config_iform/translations/"
|
||||
use-fuzzy = true
|
||||
|
||||
[tool.babel.extract_messages]
|
||||
copyright_holder = "I-Form Advanced Research Manufacturing Research Centre"
|
||||
msgid_bugs_address = "cian.hughes@dcu.ie"
|
||||
mapping-file = "babel.ini"
|
||||
output-file = "invenio_config_iform/translations/messages.pot"
|
||||
add-comments = "NOTE"
|
||||
|
||||
[tool.babel.init_catalog]
|
||||
input-file = "invenio_config_iform/translations/messages.pot"
|
||||
output-dir = "invenio_config_iform/translations/"
|
||||
|
||||
[tool.babel.update_catalog]
|
||||
input-file = "invenio_config_iform/translations/messages.pot"
|
||||
output-dir = "invenio_config_iform/translations/"
|
||||
|
||||
10
uv.lock
generated
10
uv.lock
generated
@@ -1722,6 +1722,11 @@ dev = [
|
||||
{ name = "pydocstyle" },
|
||||
{ name = "ruff" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
{ name = "sphinx" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
@@ -1745,6 +1750,11 @@ dev = [
|
||||
{ name = "pydocstyle", specifier = ">=6.3.0" },
|
||||
{ name = "ruff", specifier = ">=0.11.7" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
{ name = "sphinx", specifier = ">=4.5.0" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
|
||||
Reference in New Issue
Block a user