interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / store / clone.om

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