alpha
Login
or
Join now
bdbch.com
/
core
Star
0
Fork
0
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
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
core
/
knotmirror
/
xrpc
/
at
master
1 folder
15 files
smit.codes
appview: zip download for repo
7w ago
1f1b83e6
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>
2 months ago
git_get_archive.go
appview: zip download for repo Implementation of [issue #581](https://tangled.org/tangled.org/core/issues/581). Adds a `zip` download when downloading a repo. Defaults to zip for windows, and `tar.gz` for non-windows with a dropdown to choose the preferred format. Signed-off-by: Smit Patil <smit@smit.codes>
1 month ago
git_get_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
git_get_branch.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
git_get_tag.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
2 months 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>
2 months ago
git_list_branches.go
knotmirror: temp git xrpc to use repodid Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago
git_list_commits.go
knotmirror/xrpc: `cat-file` based `listCommits` performance improvement for `listCommits` Signed-off-by: Seongmin Lee <git@boltless.me>
2 months 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>
2 months ago
inflight.go
knotmirror: add inflight api Signed-off-by: Seongmin Lee <git@boltless.me>
2 months ago
metrics.go
knotmirror/xrpc: add more prometheus metrics Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
2 months ago
proxy.go
appview/repo: detect readme file from appview Signed-off-by: Seongmin Lee <git@boltless.me>
2 months 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>
3 months ago
xrpc.go
*: fmt, remove a couple little frontend bits Lewis: May this revision serve well! <lewis@tangled.org>
2 months ago