- Ajoute try/except autour du float() pour gérer les dates HTTP RFC 7231
- Cap à 30s pour éviter un blocage indéfini sur valeur énorme
- Plancher à _RETRY_DELAY pour Retry-After: 0 ou négatif (FINDING-R2)
- 4 nouveaux tests : date HTTP, valeur zéro, valeur énorme, health check partiel
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add --health option to verify Gitea connectivity and display version.
Add Description column (truncated at 40 chars) with --no-desc to hide
it. Add get_version() method to GiteaClient.
fixes#14fixes#15
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add tests for unicode descriptions, repos with no commits and no
release, malformed JSON responses, HTML responses, control characters
in names, empty and very long descriptions.
fixes#13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
_get_with_retry now retries on HTTP 429 responses, respecting the
Retry-After header when present. exporter sanitizes control characters
(0x00-0x1F except \n \r \t) in text fields before JSON serialization.
fixes#11fixes#12
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- GiteaClient with requests.Session and token auth header
- _get_paginated for automatic pagination (limit=50)
- get_repos, get_latest_release (None on 404), get_milestones
- 9 unit tests with mocked requests.Session
- Fix setuptools build backend in pyproject.toml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>