about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--pages/user-repos.md63
1 files changed, 43 insertions, 20 deletions
diff --git a/pages/user-repos.md b/pages/user-repos.md
index 302a17c..76b4135 100644
--- a/pages/user-repos.md
+++ b/pages/user-repos.md
@@ -6,15 +6,25 @@ author: gbmor
 
 # User git Repositories
 
-There's now an instance of [cgit](https://git.zx2c4.com/cgit) available for all users to enjoy. Unlike the previous git repo hosting platform I used, this does not require an additional signup. It's available directly from your home directory. Tagged versions are automatically bundled into `.tar.gz` archives and listed on the summary page.
+There's now an instance of [cgit](https://git.zx2c4.com/cgit) available
+for all users to enjoy. Unlike the previous git repo hosting platform
+I used, this does not require an additional signup. It's available
+directly from your home directory. Tagged versions are automatically
+bundled into `.tar.gz` archives and listed on the summary page.
 
-All repos can be viewed at [https://git.tilde.institute](https://git.tilde.institute)
+All repos can be viewed at
+[https://git.tilde.institute](https://git.tilde.institute)
 
 ## Creating the directory
 
-New users will not have to do this step. A `~/public_repos` file will exist in your home directory. If you were a user before this was set up (2020 May 1), you will need to create a symlink in your home directory pointing into location in the httpd chroot where cgit will scan for your repos.
+New users will not have to do this step. A `~/public_repos` link will
+exist in your home directory. If you were a user before this was set up
+(2020 May 1), you will need to create a symlink in your home directory
+pointing into location in the httpd chroot where cgit will scan for
+your repos.
 
-There should be a directory corresponding to your username at the following location:
+There should be a directory corresponding to your username at the
+following location:
 
 ```
 /var/www/cgit_repos/<USER>
@@ -28,7 +38,8 @@ ln -s /var/www/cgit_repos/$USER ~/public_repos
 
 ## Adding a repository
 
-Once `~/public_repos` exists, `cd` into it and create a directory for your repo:
+Once `~/public_repos` exists, `cd` into it and create a directory
+for your repo:
 
 ```
 mkdir foo.git
@@ -40,31 +51,33 @@ Change into *that* directory and initialize a bare repo:
 cd foo.git; git init --bare
 ```
 
-Now that the bare repo has been created, edit the file called `config` and append the following section:
+Now that the bare repo has been created, edit the file called `config`
+and append the following section:
 
 ```
 [gitweb]
     owner = user_name <user_name@tilde.institute>
-    description = My awesome repo!
 ```
 
-If you prefer, you can skip the `description` field above and just write out the text description of your repo into a file called `description`:
+Write out the text description of your repo into a file called
+`description`:
 
 ```
 echo "My awesome repo!" > description
 ```
 
-If both exist, the field in `config` will be favored by cgit.
-
 ## Setting up the remote
 
-If pushing from your home computer, add the following remote, replacing `<USER>` with your username at tilde.institute, and `<REPO>` with the repo name:
+If pushing from your home computer, add the following remote, replacing
+`<USER>` with your username at tilde.institute, and `<REPO>` with
+the repo directory:
 
 ```
 git remote add tilde.institute <USER>@tilde.institute:public_repos/<REPO>
 ```
 
-If pushing from your home directory on tilde.institute, use this format:
+If pushing from your home directory on tilde.institute, use this
+format:
 
 ```
 git remote add tilde.institute /home/<USER>/public_repos/<REPO>
@@ -78,19 +91,27 @@ git push -u tilde.institute master
 
 ## Checking the repo on [git.tilde.institute](git.tilde.institute)
 
-Your repo should now be available at `https://git.tilde.institute/<USER>/<REPO>`, without the `.git` extension on the repo's directory.
+Your repo should now be available at
+`https://git.tilde.institute/<USER>/<REPO>`, without the `.git`
+extension on the repo's directory.
 
-If something's wrong, double-check everything, and then jump into `#institute` on IRC.
+If something's wrong, double-check everything, and then jump into
+`#institute` on IRC.
 
 ## What about pull requests?
 
-These don't exist. I suggest directing people to use [git send-email](https://git-send-email.io) for patches.
+These don't exist. I suggest directing people to use [git
+send-email](https://git-send-email.io) for patches.
 
 ## Namespacing projects
 
-cgit will use the directory structure to namespace projects, if you want to group related repositories.
+cgit will use the directory structure to namespace projects, if you
+want to group related repositories.
 
-For example, say you have a project called `widget`, which comprises the two repos `libwidget` and `widget-cli`. One way to present this here would be to use the following directory structure in `~/public_repos`
+For example, say you have a project called `widget`, which comprises
+the two repos `libwidget` and `widget-cli`. One way to present
+this here would be to use the following directory structure in
+`~/public_repos`
 
 ```
 ~/public_repos/widget
@@ -106,17 +127,19 @@ $USER
   widget/widget-cli
 ```
 
-When setting up the remote in your local copy of the repo, you would use this for the `libwidget` example:
+When setting up the remote in your local copy of the repo, you would
+use this for the `libwidget` example:
 
 ```
-git remote add tilde.institute <USER>@tilde.institute:public_repos/widget/libwidget
+git remote add tilde.institute <USER>@tilde.institute:public_repos/widget/libwidget.git
 ```
 
 ## Misc
 
 You can link to just your own repos via `https://git.tilde.institute/<USER>`
 
-The following files will be parsed into an `about` page for a given repo, in order:
+The following files will be parsed into an `about` page for a given
+repo, in order:
 
 * `README`
 * `README.7`
pydoc pages' href='/akspecs/ranger/commit/doc/ranger.fsobject.directory.html?h=v1.1.0&id=f07bb12fc5c59430e995a64956b36331ce3629b9'>f07bb12f ^
4e9450f9 ^
f07bb12f ^
























4e9450f9 ^
f07bb12f ^










































b3556b21 ^



f07bb12f ^








1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373