Check-in [fc356541b6]
Not logged in
Overview
Comment:Further fixes, add more docs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fc356541b6cbf24a461b9ebe72bc7d9672bfcd00
User & Date: mistachkin on 2025-09-27 01:37:01
Other Links: manifest | tags
Context
2025-09-27
01:42
Bump version to 1.0.11. check-in: c6bedf13c4 user: mistachkin tags: trunk
01:37
Further fixes, add more docs. check-in: fc356541b6 user: mistachkin tags: trunk
01:28
Updates to README. check-in: 0939f53cd9 user: mistachkin tags: trunk
Changes

Modified README.md from [c686f3b4f9] to [d576564f5d].

277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
* Keep security guarantees intact: never merge changes that weaken signature checks or disable verification by default. (Harpy and OpenPGP verification are core to pkgt.)

---

## License

This project is available under the **BSD 3‑Clause** license. See [LICENSE](./LICENSE).

---

### References & further reading

* **Repo overview & purpose**: *“securely obtain and use packages for both Tcl and Eagle”* — GitHub repo description.
* **Initial import & file layout** (client libraries, indices, tools, externals, docs).
* **Version file** (`client/1.0/neutral/VERSION`: 1.0.10).
* **Security & architecture slides** (Tcl’16 talk: Package Repository Client & Server).

---

> *Maintainers:* if you’d like, I can also add a minimal **Makefile** (or simple `tclsh`/`Eagle` scripts) to automate `setup → install → smoke-test` locally using the helper entry points above.







<
<
<
<
<
<
<
<
<
<
<
<
<
277
278
279
280
281
282
283













* Keep security guarantees intact: never merge changes that weaken signature checks or disable verification by default. (Harpy and OpenPGP verification are core to pkgt.)

---

## License

This project is available under the **BSD 3‑Clause** license. See [LICENSE](./LICENSE).













Modified README.md.asc from [aba8ca5e0b] to [e01cab4c41].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-----BEGIN PGP SIGNATURE-----
Comment: Eagle Package Repository

iQIzBAABCAAdFiEEw8dROIPu3TrtH+QlUCyWr0ldwtkFAmjXPX4ACgkQUCyWr0ld
wtm6JRAAw9+9wHS5f/figcowP84HpvJzuLCoFtSc0JeAVS4cRQ2zsGdmf5k0Z0i7
VWbxN80gqVGdZRa1wvr9Vkfs50oYHBCAMS6aEEdZLtclEBD7NTIW5cl9b4ZaAzGb
JQ1A+GF9VYbI9bfeSfGkuxfHXHfSHkGRgoqB1ZKWdn4uMWJ+lmjj3thahIcCDKKB
V+IpUN5yuXtErpF4fLBX1hKVcFsN61fw0uwXPRpt9JH/SLnXOp6+apxKLIY8khN7
jcqhR8fzlqMMGEZzVR5IrS5g5wH9ZcnvQIUPJF7/GRSp08nk17wcPub52ofmBL4g
u+LHgjrKKimwAnw/UM/Qvf9nRYTQQiL59UWr80+E0TEgcxPvHOoQ/xJBoF+PXIqV
5uU5qtvgbJPdEurkdU7+xglFrFYLzqqkGs/XxtT53GrhwxjlPt3Y2IWQI+n1Yd5W
OuVommixqZc+FgAAxLUioHuYxaUJJIrXA1MbZtFcg7a/6PQ2JTY+lEjQUdwDy34Z
ZzHu+rkLFK8zvqp6Jip2Mw7Ot1ENOG4qkxOFwug4NXGLmfxRP0r0/OfHK68b/PO6
LUHE/TQ6BKGlXp8PVKBkWJ/hOBiveu9ebclEzVtSysaL8af3cALxwnDjP0TbWb3u
g7mb78Gba4zUy6IR/CY9rJhUxYbkLB/LQ19jlTbpbDyrdBW17Oo=
=xMwn
-----END PGP SIGNATURE-----



|
|
|
|
|
|
|
|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-----BEGIN PGP SIGNATURE-----
Comment: Eagle Package Repository

iQIzBAABCAAdFiEEw8dROIPu3TrtH+QlUCyWr0ldwtkFAmjXP6UACgkQUCyWr0ld
wtkfOw//VOmf+kG0p+Jqb3+gVqf/2WnpiuA259//wCESCJXXe0Lc79fo010rrTi5
7QjsjNzStEf6BRAGnhzQm0Hxge1S56OdLvTLFX1kwQL3PELa94ivWk9/S9p8WO75
Hi8s71iF4dVkMAQsoOOULcBiNzkfcgldyO06z4P/kLNxLgRbChRp/UNoSNkcY8vj
zgDAgrHLrlv8t/t69CQEZAJSlCCX2SZXhS1ABO9JBQXvM6I/b89HksQNymZ216AS
zb/B8iAZ5RZUaMd2M1+CUN/VMm3eRL3E9GN+xvzYvh3DHjwBAQ6ZG+C6m/0A8I8U
IFWkuyg7an1/iV/RYuqSnsBPnyd6LW8XDtkp0ht7W001jN4zrXIWp9kigfIMLARJ
KN8zysqsAOc2WamNfPiw8Db3CqLFlWbUbgVI8GptxxkFROknJ/T6WQuvwlsAkCtZ
Txtj6ImIlCx98as4AE8Ms622rYLQ1xrNb688n0ZAZEi3KjhqnezRcv1uMV2uZymF
9G9NFKdJ79kpcWWpQvu2Gr/u8LpHS4Vw1do20gzxCz5T1kHQZ/yYAYlzidB/58Jk
UVWxSO7I+g/lqdFiyzzMiBNfBJdGXvbr5OhNHwCpo+8J7FfMsclATEGRNS5+KR+P
tKaXdv/JffWa90L5XlcVbX9pI9DL3nzBciFONCPPlAmnwOD4Nq4=
=XpJL
-----END PGP SIGNATURE-----

Added doc/redirector_v1.html version [51039daeba].

















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
<div class="fossil-doc" data-title="URN Server API v1"><br>

<big><big><span style="font-family: monospace;">Generated [2024-07-19 @ 22:45:55 UTC] from checkout [73bc68921b84696364b052de4e9c43d341efae9d 2024-07-19 22:42:16 UTC]</span></big></big><br><br><hr><br>


<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=27">hasPerms</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure returns non-zero if the logged-in user has the<br>
specified named permission -OR- the server has been configured in<br>
such a way to permit anybody to have it, e.g. any user may lookup<br>
packages.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=124">emitFormStart</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;title&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML to start a &lt;FORM&gt; element<br>
suitable for use with Fossil and optionally having a title to be used<br>
as header text.  The name must not contain any characters reserved in<br>
HTML; however, the title will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=141">emitHidden</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a hidden form element<br>
that has a name and value.  The name must not contain any characters<br>
reserved in HTML; however, the value will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=151">emitTextBox</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;size&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a text box form element<br>
that has a name, value, and size.  The name and size must not contain<br>
any characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=161">emitTextArea</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;rows&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;columns&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a text area form<br>
element that has a name, value, rows, and columns.  The name, rows,<br>
and columns must not contain any characters reserved in HTML; however,<br>
the value will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=171">emitCheckBox</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a check box form<br>
element that has a name and value.  The name must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=187">emitSubmitButton</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a submit button form<br>
element that has a name and value.  The name must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=195">emitFormEnd</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML to end a &lt;FORM&gt; element<br>
suitable for use with Fossil.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=205">sql_function_regexp</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure is used to implement a SQL function for SQLite.<br>
It implements the REGEXP function (and its associated operator) by<br>
using the Tcl [regexp] command.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=216">isValidApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;writing&quot; with default value &quot;false&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid API key.  An API key has no relationship to a Fossil check-in<br>
hash, even though it may look like one.  The emptyOk argument can be<br>
non-zero if the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=237">isValidOwnerName</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
suitable for use as an owner (entity) name.  Only the Latin alphabet<br>
and the space character are allowed.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=251">isValidMessage</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid (log) message.  It must be valid Base64 data and the encoded<br>
length is limited to 256K.  Therefore, the unencoded length limit is<br>
about 192K.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=285">isValidScriptName</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid script name.  The emptyOk argument can be non-zero if the<br>
caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=298">isValidGuid</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value<br>
is a valid GUID string.  The emptyOk argument can be non-zero if<br>
the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=314">isValidHash</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid SHA1 hash.  This has no relationship to a Fossil check-in<br>
hash, even though it may look like one.  The emptyOk argument can be<br>
non-zero if the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=327">verifyMessageAgainstHash</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;hmacKey&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;message&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;hash&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified message string,<br>
which must be Base64 encoded, validates based on the specified HMAC<br>
key and hash.  This procedure does not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=357">appendLogFile</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;fileName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;data&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure appends binary data to the specified log file.  No<br>
trailing new line is emitted.  The log file may be created if needed.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=369">hasOnlyNormalChars</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to determine if the specified string has<br>
only web-printable ASCII characters.  Non-zero will be returned if<br>
that is the case.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=382">htmlize</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTML<br>
escaped version of the specified string value.  If TH1 integration is<br>
not available for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=403">httpize</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTTP<br>
escaped version of the specified string value.  If TH1 integration is<br>
not available for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=420">getTablePreHeader</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;title&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTML<br>
necessary for some header text to accompany a table containing data.<br>
The title will be HTML escaped.  If TH1 integration is not available<br>
for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=453">emitLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;href&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
(arbitrary) page.  The href argument must be a properly formed URI<br>
and must not contain any characters reserved in HTML; however, the<br>
value will be properly escaped.  The value will be used as the text<br>
for the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=464">emitBoldLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;href&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
(arbitrary) page.  The href argument must be a properly formed URI<br>
and must not contain any characters reserved in HTML; however, the<br>
value will be properly escaped.  The value will be used as the text<br>
for the link -AND- it will have bold styling.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=475">emitCodeLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;code&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
page within the Fossil repository.  The code argument must be a URN<br>
name and must not contain any characters reserved in HTML; however,<br>
the value will be properly escaped.  The value will be used as the<br>
text for the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=493">emitFormLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;extra&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
documentation page within the Fossil repository.  It is hard-coded<br>
to the latest trunk check-in.  The name argument must be the name<br>
of an existing wiki, markdown, or TH1 page and must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.  The extra argument is designed to facilitate inclusion of<br>
arbitrary query parameters.  It should be an empty string if query<br>
parameters are not required.  The value will be used as the text for<br>
the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=511">emitFormBoldLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;extra&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
documentation page within the Fossil repository.  It is hard-coded<br>
to the latest trunk check-in.  The name argument must be the name<br>
of an existing wiki, markdown, or TH1 page and must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.  The extra argument is designed to facilitate inclusion of<br>
arbitrary query parameters.  It should be an empty string if query<br>
parameters are not required.  The value will be used as the text for<br>
the link -AND- it will have bold styling.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=39">setupLogGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  It must not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=50">getLogDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of log messages.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=101">openAndSetupLogDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;functions&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of log messages<br>
and enable the options it needs, e.g. via PRAGMA, etc.  The custom<br>
function is registered when the functions argument is non-zero.<br>
The readOnly argument should be non-zero to prevent writes to the<br>
database.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=130">getLogKeyIdFromApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKey&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to obtain an Id based on an API key.<br>
Another connection to the database of variable names and values<br>
will be opened and closed by this procedure, even if one is already<br>
open.  An empty string will be returned if the API key is not found;<br>
otherwise, a non-empty string will be returned, which will be the<br>
integer identifier associated with the API key.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=159">getIdAndHmacKeyFromApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKey&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to obtain an Id and HMAC key based on<br>
an API key.  Another connection to the database of variable names<br>
and values will be opened and closed by this procedure, even if<br>
one is already open.  An empty list will be returned if the API<br>
key is not found; otherwise, a two element list will be returned,<br>
where the first element is the integer identifier associated with<br>
the API key and the second element is the HMAC key associated with<br>
the API key.  This is shared by the &quot;log.tcl&quot; and &quot;var.tcl&quot; files.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=183">formatElapsed</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;seconds&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;ago&quot; with default value &quot;&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to convert the specified number of<br>
seconds into a reasonable, easy-to-read string, approximately<br>
representing its duration.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl&amp;ln=246">maybeCreateLogWhereClause</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/log.tcl">log.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;type&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;reviewed&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;whereClauseVarName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;whereTextVarName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to create a WHERE clause for the log<br>
table of the database, based on a list of search terms filtered<br>
by using equality and/or LIKE operators.  If the list of search<br>
terms is empty, there will be an empty WHERE clause.  The return<br>
value of this procedure is undefined.  In terms of tables, only<br>
the &quot;log&quot; table is actually referenced by this procedure; however,<br>
that being said, callers are (obviously?) may include other tables<br>
in their final SQL query.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl&amp;ln=40">setupPasswordGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl">password.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  If Tcl integration is not available for<br>
any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl&amp;ln=49">getPasswordDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl">password.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of passwords.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl&amp;ln=98">openAndSetupPasswordDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/password.tcl">password.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of passwords and<br>
enable the options it needs, e.g. via PRAGMA, etc.  The readOnly<br>
argument should be non-zero to prevent writes to the database.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl&amp;ln=40">setupSecretGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl">secret.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  If Tcl integration is not available for<br>
any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl&amp;ln=49">getSecretDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl">secret.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of secrets.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl&amp;ln=98">openAndSetupSecretDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl">secret.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of secrets and<br>
enable the options it needs, e.g. via PRAGMA, etc.  The readOnly<br>
argument should be non-zero to prevent writes to the database.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl&amp;ln=123">getSecretKeyIdFromApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/secret.tcl">secret.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKey&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to obtain an Id based on an API key.<br>
Another connection to the database of variable names and values<br>
will be opened and closed by this procedure, even if one is already<br>
open.  An empty string will be returned if the API key is not found;<br>
otherwise, a non-empty string will be returned, which will be the<br>
integer identifier associated with the API key.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/time.tcl&amp;ln=39">setupTimeGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/time.tcl">time.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  It must not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/time.tcl&amp;ln=53">getTimeInUtc</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/time.tcl">time.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;raw&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the current time (as UTC) as a formatted<br>
value -OR- as a raw number of (wide integer) milliseconds since the<br>
Unix epoch.  The raw argument can be non-zero if the caller wishes<br>
to obtain the raw number of (wide integer) milliseconds since the<br>
Unix epoch.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=50">setupUrnGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  If Tcl integration is not available for<br>
any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=84">getUrnDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of URNs.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=133">openAndSetupUrnDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;functions&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of URNs and enable<br>
the options it needs, e.g. via PRAGMA, etc.  The readOnly argument<br>
should be non-zero to prevent writes to the database.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=164">hasFallbackCodePrefix</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;code&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;prefixVarName&quot; with default value &quot;&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;codeVarName&quot; with default value &quot;&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure checks if the specified URN code has a prefix<br>
that looks like a fallback.  In that case, extract the server and<br>
link identifiers from the code argument and modify the specified<br>
variable names, from the prefixVarName and codeVarName arguments,<br>
in the context of the caller to contain the server identifier and<br>
link identifier, respectively.  A non-zero value will be returned<br>
if the fallback detection was successful.  This procedure should<br>
not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=204">getFallbackUri</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;prefix&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;code&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure formats a URI, using the fallback prefix and code<br>
values obtained from the [hasFallbackCodePrefix] procedure.  This<br>
procedure cannot really fail and should not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl&amp;ln=218">hasVariableCodePrefix</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/urn.tcl">urn.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;code&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;varName&quot; with default value &quot;&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure checks if the specified URN code has a prefix<br>
that looks like a network variable reference.  In that case, extract<br>
the name of the referenced network variable from the code argument<br>
and modify the specified variable name, from the varName argument, in<br>
the context of the caller to contain the name of the referenced<br>
network variable.  A non-zero value will be returned if the network<br>
variable name detection was successful.  This procedure should not<br>
raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl&amp;ln=39">setupVarGlobals</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl">var.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure initializes the global variables used by this script<br>
file.  There are no arguments.  It must not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl&amp;ln=50">getVarDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl">var.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of variable names and values.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl&amp;ln=100">openAndSetupVarDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/var.tcl">var.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of variable names<br>
and values and enable the options it needs, e.g. via PRAGMA, etc.<br>
The readOnly argument should be non-zero to prevent writes to the<br>
database.<br>
</blockquote><br><hr><br>
</div>

Added doc/redirector_v1.html.asc version [dd7c0b377d].





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJmmu0VAAoJEFAslq9JXcLZ8UYQAKda3gWNSq7nqvAw3cIS9mOH
0ynOr3cKMl1l+DlGfr59WUjsYImGFZbFRKKJcOsUTK7UqHWFM+VGCzaK7+TWVgcE
0Ke7WmjKskO1DnrQT8vABVTDfuAH8fUS1Vu6LM4hnqiuLpLPPmKpnTbBSq9pi4da
eW8icToKbHyDZsV9kdro5u2S51eoNIfkbvita3fVRw6A91U4cVckTJs+CaahACF6
dThTYIgqjm0dxwn20Vr4U5fi9mpdN2hd/meA4gyloHoxfp9e0oBf3r5rVHn/+Hc/
Y8llcb75l55vghxMV81ea9pm+m0wVvZrVm54nLLk329BmKgGO3B4FnwjfB2EPWj6
WWz+qHZf+9Uo0F40mynoT6Xp3I2ffKoZZ0Pvk/QkrlhZHhT2Op490Yy/bK+b5ENk
fOKly2JzeiVNAE9jlzgUH7K7ZH+LbelaRy/+KzARrxHYUTrTokcW254VleP838ZF
pMf1o4N4Gd8r8OQhqcl0kAI5M/juL2nA/Th45NGpyhuC0YIRvd3STK5nNxlAXp8O
93X4eYR7IbHzTONuZ2+OD0Nxy7AaqitQ7SR/IwODX3Aer9hTdLJZ1q2WX51hOr7i
IRpsEg48m5fCiN8WxXDl33foIdOA3cGpOH/nqeQQM3TY2dqv64GZAqYEBgsD4LGO
eeSZ0jgfiIV4EBuyB0lz
=erM3
-----END PGP SIGNATURE-----

Added doc/repository_v1.html version [0b698db26d].









































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<div class="fossil-doc" data-title="Package Server API v1"><br>

<big><big><span style="font-family: monospace;">Generated [2024-07-19 @ 22:45:50 UTC] from checkout [37ee0abdb35c344b4645e35f4d1e0566c4983317 2024-07-13 18:56:46 UTC]</span></big></big><br><br><hr><br>


<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=27">hasPerms</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure returns non-zero if the logged-in user has the<br>
specified named permission -OR- the server has been configured in<br>
such a way to permit anybody to have it, e.g. any user may lookup<br>
packages.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=124">emitFormStart</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;title&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML to start a &lt;FORM&gt; element<br>
suitable for use with Fossil and optionally having a title to be used<br>
as header text.  The name must not contain any characters reserved in<br>
HTML; however, the title will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=141">emitHidden</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a hidden form element<br>
that has a name and value.  The name must not contain any characters<br>
reserved in HTML; however, the value will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=151">emitTextBox</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;size&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a text box form element<br>
that has a name, value, and size.  The name and size must not contain<br>
any characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=161">emitTextArea</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;rows&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;columns&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a text area form<br>
element that has a name, value, rows, and columns.  The name, rows,<br>
and columns must not contain any characters reserved in HTML; however,<br>
the value will be properly escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=171">emitCheckBox</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a check box form<br>
element that has a name and value.  The name must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=187">emitSubmitButton</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML for a submit button form<br>
element that has a name and value.  The name must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=195">emitFormEnd</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>

<blockquote style="font-family: monospace;"><br>
This TH1 procedure emits the necessary HTML to end a &lt;FORM&gt; element<br>
suitable for use with Fossil.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=205">sql_function_regexp</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure is used to implement a SQL function for SQLite.<br>
It implements the REGEXP function (and its associated operator) by<br>
using the Tcl [regexp] command.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=216">isValidApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;writing&quot; with default value &quot;false&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid API key.  An API key has no relationship to a Fossil check-in<br>
hash, even though it may look like one.  The emptyOk argument can be<br>
non-zero if the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=237">isValidOwnerName</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
suitable for use as an owner (entity) name.  Only the Latin alphabet<br>
and the space character are allowed.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=251">isValidMessage</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid (log) message.  It must be valid Base64 data and the encoded<br>
length is limited to 256K.  Therefore, the unencoded length limit is<br>
about 192K.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=285">isValidScriptName</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid script name.  The emptyOk argument can be non-zero if the<br>
caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=298">isValidGuid</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value<br>
is a valid GUID string.  The emptyOk argument can be non-zero if<br>
the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=314">isValidHash</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid SHA1 hash.  This has no relationship to a Fossil check-in<br>
hash, even though it may look like one.  The emptyOk argument can be<br>
non-zero if the caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=327">verifyMessageAgainstHash</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;hmacKey&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;message&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;hash&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified message string,<br>
which must be Base64 encoded, validates based on the specified HMAC<br>
key and hash.  This procedure does not raise script errors.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=357">appendLogFile</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;fileName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;data&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure appends binary data to the specified log file.  No<br>
trailing new line is emitted.  The log file may be created if needed.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=369">htmlize</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTML<br>
escaped version of the specified string value.  If TH1 integration is<br>
not available for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=379">httpize</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTTP<br>
escaped version of the specified string value.  If TH1 integration is<br>
not available for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=389">getTablePreHeader</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;title&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure (which uses a Fossil TH1 command) returns the HTML<br>
necessary for some header text to accompany a table containing data.<br>
The title will be HTML escaped.  If TH1 integration is not available<br>
for any reason, a script error will be raised.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=422">emitLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;href&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
(arbitrary) page.  The href argument must be a properly formed URI<br>
and must not contain any characters reserved in HTML; however, the<br>
value will be properly escaped.  The value will be used as the text<br>
for the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=433">emitBoldLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;href&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
(arbitrary) page.  The href argument must be a properly formed URI<br>
and must not contain any characters reserved in HTML; however, the<br>
value will be properly escaped.  The value will be used as the text<br>
for the link -AND- it will have bold styling.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=444">emitCodeLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;code&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
page within the Fossil repository.  The code argument must be a URN<br>
name and must not contain any characters reserved in HTML; however,<br>
the value will be properly escaped.  The value will be used as the<br>
text for the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=462">emitFormLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;extra&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
documentation page within the Fossil repository.  It is hard-coded<br>
to the latest trunk check-in.  The name argument must be the name<br>
of an existing wiki, markdown, or TH1 page and must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.  The extra argument is designed to facilitate inclusion of<br>
arbitrary query parameters.  It should be an empty string if query<br>
parameters are not required.  The value will be used as the text for<br>
the link.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl&amp;ln=480">emitFormBoldLink</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/common.tcl">common.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;name&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;extra&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns the HTML necessary for a link to another<br>
documentation page within the Fossil repository.  It is hard-coded<br>
to the latest trunk check-in.  The name argument must be the name<br>
of an existing wiki, markdown, or TH1 page and must not contain any<br>
characters reserved in HTML; however, the value will be properly<br>
escaped.  The extra argument is designed to facilitate inclusion of<br>
arbitrary query parameters.  It should be an empty string if query<br>
parameters are not required.  The value will be used as the text for<br>
the link -AND- it will have bold styling.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=42">sql_function_vsatisfies</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument list &quot;args&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure is used to implement a SQL function for SQLite.<br>
It compares two package requirement strings; however, it will only<br>
return zero (i.e. package requirement not satisfied) or one (i.e.<br>
package requirement satisfied).<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=74">sql_collation_patchlevel_compare</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;a&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;b&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure is used to implement a SQL collation for SQLite.<br>
It compares two package versions.  If the first package version is<br>
less than the second, negative one will be returned.  If the package<br>
versions are equal, zero is returned.  If the first package version<br>
is greater than the second, one will be returned.  This procedure<br>
may not raise script errors.  This collation is critically important<br>
for the database of packages and may of the associated SQL queries<br>
rely on it.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=105">fixForTip268</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;version&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a patch level that replaces any &quot;alpha&quot;<br>
or &quot;beta&quot; suffix with an appropriate numerical value that will sort<br>
less than zero (i.e. which is presumed to be an officially released<br>
version, e.g. RTM).  This procedure is compliant with TIP #268.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=114">isValidPackageName</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid package name.  The emptyOk argument can be non-zero if the<br>
caller wishes to permit an empty string.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=132">isValidPackageVersion</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
a valid package version.  This should not be confused with a package<br>
requirement (e.g. TIP #268).  The emptyOk argument can be non-zero<br>
if the caller wishes to permit an empty string.  The package version<br>
must consist of between two and four dot-separated integers, each<br>
with a value greater than or equal to zero.  It is recommended that<br>
each dot-separated integer have a value less than or equal to 65535,<br>
primarily for reasons of portability.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=146">isValidPackageRequirement</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;value&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;rangeOk&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Optional argument &quot;emptyOk&quot; with default value &quot;false&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns non-zero if the specified string value is<br>
The emptyOk argument can be non-zero if the caller wishes to permit<br>
an empty string.  The rangeOk argument can be non-zero if the caller<br>
wishes to allow a range of versions.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=192">getPkgDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;varName&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a fully qualified path and file name for<br>
the database of packages.  There are no arguments.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=249">openAndSetupPkgDb</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;cmdName&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;readOnly&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;functions&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to open the database of packages and<br>
enable the options it needs, e.g. via PRAGMA, etc.  The custom<br>
collation is always required.  The custom function is registered<br>
when the functions argument is non-zero.  The readOnly argument<br>
should be non-zero to prevent writes to the database.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=280">getOwnerFromApiKey</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKey&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;fullOnly&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure attempts to obtain the name of the owner based on<br>
an API key.  Another connection to the database of packages will be<br>
opened and closed by this procedure, even if one is already open.<br>
An empty string will be returned if the owner cannot be found.  The<br>
fullOnly argument can be non-zero to indicate that read-only API<br>
keys should not be considered.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=310">prepareSqlApiKeys</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKeys&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure accepts a comma-delimited list of API keys and<br>
creates two arrays in the context of the immediate caller.  The<br>
sqlApiKeys array will be modified to contain only those API keys.<br>
The sqlApiKeyNames array will be modified to contain only all the<br>
qualified array element names of the sqlApiKeys array.<br>
</blockquote><br><hr><br>

<big><big><span style="font-family: monospace;">Private Procedure &quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl&amp;ln=350">combineWithReaderApiKeys</a>&quot;&nbsp;(from&nbsp;&quot;<a href="$ROOT/artifact?ci=trunk&amp;filename=tcl/package.tcl">package.tcl</a>&quot;)</span></big></big><br>
<br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKey&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;apiKeys&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;package&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;version&quot;</span></big><br>

<big><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;Required argument &quot;exact&quot;</span></big><br>

<blockquote style="font-family: monospace;"><br>
This Tcl procedure returns a comma-delimited list of API keys with<br>
at least read access.  The returned list will be a logical union<br>
of the API keys specified by the apiKey and apiKeys arguments -AND-<br>
the active (read-only) API keys associated with authorized readers<br>
of packages matching the specified criteria.  The apiKey argument<br>
is an optional (extra) API key to include in the final list.  The<br>
apiKeys argument is an optional comma-delimited list of API keys to<br>
include in the final list.  The optional package argument is a name<br>
or glob pattern used to filter the list of packages.  The optional<br>
version argument is a package version or TIP #268 requirement used<br>
to filter the list of packages.  The boolean exact argument should<br>
be non-zero to use exact matching for the package name -OR- zero to<br>
use glob pattern matching for the package name.  Another connection<br>
to the database of packages will be opened and closed by this<br>
procedure, even if one is already open.  This procedure may raise<br>
script errors.<br>
</blockquote><br><hr><br>
</div>

Added doc/repository_v1.html.asc version [1d4b124ef7].





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJmmu0NAAoJEFAslq9JXcLZ/CAP/1HhqL6fJ/EPxLVyE/uahMFG
UIsNP3jTDmeFS6AH0TteE8X5LxFuwJtihVkfGtzY0knTo112OCL/SqtQvFvXHcP4
xT32FVYJmm0QG11LF4ZG5BUT1lsq7EfgEfXLRRIcMwnL5tU2UFHmBdmrlZVZr6kn
y/yKXisn9g4i3VIl6ZpWJ5SRM2JOlISP9FOkagZcVYucXYlK6sj3+ETVd0LDE2gV
z5y/M2oRJsQeseJ9u8ZTCP4DdkfpkiQPUlG4Bbji5TwrPeiaaKgwnUUtm2+vN0OC
dSnKgDZPVWlMklgLM2/B2ll879cQNqU+1H3a78IA+xyZsqH4bvlEvx7H1RVtI3tv
XvUvyQda7ClhQScCn9hP4jDt3GmeFZnP9SJ/IOMhp64nzpZBfhEs5IAuj6zb96FS
LMQDto4TE60qpB88u0HVL1WRX8rdGGpvNQ3yR3Re2+3mgRUA6yc5uTOWoTId7Csc
jycdiNKFmnZVEm/jm9JUs/T5QNJPVYBuZgTjZtI+BCuOw4QcwtVYftJwcS78mK5C
xoDzYZXd7sppRFDunIS5Bgkog5HSTaA8Uf4mjp06BKMcmsURHa86U2lkZgOBL3Y3
Poqh2P1gun7L6xq8ad96dClYyGXWTInKS8wlpl+rRzhDweI9rX2VA8rkxK2RHgJ7
G01NGOejRNzu6rVTQNrD
=QAJf
-----END PGP SIGNATURE-----

Name change from doc/v1.html to doc/toolset_v1.html.

Name change from doc/v1.html.asc to doc/toolset_v1.html.asc.