unkinben 651a38392e feat: add HTTP sessions and retry logic for Gitea/GitHub API calls
Creates two module-level requests.Session objects (_gitea_session,
_github_session) with an HTTPAdapter backed by urllib3 Retry:
- 3 retries with 0.5s exponential backoff
- retries on 429, 500, 502, 503, 504 and connection errors
- GET-only to avoid unsafe retries

Benefits:
- TCP connections are pooled and reused across all package checks,
  including concurrent builds in ThreadPoolExecutor
- Transient network blips no longer cause spurious rebuilds
- Per-request timeouts tightened to 10s (Gitea) / 15s (GitHub)
  so failures surface quickly and the retry budget is actually useful
2026-05-17 12:35:11 +10:00
2026-05-16 23:36:13 +10:00
2026-03-07 12:28:20 +11:00
S
Description
A repository for building RPMs in docker
1.5 MiB
Languages
Python 67%
Shell 30.8%
Makefile 1.5%
Dockerfile 0.7%