Monorepo for Tangled tangled.org
856
fork

Configure Feed

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

knotserver: create a fork PR link #341

open opened by willdot.net targeting master from willdot.net/tangled-fork: fork-pr-command

This should allow the PR link when pushing, to cater for forks.

Full disclosure, I haven't tested this because I can't get my local knot setup to work properly 🫠

Signed-off-by: Will Andrews did:plc:dadhhalkfcq3gucaq25hjqon

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.pull/3ml7kaijyha22
+4
Interdiff #2 #3
+4
knotserver/git/git.go
··· 13 13 "time" 14 14 15 15 "github.com/go-git/go-git/v5" 16 + gogit "github.com/go-git/go-git/v5" 16 17 "github.com/go-git/go-git/v5/config" 17 18 "github.com/go-git/go-git/v5/plumbing" 18 19 "github.com/go-git/go-git/v5/plumbing/object" ··· 283 284 284 285 func (g *GitRepo) Remote() (string, error) { 285 286 remote, err := g.r.Remote("origin") 287 + if errors.Is(err, gogit.ErrRemoteNotFound) { 288 + return "", nil 289 + } 286 290 if err != nil { 287 291 return "", err 288 292 }
knotserver/internal.go

This file has not been changed.

knotserver/internal_test.go

This file has not been changed.

History

5 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
knotserver: create a fork PR link
merge conflicts detected
expand
  • knotserver/git/git.go:13
  • knotserver/internal.go:8
expand 0 comments
1 commit
expand
knotserver: create a fork PR link
expand 0 comments
1 commit
expand
knotserver: create a fork PR link
expand 0 comments
1 commit
expand
knotserver: create a fork PR link
expand 0 comments
1 commit
expand
knotserver: create a fork PR link
expand 0 comments