diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/showcase/gemtext_format.go | 2 | ||||
| -rw-r--r-- | internal/showcase/showcase_test.go | 4 | ||||
| -rw-r--r-- | internal/version/version.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/internal/showcase/gemtext_format.go b/internal/showcase/gemtext_format.go index 11935e7..26c93f7 100644 --- a/internal/showcase/gemtext_format.go +++ b/internal/showcase/gemtext_format.go @@ -232,6 +232,6 @@ func writeProjectLinks(builder *strings.Builder, summary ProjectSummary) { builder.WriteString(fmt.Sprintf("=> %s View on GitHub\n", summary.GitHubURL)) } if summary.CgitURL != "" { - builder.WriteString(fmt.Sprintf("=> %s View in cgit\n", summary.CgitURL)) + builder.WriteString(fmt.Sprintf("For cgit access go to c-git dot f3s dot buetow dot org slash %s\n", summary.Name)) } } diff --git a/internal/showcase/showcase_test.go b/internal/showcase/showcase_test.go index 09d707f..625414f 100644 --- a/internal/showcase/showcase_test.go +++ b/internal/showcase/showcase_test.go @@ -162,8 +162,8 @@ func TestFormatGemtext_IncludesCgitLink(t *testing.T) { }, }) - if !strings.Contains(content, "=> https://cgit.f3s.buetow.org/cpuinfo/ View in cgit\n") { - t.Fatalf("cgit link was not rendered: %s", content) + if !strings.Contains(content, "For cgit access go to c-git dot f3s dot buetow dot org slash cpuinfo\n") { + t.Fatalf("cgit hint text was not rendered: %s", content) } } diff --git a/internal/version/version.go b/internal/version/version.go index 3983eef..9ecdead 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -7,7 +7,7 @@ import ( var ( // Version is the current version of gitsyncer - Version = "0.18.3" + Version = "0.18.4" // GitCommit is the git commit hash at build time GitCommit = "unknown" |
