alpha
Login
or
Join now
evan.jarrett.net
/
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 — https://tangled.org
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
/
db
/
at
master
9 files
dawn
knotmirror: index commit activity by month
17d ago
f1da7f6f
commit_activity.go
knotmirror: index commit activity by month Signed-off-by: dawn <dawn@tangled.org>
2 weeks ago
commit_activity_test.go
knotmirror: index commit activity by month Signed-off-by: dawn <dawn@tangled.org>
2 weeks ago
db.go
knotfeed,spindle,knotmirror,appview: force feed cursor to its respective kind of feed Lewis: May this revision serve well! <did:plc:3fwecdnvtcscjnrx2p4n7alz>
2 weeks ago
hosts.go
knotfeed,spindle,knotmirror,appview: force feed cursor to its respective kind of feed Lewis: May this revision serve well! <did:plc:3fwecdnvtcscjnrx2p4n7alz>
2 weeks ago
hosts_test.go
knotfeed,spindle,knotmirror,appview: force feed cursor to its respective kind of feed Lewis: May this revision serve well! <did:plc:3fwecdnvtcscjnrx2p4n7alz>
2 weeks ago
migrations.go
knotmirror: key repos by repo_did + disk migration Lewis: May this revision serve well! <lewis@tangled.org>
4 months ago
migrations_list.go
knotmirror: index commit activity by month Signed-off-by: dawn <dawn@tangled.org>
2 weeks ago
repo_index.go
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>
4 months ago
repos.go
appview,knotmirror: follow knot firehose for deploys and mirrors Lewis: May this revision serve well! <did:plc:3fwecdnvtcscjnrx2p4n7alz> Signed-off-by: dawn <dawn@tangled.org>
2 weeks ago