git.fiddlerwoaroof.com
Browse code

chore: cleanup org eval

Edward Langley authored on 31/10/2023 10:00:26
Showing 1 changed files
... ...
@@ -18,7 +18,7 @@
18 18
 
19 19
   To run the tests in a clean environment, you can do (this will eventually be a Github Action):
20 20
 
21
-  #+BEGIN_SRC sh
21
+  #+BEGIN_SRC sh :noeval
22 22
     docker run \
23 23
       -v $PWD/docker-run:/code fiddlerwoaroof/sbcl-static:latest \
24 24
       --load /code/main.lisp
... ...
@@ -26,7 +26,7 @@
26 26
 
27 27
 ** Installation
28 28
 
29
-   #+BEGIN_SRC sh
29
+   #+BEGIN_SRC sh :noeval
30 30
      % git clone https://github.com/fiddlerwoaroof/fwoar.lisputils.git "$HOME/quicklisp/local-projects/fwoar-lisputils"
31 31
      % git clone https://github.com/fiddlerwoaroof/cl-git.git "$HOME/quicklisp/local-projects/cl-git"
32 32
      % sbcl --load "$HOME/quicklisp/setup.lisp"
... ...
@@ -43,7 +43,7 @@
43 43
     #+END_SRC
44 44
 
45 45
     #+RESULTS:
46
-    : #<LOOSE-REF 6df34e of #<GIT-REPOSITORY {70070BD663}> {700777A1C3}>
46
+    : #<LOOSE-REF b2b470 of #<GIT-REPOSITORY {7012363393}> {7012373413}>
47 47
 
48 48
 
49 49
 *** Show the commit message
... ...
@@ -54,7 +54,7 @@
54 54
     #+END_SRC
55 55
 
56 56
     #+RESULTS:
57
-    : feat: finish delta handling
57
+    : chore: update README.org
58 58
 
59 59
 *** Show the messages of the commit's parent
60 60
 
... ...
@@ -68,14 +68,14 @@
68 68
     #+END_SRC
69 69
 
70 70
     #+RESULTS:
71
-    : ("refactor: use the pack CLOS object more
71
+    : ("feat: finish delta handling
72 72
     : ")
73 73
 
74 74
 *** Show the files in a commit
75 75
     - Note taken on [2020-11-15 Sun 01:49] \\
76 76
       If the table comes out wrong, =*print-case*= must be =:downcase=
77 77
 
78
-    #+BEGIN_SRC lisp :exports both :results table :hlines yes :post proc
78
+    #+BEGIN_SRC lisp :exports both :results table :hlines yes :post proc(data=*this*)
79 79
       (co.fwoar.git:in-repository ".")
80 80
       (list* '("Name" "Mode" "Hash")
81 81
              'hline
... ...
@@ -93,7 +93,7 @@
93 93
     | .gitignore          | 100644 | 8a9fe9f77149f74fed5c05388be8e5ffd4a31678 |
94 94
     | .projectile         | 100644 | e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 |
95 95
     | LICENSE             | 100644 | 0306819e780fa57dc3bf6b99a0a059670b605ae0 |
96
-    | README.org          | 100644 | 30c30131c80ea4cf6ebe1882dc195f841264f67f |
96
+    | README.org          | 100644 | 30c1be9ff875959c1d00d266d380d2792267177c |
97 97
     | branch.lisp         | 100644 | 6ee2b1e254e7895d55ecd534b2fa16267ec14389 |
98 98
     | co.fwoar.cl-git.asd | 100644 | b46a0006889e11b609a3712e3580056613e29adc |
99 99
     | commit.lisp         | 100644 | 01a443c09232db495b1babfeef98e708a0d3e0b5 |
... ...
@@ -118,7 +118,7 @@
118 118
     - Note taken on [2020-11-15 Sun 01:49] \\
119 119
       If the table comes out wrong, =*print-case*= must be =:downcase=
120 120
 
121
-    #+BEGIN_SRC lisp :exports both :results table :hlines yes :post proc
121
+    #+BEGIN_SRC lisp :exports both :results table :hlines yes :post proc(data=*this*)
122 122
       (co.fwoar.git:with-repository (".")
123 123
         (let* ((branch (co.fwoar.git:branch "master"))
124 124
                (tree (co.fwoar.git:tree branch))
... ...
@@ -157,7 +157,7 @@
157 157
 
158 158
     A workaround for the moment is to manually unpack the pack files:
159 159
 
160
-    #+BEGIN_SRC sh
160
+    #+BEGIN_SRC sh :noeval
161 161
       mkdir tmp
162 162
       mv .git/objects/pack/* tmp
163 163
       for pack in tmp/*.pack; do
... ...
@@ -167,7 +167,7 @@
167 167
 
168 168
     Or, you can undeltify the packs by, first unpacking the packfile as above and then doing:
169 169
 
170
-    #+BEGIN_SRC sh
170
+    #+BEGIN_SRC sh :noeval
171 171
       git repack --window=0
172 172
     #+END_SRC
173 173
 
... ...
@@ -183,10 +183,12 @@
183 183
 *** TODO start implementing Pharo-like git integration (read-only first, commits later)
184 184
 
185 185
 #+name: proc
186
-#+begin_src emacs-lisp
186
+#+begin_src emacs-lisp :var data=()
187 187
   (mapcar (lambda (it)
188 188
             (if (equal it 'HLINE)
189 189
                 'hline
190 190
               it))
191
-          ,*this*)
191
+          data)
192 192
 #+end_src
193
+
194
+#+RESULTS: proc