WIP: reparent #125

Closed
adamm wants to merge 18 commits from reparent into gitea-api-update

18 Commits

Author SHA256 Message Date
0e05ea2595 pr: Process issue comments in addition to PR comments
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 8s
IssueComment webhook is called whenever an issue comment is edited,
added, etc. But IssueComments belong to both Issues and PRs. Gitea
views PRs as a superset of Issues. We must differentiate
betweeen PR and Issue comments at runtime.
2026-02-16 14:20:47 +01:00
9915aa5e1c pr: subscribe to issue
When processing PRs, we need to also handle cases when comments
are added to PRs, namely the "merge ok" comments.

Additionally, New Package Process requires issue processing
2026-02-16 14:00:01 +01:00
f5ec5944db reparent: fix typo
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 25s
2026-02-03 22:31:59 +01:00
60af65025b reparent: fix race condition and unit tests 2026-02-03 20:47:15 +01:00
e78db48ba2 reparent: unit tests 2026-02-03 17:39:57 +01:00
8678167498 reparent: reorganize logic 2026-02-03 17:18:46 +01:00
842284505b reparent: work on issues, not notifications 2026-02-03 15:13:35 +01:00
2d52659223 test: move NewController to common/test_util subpackage
We want to share the NewController logging setup with other tests
across utilities
2026-02-03 14:25:07 +01:00
e1af02efd9 reparent: doc 2026-02-03 14:24:07 +01:00
cc1f178872 reparent: unit tests 2026-02-02 22:58:30 +01:00
40f3cfe238 reparent: add comments once 2026-02-02 21:08:55 +01:00
6e9f1c8073 reparent: refactor 2026-02-02 20:58:31 +01:00
443b7eca24 reparent: use timeline 2026-02-02 20:12:28 +01:00
c355624194 rebase: branch is optional 2026-02-02 14:37:56 +01:00
2bd6321fb6 reparent: parse branch information for source repository 2026-02-02 13:46:16 +01:00
67d57c4eae reparent: handle multipe repositories in request 2026-02-02 12:29:08 +01:00
5abb1773db reparent: move reparent to common interface 2026-02-01 05:08:17 +01:00
2fb18c4641 reparent: first version 2026-02-01 04:51:49 +01:00