interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / store / clone.om
| 1 | note store/clone.om: the clone panel of the store-reading build, composed after dl/dl.om in place of |
| 2 | note dl/dlclone.om (run.sh units with FORGE_STORE). It never shows a rad clone line. The Git over |
| 3 | note HTTPS line is shown only when the build was given a clone base (FORGE_CLONE_BASE, FSCB 1 in |
| 4 | note .build/store.om): <base>projects/<name>/repo.git, the store's own layout. The clone checkout and |
| 5 | note archive links are pinned to fpin (set by browse/brpinhd). The agent line of dl/dlclone.om (forge-contribute, which opens a Radicle |
| 6 | note patch) is left out: proposals move to Interplane's own records (interplane-native DESIGN.md |
| 7 | note step 3). |
| 8 | text tscl1 "<details class=\"clone pj-get\"><summary class=\"pj-btn\">Get this repository</summary><dl>" |
| 9 | text tscl2 "<dt>Git over HTTPS</dt><dd><code>git clone --no-checkout " |
| 10 | text tsclsp " " |
| 11 | text tscland " && git -C " |
| 12 | text tscldet " checkout --detach " |
| 13 | text tsclcm "/archive/commits/" |
| 14 | text tscl3 "</code></dd>" |
| 15 | text tscl4 "<dt>Source archive of " |
| 16 | text tscl5 "</dt><dd><a href=\"" |
| 17 | text tscl6 ".zip\">Download ZIP</a> · <a href=\"" |
| 18 | text tscl7 ".tar.gz\">tar.gz</a></dd></dl></details>\n" |
| 19 | fn dlclone to void |
| 20 | fput tscl1 |
| 21 | if eq FSCB 1 |
| 22 | i = get fridx 0 |
| 23 | if lt i get fan 0 |
| 24 | fput tscl2 |
| 25 | fesc tfcbase |
| 26 | fesc tfsprj |
| 27 | fputrn i |
| 28 | fesc tfsrg |
| 29 | fput tsclsp |
| 30 | fputrn i |
| 31 | fput tscland |
| 32 | fputrn i |
| 33 | fput tscldet |
| 34 | fputpin |
| 35 | fput tscl3 |
| 36 | end |
| 37 | end |
| 38 | fput tscl4 |
| 39 | fputpin |
| 40 | fput tscl5 |
| 41 | dlrepol |
| 42 | fput tsclcm |
| 43 | fputpin |
| 44 | fput tscl6 |
| 45 | dlrepol |
| 46 | fput tsclcm |
| 47 | fputpin |
| 48 | fput tscl7 |
| 49 | end |