alpha
Login
or
Join now
tangled.org
/
core
Star
5
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled
tangled.org
Star
5
Fork
66
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
12
Pulls
26
Pipelines
core
/
knotmirror
/
xrpc
/
at
249b32e86afb6dc07a4eb4e82b609644bfc215c2
1 folder
15 files
oppiliappan
knotmirror/xrpc: add missing author info to GitTempGetTree_LastCommit
5w ago
9849f353
gitea
knotmirror: performant language indexer `git.listLanguages` has been one of the method that fails most often. Opening multiple git repos simultaneously can eaily cause OOM and language indexing itself usually takes super long. So several changes: - use `gitea.CatFileBatch` instead of go-git to avoid OOM - skip files larger than 16KB - sync HEAD ref language stats in knotmirror db - cache language stats info by commits (30d TTL) When syncing HEAD ref language stats, we do indexing on background. KnotMirror maintains internal "repo_stats_update" queue and right after `doResync` is done, enqueue the language stat indexing job so we can pre-index the language stats of HEAD ref. It's ok to spam this queue because all later events will be eventually ignored as we are resolving HEAD lazily. Signed-off-by: Seongmin Lee <git@boltless.me>
1 month ago
git_get_archive.go
knotmirror/xrpc: add missing author info to GitTempGetTree_LastCommit seems to have been lost after the recent changes to use `git cat-file --batch`. Signed-off-by: oppiliappan <me@oppi.li>
1 month ago
git_get_blob.go
knotmirror: prefer `cat-file --buffer` for frequent endpoints ideally we should use this everywhere and completely remove the go-git dependency. go-git consumes a lot of memory for large repos because it loads pack index into heap memory. This is preferred way of other go based git forges like go-git. lots of code are copied from go-git implementation and slightly modified to match tangled's data model. Signed-off-by: Seongmin Lee <git@boltless.me>
1 month ago
git_get_branch.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
git_get_tag.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
git_get_tree.go
knotmirror/xrpc: add missing author info to GitTempGetTree_LastCommit seems to have been lost after the recent changes to use `git cat-file --batch`. Signed-off-by: oppiliappan <me@oppi.li>
1 month ago
git_list_branches.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
git_list_commits.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
git_list_languages.go
*: fmt, remove a couple little frontend bits Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
git_list_tags.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago
inflight.go
knotmirror: add inflight api Signed-off-by: Seongmin Lee <git@boltless.me>
1 month ago
metrics.go
knotmirror/xrpc: add more prometheus metrics Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
1 month ago
proxy.go
appview/repo: detect readme file from appview Signed-off-by: Seongmin Lee <git@boltless.me>
1 month ago
repo_blob.go
knotmirror: prefer `cat-file --buffer` for frequent endpoints ideally we should use this everywhere and completely remove the go-git dependency. go-git consumes a lot of memory for large repos because it loads pack index into heap memory. This is preferred way of other go based git forges like go-git. lots of code are copied from go-git implementation and slightly modified to match tangled's data model. Signed-off-by: Seongmin Lee <git@boltless.me>
1 month ago
sync_request_crawl.go
knotmirror: key repos by repo_did + disk migration Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
xrpc.go
*: fmt, remove a couple little frontend bits Lewis: May this revision serve well! <lewis@tangled.org>
1 month ago