Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages/templates,types: remove unused values

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
committer
Tangled
date (Jun 11, 2026, 10:52 AM +0300) commit e2b215b1 parent be0ee5df change-id vypxxpvz
+17 -32
+1 -1
appview/pages/templates/repo/fragments/og.html
··· 1 1 {{ define "repo/fragments/og" }} 2 2 {{ $title := or .Title .RepoInfo.FullName }} 3 - {{ $description := or .Description .RepoInfo.Description "A repository on Tangled" }} 3 + {{ $description := or .RepoInfo.Description "A repository on Tangled" }} 4 4 {{ $url := or .Url (printf "https://tangled.org/%s" .RepoInfo.FullName) }} 5 5 {{ $imageUrl := printf "https://tangled.org/%s/opengraph" .RepoInfo.FullName }} 6 6 {{ $ownerHandle := resolve .RepoInfo.OwnerDid }}
-1
appview/repo/index.go
··· 370 370 Readme: readmeContent, 371 371 ReadmeFileName: readmeFileName, 372 372 Commits: logResp.Commits, 373 - Description: "", 374 373 Files: files, 375 374 Branches: branchesResp.Branches, 376 375 Tags: tagsResp.Tags,
-2
knotmirror/xrpc/git_list_commits.go
··· 152 152 Commits: tcommits, 153 153 Ref: ref, 154 154 Page: (int(cursor) / limit) + 1, 155 - PerPage: limit, 156 155 Total: total, 157 - Log: true, 158 156 }, nil 159 157 }
-8
knotserver/xrpc/repo_log.go
··· 19 19 20 20 ref := r.URL.Query().Get("ref") 21 21 22 - path := r.URL.Query().Get("path") 23 22 cursor := r.URL.Query().Get("cursor") 24 23 25 24 limit := 50 // default ··· 72 71 Commits: tcommits, 73 72 Ref: ref, 74 73 Page: (offset / limit) + 1, 75 - PerPage: limit, 76 74 Total: total, 77 75 } 78 - 79 - if path != "" { 80 - response.Description = path 81 - } 82 - 83 - response.Log = true 84 76 85 77 x.writeJson(w, response) 86 78 }
+16 -20
types/repo.go
··· 6 6 ) 7 7 8 8 type RepoIndexResponse struct { 9 - IsEmpty bool `json:"is_empty"` 10 - Ref string `json:"ref,omitempty"` 11 - Readme string `json:"readme,omitempty"` 12 - ReadmeFileName string `json:"readme_file_name,omitempty"` 13 - Commits []Commit `json:"commits,omitempty"` 14 - Description string `json:"description,omitempty"` 15 - Files []NiceTree `json:"files,omitempty"` 16 - Branches []Branch `json:"branches,omitempty"` 17 - Tags []*TagReference `json:"tags,omitempty"` 18 - TotalCommits int `json:"total_commits,omitempty"` 9 + IsEmpty bool 10 + Ref string 11 + Readme string 12 + ReadmeFileName string 13 + Commits []Commit 14 + Files []NiceTree 15 + Branches []Branch 16 + Tags []*TagReference 17 + TotalCommits int 19 18 } 20 19 21 20 type RepoLogResponse struct { 22 - Commits []Commit `json:"commits,omitempty"` 23 - Ref string `json:"ref,omitempty"` 24 - Description string `json:"description,omitempty"` 25 - Log bool `json:"log,omitempty"` 26 - Total int `json:"total,omitempty"` 27 - Page int `json:"page,omitempty"` 28 - PerPage int `json:"per_page,omitempty"` 21 + Commits []Commit `json:"commits,omitempty"` 22 + Ref string `json:"ref,omitempty"` 23 + Total int `json:"total,omitempty"` 24 + Page int `json:"page,omitempty"` 29 25 } 30 26 31 27 type RepoCommitResponse struct { ··· 93 89 94 90 const ( 95 91 UpToDate ForkStatus = 0 96 - FastForwardable = 1 97 - Conflict = 2 98 - MissingBranch = 3 92 + FastForwardable ForkStatus = 1 93 + Conflict ForkStatus = 2 94 + MissingBranch ForkStatus = 3 99 95 ) 100 96 101 97 type ForkInfo struct {