1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-12-07 02:44:48 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
ad96f3926d Extend gitea_api.PullRequest with methods that work with 'PR:' references 2025-11-10 15:06:02 +01:00
aa3cb2c71f feat: add new function PullRequest.get_host_owner_repo_number
The existing `get_owner_repo_number` throws away the parsed host, which is
occasionally useful. Therefore we add a new method `get_host_owner_repo_number`
that also returns the full host (scheme + hostname + port) and keep the old
method for compatibility.

Also add tests.
2025-10-20 17:15:34 +02:00
e2d890391e Refactor gitea_api to use objects with properties instead of raw JSON data 2025-05-20 14:29:20 +02:00