23 Commits
dev ... main

Author SHA1 Message Date
798afdd512 Merge pull request 'dev' (#15) from dev into main
Reviewed-on: #15
2025-12-10 10:00:04 +00:00
196cc04df7 Merge pull request 'maintenance: linting' (#14) from dev into main
Reviewed-on: #14
2025-12-10 09:13:58 +00:00
d6cb1fda63 Merge pull request 'new features' (#13) from dev into main
Reviewed-on: #13
2025-12-09 08:18:04 +00:00
9556588d9d Merge pull request 'Configure Renovate' (#11) from renovate/configure into main
Reviewed-on: #11
2025-11-28 07:58:02 +00:00
14ec61d209 Add renovate.json
Some checks failed
/ typecheck (pull_request) Failing after 51s
2025-11-27 17:27:14 +00:00
Gitea CI
cb470c2850 Bump version: 0.0.5 → 0.0.6 2025-11-25 09:13:33 +00:00
4eb3856c36 Merge pull request 'dev' (#10) from dev into main
Reviewed-on: #10
2025-11-25 09:13:04 +00:00
Gitea CI
c8b3590355 Bump version: 0.0.4 → 0.0.5 2025-11-19 13:50:08 +00:00
cf8ec8b07e Merge pull request 'feat: get additional data from catalogue:' (#9) from dev into main
Reviewed-on: #9
2025-11-19 13:49:16 +00:00
Gitea CI
2d08c2959a Bump version: 0.0.3 → 0.0.4
Some checks failed
continuous-integration/drone/push Build is failing
2025-11-13 20:20:31 +00:00
5da3050da6 Update pyproject.toml
Some checks failed
continuous-integration/drone/push Build is failing
2025-11-13 09:58:44 +00:00
Gitea CI
e681c8ba92 Bump version: 0.0.2 → 0.0.3
Some checks failed
continuous-integration/drone/push Build is failing
2025-11-13 09:56:26 +00:00
3a6da75c8f Merge pull request 'Update .gitea/workflows/build_and_publish.yml' (#7) from dev into main
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #7
2025-11-13 09:55:47 +00:00
Gitea CI
80d2b9bda1 Bump version: 0.0.1 → 0.0.2 2025-11-13 09:39:20 +00:00
765c7ada8c Merge pull request 'dev' (#6) from dev into main
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #6
2025-11-13 09:37:37 +00:00
c66bbbe8ce Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2025-10-24 21:30:58 +01:00
b90b3ab122 Update .drone.yml
Some checks failed
continuous-integration/drone/push Build encountered an error
add pipeline template to test it
2025-10-24 21:27:44 +01:00
e3d6039d11 Update README.md 2025-10-24 21:05:36 +01:00
6602200f4c Add .drone.yml 2025-10-24 21:05:21 +01:00
7337e0297e Merge pull request 'dev' (#3) from dev into main
Reviewed-on: #3
2025-10-21 15:16:38 +01:00
Gitea CI
25237a1812 Bump version: 0.0.0 → 0.0.1 2025-10-13 13:19:30 +00:00
e713803b2e Merge pull request 'add versioning' (#2) from dev into main
Reviewed-on: #2
2025-10-13 14:19:11 +01:00
78483cfebb Merge pull request 'chore: add dependencies' (#1) from dev into main
Reviewed-on: #1
2025-10-13 13:47:55 +01:00
4 changed files with 54 additions and 2 deletions

48
.drone.yml Normal file
View File

@@ -0,0 +1,48 @@
---
kind: pipeline
type: docker
name: python-ci
trigger:
event: [ push, pull_request ]
steps:
- name: setup+deps
image: python:3.12-slim
environment:
UV_NO_SYNC_PROGRESS: "1"
commands:
- python -V
- apt-get update && apt-get install -y curl ca-certificates && rm -rf /var/lib/apt/lists/*
- curl -LsSf https://astral.sh/uv/install.sh | sh
- export PATH="$HOME/.local/bin:$PATH"
# pick python version (use .python-version if present, else 3.12)
- PYVER="$( [ -f .python-version ] && cat .python-version || echo 3.12 )"
- uv python install "$PYVER"
- uv venv .venv
- . .venv/bin/activate
# install project + dev tools
- |
if [ -f pyproject.toml ] && grep -q "\[tool\.uv\]" pyproject.toml; then
uv sync --all-extras --dev
else
uv pip install -e ".[dev]" || true
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
fi
- uv pip install pytest pytest-cov mypy ruff
- name: lint-typecheck
image: python:3.12-slim
commands:
- export PATH="$HOME/.local/bin:$PATH"
- . .venv/bin/activate
- ruff check .
- mypy --ignore-missing-imports .
- name: test
image: python:3.12-slim
commands:
- export PATH="$HOME/.local/bin:$PATH"
- . .venv/bin/activate
- pytest -q --maxfail=1 --disable-warnings --cov --cov-report=term-missing

View File

@@ -0,0 +1 @@
[![Build Status](https://drone.theprivateserver.de/api/badges/PHB/BibAPI/status.svg)](https://drone.theprivateserver.de/PHB/BibAPI)

View File

@@ -1,6 +1,6 @@
[project]
name = "bibapi"
version = "0.1.0"
version = "0.0.6"
description = "Add your description here"
readme = "README.md"
authors = [{ name = "WorldTeacher", email = "coding_contact@pm.me" }]
@@ -27,7 +27,7 @@ requires = ["uv_build >= 0.9.5, <0.10.0"]
build-backend = "uv_build"
[tool.bumpversion]
current_version = "0.0.0"
current_version = "0.0.6"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"

3
renovate.json Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}