Monorepo for Tangled tangled.org

appview/pages: use tangled.org (not .sh) in empty repo instructions #911

merged opened by octet-stream.net targeting master from octet-stream.net/core: thombles/empty-instructions

The instructions after setting up an empty repository on the tangled-hosted knot use the old hostname tangled.sh if you are using tangled's hosted knot:

https://misc.octet-stream.net/empty-repo-sh.png

This is not technically wrong but if you haven't set up your SSH key for the old domain in .ssh/config then the push fails and it's pretty confusing.

AFAICT this is a simple oversight. There is already an override in cloneDropdown.html:

    {{ $knot := .RepoInfo.Knot }}
    {{ if eq $knot "knot1.tangled.sh" }}
        {{ $knot = "tangled.org" }}
    {{ end }}

This file empty.html still shows

      {{ $knot := .RepoInfo.Knot }}
      {{ if eq $knot "knot1.tangled.sh" }}
          {{ $knot = "tangled.sh" }}
      {{ end }}

so this branch changes it to tangled.org.

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:txurc6ueald5d7462bpvzdby/sh.tangled.repo.pull/3maiijsk2rh22
+1 -1
Diff #0
+1 -1
appview/pages/templates/repo/empty.html
··· 26 26 {{ else if (and .LoggedInUser (eq .LoggedInUser.Did .RepoInfo.OwnerDid)) }} 27 27 {{ $knot := .RepoInfo.Knot }} 28 28 {{ if eq $knot "knot1.tangled.sh" }} 29 - {{ $knot = "tangled.sh" }} 29 + {{ $knot = "tangled.org" }} 30 30 {{ end }} 31 31 <div class="w-full flex place-content-center"> 32 32 <div class="py-6 w-fit flex flex-col gap-4">

History

1 round 1 comment
sign up or login to add to the discussion
octet-stream.net submitted #0
1 commit
expand
appview/pages: use tangled.org (not .sh) in empty repo instructions
expand 1 comment

lgtm thank you!

pull request successfully merged