Commit graph

18 commits

Author SHA1 Message Date
6543
8519bba527
tryUpstream always use targetOpt generated by tryBranch 2022-11-12 19:11:19 +01:00
6543
24039fd18a
'%s' -> %q 2022-11-12 00:21:45 +01:00
6543
8c3b74518c
cache branch not found and only log error if error != NotFound 2022-11-11 15:27:18 +01:00
6543
218b52094e
more log 2022-11-07 23:01:31 +01:00
6543
40478215d0
handle serve raw case 2022-09-18 21:56:56 +02:00
6543
9626d3a8a0
add debugging from 091e6c8ed9 back 2022-09-18 19:50:41 +02:00
6543
bcb7d773d1
readd err debug 2022-09-18 19:47:20 +02:00
Gusted
091e6c8ed9 Add explicit logging in GetBranchTimestamp (#130)
- Logs are currently indicating that it's returning `nil` in valid
scenarios, therefor this patch adds extra logging in this code to
better understand what it is doing in this function.

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/130
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2022-09-18 16:13:27 +02:00
6543
ea13ac0e92
fix lint issues and tests 2022-08-28 16:53:30 +02:00
6543
dc41a4caf4 Add Support to Follow Symlinks and LFS (#114)
close #79
close #80
close #91

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/114
2022-08-12 06:40:12 +02:00
6543
a8afb372dd
more caching in-client 2022-07-27 15:39:46 +02:00
6543
61b959a93b
refactor client api 2022-07-21 21:53:22 +02:00
6543
02bd942b04 Move gitea api calls in own "client" package (#78)
continue #75
close #16
- fix regression (from #34) _thanks to @crystal_
- create own gitea client package
- more logging
- add mock impl of CertDB

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: crystal <crystal@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/78
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
2022-06-11 23:02:06 +02:00
6543
4267d54a63 refactor (2) (#34)
move forward with refactoring:
 - initial implementation of a smal "gitea client for fasthttp"
 - move constant into const.go

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/34
Reviewed-by: Otto Richter <otto@codeberg.org>
2022-04-20 23:42:01 +02:00
6543
f5d0dc7447 Add pipeline (#65)
close #54

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/65
Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org>
2022-03-27 21:54:06 +02:00
6543
77e39b2213
unexport if posible 2021-12-05 16:24:26 +01:00
6543
de4706bf58
rm 2rm 2021-12-05 15:53:46 +01:00
6543
38426c26db
move upstream into own package 2021-12-05 14:48:52 +01:00