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
25
Pipelines
core
/
knotmirror
/
xrpc
/
at
e2b215b1c0b8fd978cd21ccb2372bb39c305e96a
1 folder
15 files
Seongmin Lee
appview/pages/templates,types: remove unused values
3w ago
e2b215b1
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
appview/pages/templates,types: remove unused values Signed-off-by: Seongmin Lee <git@boltless.me>
3 weeks ago
git_get_blob.go
appview,knotmirror: redirect to knotmirror to serve raw contents Serving raw SVG from same origin can cause XSS attack. Using octet-stream for SVG file will break the README rendering. Thus, assuming knotmirror is hosted on different origin, appview will just redirect to knotmirror for all `/raw/` blob paths. Signed-off-by: Seongmin Lee <git@boltless.me>
3 weeks 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
appview/pages/templates,types: remove unused values Signed-off-by: Seongmin Lee <git@boltless.me>
3 weeks ago
git_list_languages.go
knotmirror/xrpc: git.listLanguages: default to HEAD when ref is empty Signed-off-by: Seongmin Lee <git@boltless.me>
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,knotmirror: redirect to knotmirror to serve raw contents Serving raw SVG from same origin can cause XSS attack. Using octet-stream for SVG file will break the README rendering. Thus, assuming knotmirror is hosted on different origin, appview will just redirect to knotmirror for all `/raw/` blob paths. Signed-off-by: Seongmin Lee <git@boltless.me>
3 weeks ago
repo_blob.go
knotmirror/xrpc: load submodule only when entry type is submodule. This still uses go-git, but at least only when we know the entry is submodule type. This change can improve performance of `getBlob` in most of the cases. 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