alpha
Login
or
Join now
dunkirk.sh
/
core
forked from
tangled.org/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
Pulls
Pipelines
appview: handle deleted forks
author
Akshay
date
1 year ago
(Apr 13, 2025, 10:49 AM +0100)
commit
bcc8ca85
bcc8ca853fff6171632acd07cedf76e18386a82d
parent
8ca7ffdd
8ca7ffdd4a9c8726964776b1bc927bf1cef6262c
+8
-3
2 changed files
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
pulls
pulls.html
state
pull.go
+5
-1
appview/pages/templates/repo/pulls/pulls.html
Reviewed
···
80
80
</span>
81
81
{{ if not .IsPatchBased }}
82
82
<span>from
83
83
-
{{ if not .IsBranchBased }}
83
83
+
{{ if .IsForkBased }}
84
84
+
{{ if .PullSource.Repo }}
84
85
<a href="/{{ $owner }}/{{ .PullSource.Repo.Name }}" class="no-underline hover:underline">{{ $owner }}/{{ .PullSource.Repo.Name }}</a>
86
86
+
{{ else }}
87
87
+
<span class="italic">[deleted fork]</span>
88
88
+
{{ end }}
85
89
{{ end }}
86
90
87
91
<span class="text-xs rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white font-mono px-2 mx-1/2 inline-flex items-center">
+3
-2
appview/state/pull.go
Reviewed
···
369
369
pullSourceRepo, err = db.GetRepoByAtUri(s.db, p.PullSource.RepoAt.String())
370
370
if err != nil {
371
371
log.Printf("failed to get repo by at uri: %v", err)
372
372
-
return
372
372
+
continue
373
373
+
} else {
374
374
+
p.PullSource.Repo = pullSourceRepo
373
375
}
374
376
}
375
375
-
p.PullSource.Repo = pullSourceRepo
376
377
}
377
378
}
378
379