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
/
git
1 folder
14 files
at
d21e9ec6a4e7c6c33352fc94f115f2585ecd0473
oppiliappan
knotserver/git: add common test utilities
6mo ago
d21e9ec6
service
knotserver: remove 'uploadPack.allowFilter' config override in UploadPack This is better set in a global configuration file, and is set in the default config for the nix module anyway. Signed-off-by: tjh <x@tjh.dev>
8 months ago
branch.go
knotserver/xrpc: add sh.tangled.repo.deleteBranch Signed-off-by: oppiliappan <me@oppi.li>
10 months ago
cmd.go
knotserver/git: refactor command runner Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
diff.go
patchutil,types: implement DiffRenderer interface for all diffs types.NiceDiff and patchutil.Interdiff now implement the new interface. this allows us to remove the differing rendering logic necessary to present each kind of diff.
7 months ago
fork.go
knotserver: use local clones if repo is hosted on the same knot detect the host to clone from and use a local clone if possible. Signed-off-by: oppiliappan <me@oppi.li>
8 months ago
git.go
appview,knotserver: support lockable http tarball protocol the lockable http tarball protocol is meant to serve tarball flakes, by emitting a stable `Link` header: Link: <flakeref>; rel="immutable" this patch now supports the new header in two places, on the appview, at the `/archive/<ref>.tar.gz` endpoint: λ nix flake metadata -v --refresh --no-write-lock-file 'http://127.0.0.1:3000/oppi.li/repo-19-01-26-08-04-14/archive/main.tar.gz' unpacking 'http://127.0.0.1:3000/oppi.li/repo-19-01-26-08-04-14/archive/main.tar.gz' into the Git cache... warning: not writing modified lock file of flake 'http://127.0.0.1:3000/oppi.li/repo-19-01-26-08-04-14/archive/main.tar.gz': • Added input 'nixpkgs': 'github:nixos/nixpkgs/bde09022887110deb780067364a0818e89258968?narHash=sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo%2Bw8KsY4%3D' (2026-01-19) Resolved URL: http://127.0.0.1:3000/oppi.li/repo-19-01-26-08-04-14/archive/main.tar.gz Locked URL: http://127.0.0.1:3000/did:plc:qfpnj4og54vl56wngdriaxug/repo-19-01-26-08-04-14/archive/a63d945ae97b84812e394207f3cc80f6525c2082.tar.gz?narHash=sha256-IdKT88RIWvWrgQFx6c%2BX3cC7JFene%2BQI9yo2rKSGoA4%3D Path: /nix/store/0k9pv83f0qn5cm0qy82j51plryk7szx7-source Fingerprint: 9512ee4857b31a76c1112f05161bda5280d8596b866c4f78986c6c01c1d2f419 Inputs: └───nixpkgs: github:nixos/nixpkgs/bde09022887110deb780067364a0818e89258968?narHash=sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo%2Bw8KsY4%3D (2026-01-19 00:39:23) and on the knotserver, when using the `/xrpc/sh.tangled.repo.archive` endpoint: λ nix flake metadata -v --refresh --no-write-lock-file "http://localhost:5555/xrpc/sh.tangled.repo.archive?format=tar.gz&prefix=&ref=main&repo=did%3Aplc%3Aqfpnj4og54vl56wngdriaxug%2Frepo-19-01-26-08-04-14" unpacking 'http://localhost:5555/xrpc/sh.tangled.repo.archive?format=tar.gz&prefix=&ref=main&repo=did:plc:qfpnj4og54vl56wngdriaxug/repo-19-01-26-08-04-14' into the Git cache... warning: not writing modified lock file of flake 'http://localhost:5555/xrpc/sh.tangled.repo.archive?format=tar.gz&prefix=&ref=main&repo=did:plc:qfpnj4og54vl56wngdriaxug/repo-19-01-26-08-04-14': • Added input 'nixpkgs': 'github:nixos/nixpkgs/bde09022887110deb780067364a0818e89258968?narHash=sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo%2Bw8KsY4%3D' (2026-01-19) Resolved URL: http://localhost:5555/xrpc/sh.tangled.repo.archive?format=tar.gz&prefix=&ref=main&repo=did:plc:qfpnj4og54vl56wngdriaxug/repo-19-01-26-08-04-14 Locked URL: http://localhost:5555/xrpc/sh.tangled.repo.archive?format=tar.gz&narHash=sha256-IdKT88RIWvWrgQFx6c%2BX3cC7JFene%2BQI9yo2rKSGoA4%3D&prefix=&ref=a63d945ae97b84812e394207f3cc80f6525c2082&repo=did:plc:qfpnj4og54vl56wngdriaxug/repo-19-01-26-08-04-14 Path: /nix/store/0k9pv83f0qn5cm0qy82j51plryk7szx7-source Fingerprint: 9512ee4857b31a76c1112f05161bda5280d8596b866c4f78986c6c01c1d2f419 Inputs: └───nixpkgs: github:nixos/nixpkgs/bde09022887110deb780067364a0818e89258968?narHash=sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo%2Bw8KsY4%3D (2026-01-19 00:39:23) note that the "Resolved URL" includes a hash of the commit. Co-authored-by: Seongmin Lee <git@boltless.me> Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
language.go
knotserver: detect bun.lock files as generated this is a patch fix, the real fix would be to add this to go-enry's list of generated file names. Signed-off-by: oppiliappan <me@oppi.li>
11 months ago
last_commit.go
knotserver/git: improve lastCommit calculations for dirs and files bigger portions of the logic for directories and files are now shared. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
merge.go
knotserver/git: rework merge check to also use `git am` we were using `git apply` in merge check and `git am` for the actual merge, but in reality, there are slight behavior changes among the two. this change switches out `git apply` in `mergeCheck` to use `git am` when dealing with mailbox style patches. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
merge_test.go
appview: fix vet nits somehow missed this. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
post_receive.go
all: rename go module to tangled.org/core Sets up a special-case handler for serving tangled.org/core go module, plus some misc. .sh -> .org renames. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
10 months ago
repo.go
set default branch from KNOT_REPO_MAIN_BRANCH
1 year ago
tag.go
knotserver: fix sort order of tags Signed-off-by: oppiliappan <me@oppi.li>
10 months ago
test_common.go
knotserver/git: add common test utilities makes it easier to setup and teardown git repos for tests Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
tree.go
knotserver/xrpc: return last commit info in tree responses Signed-off-by: oppiliappan <me@oppi.li>
6 months ago