831 Commits

Author SHA256 Message Date
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
c6aa9ea392 Can use values from model instead of our own 2026-01-31 12:49:52 +01:00
a97603b5a7 common: no longer need cast 2026-01-31 12:35:02 +01:00
ed63b37baa common: regenerate client code for Gitea 1.25.4 2026-01-31 12:29:01 +01:00
9b3d6e9a66 pr: Always allow maintainer edits in new packages
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 25s
2026-01-31 10:38:03 +01:00
f47da62481 common: replace legacy logger with standard impl
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 27s
2026-01-31 10:18:14 +01:00
79e5345ac6 test: refactor loggin in unit tests
Use test logger when running under a test.
2026-01-31 10:04:08 +01:00
4790ee3096 pr: small refactor
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 10s
2026-01-30 16:44:11 +01:00
7d85c014d6 pr: test coverage 2026-01-30 16:44:11 +01:00
05aaf56cb7 pr: test coverage 2026-01-30 16:44:11 +01:00
74491cb9cf pr: small refactor 2026-01-30 16:44:11 +01:00
9775320411 pr: close associated PR if issue closed. 2026-01-30 16:44:11 +01:00
790540d6c5 common: test fixes after rebase 2026-01-30 16:44:11 +01:00
990f71677b pr: no need to create PR if already exists. 2026-01-30 16:44:11 +01:00
514725fb0b pr: Only update issues if they are actually open 2026-01-30 16:44:11 +01:00
ea69dcd19f pr: fix tests 2026-01-30 16:44:11 +01:00
055de8c9eb pr: use top 20 commits as base, if available 2026-01-30 16:44:11 +01:00
a13f57e464 common: add test for cloning hashes 2026-01-30 16:44:11 +01:00
b147fc7622 common: add test for directory listing 2026-01-30 16:44:11 +01:00
fc7fb4d49f pr: test updated issue ref
If issue is a SHA ref, and then it's updated, we need to make
sure that the branch is also updated.
2026-01-30 16:44:11 +01:00
40eeb25336 pr: move functions around 2026-01-30 16:44:11 +01:00
68a142046c pr: fix tests 2026-01-30 16:44:11 +01:00
240d79a4d6 pr: new package handling 2026-01-30 16:44:11 +01:00
21a8670674 pr: make sure new repos have fork/parent relationship
If new target repo is "reparented", it will have correct relationship
here. Otherwise PR creation will fail
2026-01-30 16:44:11 +01:00
d2e9abde6e common: more unit tests fixes
TZ needs to be defined, otherwise it was assumed to be local which
then resulted in unpredictable commit hashes. We define it to UTC
for unit tests

PR have state "open" not "opened"
2026-01-30 16:44:11 +01:00
a4f677690a pr: fix more unit tests 2026-01-30 16:44:10 +01:00
70460813f5 pr: merge new package 2026-01-30 16:44:10 +01:00
0651fe01d4 pr: implement first part of issue processing 2026-01-30 16:44:10 +01:00
e03fd0bdcf wip: process issues 2026-01-30 16:44:10 +01:00
c6ee055cb4 pr: add unit test for PrjGit PR to make sure we clone it
All checks were successful
go-generate-check / go-generate-check (push) Successful in 9s
This is unit test for previous commit
2026-01-30 16:23:25 +01:00
58e5547a91 pr: fix case where PrjGit not cloned
All checks were successful
go-generate-check / go-generate-check (push) Successful in 25s
When the PRSet is of size 1, so only PrjGit, the project git
may not be cloned. This breaks build preperations, etc.
2026-01-30 16:02:13 +01:00
c2709e1894 fix unit tests and mocks
All checks were successful
go-generate-check / go-generate-check (push) Successful in 8s
2026-01-28 10:50:36 +01:00
7790e5f301 Merge branch 'main' into always-review-nt 2026-01-27 15:45:12 +01:00
2620aa3ddd Merge branch 'always-review'
Some checks failed
go-generate-check / go-generate-check (push) Failing after 8s
2026-01-27 15:44:30 +01:00
59a47cd542 Merge branch 'pr-tests'
Some checks failed
go-generate-check / go-generate-check (push) Failing after 7s
2026-01-27 13:41:34 +01:00