alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
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.
This repository has no description
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
2
Pulls
1
Pipelines
core
/
knotserver
3 folders
10 files
at
c53523738c723abf96181d65a4da93db1c30d15e
oppiliappan
knotserver,hook: setup default post-receive hook on startup
1y ago
c5352373
config
knotserver,hook: setup default post-receive hook on startup this also populates the script with the correct executable path for the `knot` command. Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
db
lexicons: rename, format and other required changes
1 year ago
git
knotserver: git: improve performance of last_commit_time uses `git log --name-only` to speed things along. the performance tradeoff here is that active repositories tend to load last-commit times really quickly, but directories with one file that was modified 20k commits ago will result in the entire log being walked through. git-log command is parsed as it streams to avoid having to wait for the entire command to complete, and as soon as the entire directory's listing is hydrated, we cancel the command. most of the time, this results in hydration of subdirectories also (this gets cached), resulting in good experience when browsing a repo (typically moving down directories gets faster with each click, as fewer files need hydration). Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
file.go
all: rename module to tangled.sh/tangled.sh/core
1 year ago
git.go
knotserver: git: improve protocol handling - Disable caching of responses as suggested by documentation. <https://git-scm.com/docs/http-protocol#_smart_server_response> - Return plain-text errors so the git client will display them. - Check Content-Type of upload-pack request.
1 year ago
handler.go
appview: rework RepoLanguages - move endpoint on knot to /{did}/{name}/languages - remove buggy percentage calculation - fix endpoint to work on empty repos - allowing calling endpoint with empty ref
1 year ago
http_util.go
knotserver: implement /merge and /merge/check endpoints /:did/:repo/merge is only ever used when actually performing the merge, so by this point all conflicts should've been rectified and the merge *should* succeed. This is the appview's responsibility. /:did/:repo/merge/check checks for mergeability, and can be used to repeatedly check as the supplied patch is updated by the submitter.
1 year ago
internal.go
all: rename module to tangled.sh/tangled.sh/core
1 year ago
jetstream.go
lexicons: rename, format and other required changes
1 year ago
middleware.go
defer last event time in appview ingester
1 year ago
routes.go
knotserver: calculate repoindex items in parallel performing rev-list and filetree in sequential occupy a large amount of the client budget. we can parallelize all these expensive operations. Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
server.go
knotserver,hook: setup default post-receive hook on startup this also populates the script with the correct executable path for the `knot` command. Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
util.go
all: use securejoin
2 years ago