Skip to content

Commit 784f139

Browse files
committed
Fix for #255
1 parent f19e2f8 commit 784f139

File tree

8 files changed

+43
-6
lines changed

8 files changed

+43
-6
lines changed

APLSource/Client/GetNoCachingFlag.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
⍝ If `uri` is not known a 0 is returned.
44
uri←ReplaceRegistryAlias uri
55
:If flag←(⊂uri)∊MyUserSettings.registries.uri
6-
flag←(MyUserSettings.GetRegistry uri).noCaching
6+
flag←(0 MyUserSettings.GetRegistry uri).noCaching
77
:EndIf

APLSource/Client/UserSettings.aplc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,20 +329,23 @@
329329
:EndIf
330330
331331

332-
∇ r←GetRegistry idOrUriOrAlias;bool
332+
∇ r←{unique}GetRegistry idOrUriOrAlias;bool
333333
⍝ Returns a Registry (as a namespace) or `⍬` in case the requested registry does not exist.
334334
⍝ `⍵` can be either a name or an alias.\\
335+
⍝ By default `idOrUriOrAlias` must be unique, but this can be overwritten with ⍺←0
335336
:Access Public Instance
337+
unique←{0<⎕NC ⍵:⍎⍵ ⋄ 1}'unique'
336338
'No Registry defined in the user settings'Assert 0<≢_registries
337339
:If ~∨/bool←_registries.id≡¨⊂idOrUriOrAlias ⍝ Is it a UUID?
338340
:AndIf 0=+/bool←EqualsAliasOrName idOrUriOrAlias
339341
('Registry <',idOrUriOrAlias,'> not found in user settings')Assert∨/bool
340342
:EndIf
341343
'Unknown'Assert 0<+/bool
342-
'Found more than two Registries'Assert 1=+/bool ⍝ idOrUriOrAlias might be found more than once but with different aliases and API keys
344+
'Found more than two Registries'Assert(~unique)∨1=+/bool ⍝ idOrUriOrAlias might be found more than once but with different aliases and API keys
343345
r←(bool⍳1)⊃_registries
344346
345347

348+
346349
∇ r←Delete flag;filename;buff
347350
⍝ Call this in order to delete the currently instantiated user settings file.\\
348351
⍝ Returns 1 in case the file was successfully deleted otherwise (Blocked by another process, already deleted...)

APLSource/Registry/History.apla

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
(
2-
'* 0.121.1 ⋄ 2025-07-22'
2+
'* 0.121.1 ⋄ 2025-08-08'
33
' * Dependencies updated: aplteam-APLProcess, MarkAPL, HttpCommand, Plodder, HandleError'
44
' * Bug fixes'
5-
' * #248, #251'
5+
' * #248'
6+
' * #251'
7+
' * #255'
68
'* 0.121.0 ⋄ 2025-07-11'
79
' * Potentially breaking change: The API function `ListPackages` returns a different result now for a local install path'
810
' * Technical debt removed'

APLSource/Registry/Version.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
r←Version
22
⍝ See also `History`
3-
r←'Tatin' '0.121.1-beta-8+2101' '2025-08-01'
3+
r←'Tatin' '0.121.1+2104' '2025-08-09'

Assets/docs/ReleaseNotes.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ <h2 id="toc-heading">Table of contents</h2>
2424

2525
<div class="toc-container">
2626
<ul id="toc-list" class="hide print">
27+
<li class="toc-entry toc-h2"><a href="#version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</a></li>
2728
<li class="toc-entry toc-h2"><a href="#version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</a></li>
2829
<li class="toc-entry toc-h2"><a href="#version-01200-from-2025-05-03">Version 0.120.0 from 2025-05-03</a></li>
2930
<li class="toc-entry toc-h2"><a href="#version-01190-from-2025-03-12">Version 0.119.0 from 2025-03-12</a></li>
@@ -81,6 +82,14 @@ <h2 id="toc-heading">Table of contents</h2>
8182
<p>Tatin release notes contain information regarding actions that need to be executed before a new version can be used, or outstandingly important pieces of information.</p>
8283
<p>This document does not come with a complete list of fixes, added features etc. Consult <a href="https://github.com/aplteam/Tatin" class="external_link">Tatin on GitHub</a> for that.</p>
8384
<div class="h_tag">
85+
<a href="#version-01211-from-2025-08-08" id="version-01211-from-2025-08-08" class="autoheader_anchor">
86+
<h2 data-id="Version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</h2>
87+
</a>
88+
</div>
89+
<ul>
90+
<li>No action required</li>
91+
</ul>
92+
<div class="h_tag">
8493
<a href="#version-01210-from-2025-07-10" id="version-01210-from-2025-07-10" class="autoheader_anchor">
8594
<h2 data-id="Version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</h2>
8695
</a>

TestServer/Server/Assets/docs/ReleaseNotes.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ <h2 id="toc-heading">Table of contents</h2>
2424

2525
<div class="toc-container">
2626
<ul id="toc-list" class="hide print">
27+
<li class="toc-entry toc-h2"><a href="#version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</a></li>
2728
<li class="toc-entry toc-h2"><a href="#version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</a></li>
2829
<li class="toc-entry toc-h2"><a href="#version-01200-from-2025-05-03">Version 0.120.0 from 2025-05-03</a></li>
2930
<li class="toc-entry toc-h2"><a href="#version-01190-from-2025-03-12">Version 0.119.0 from 2025-03-12</a></li>
@@ -81,6 +82,14 @@ <h2 id="toc-heading">Table of contents</h2>
8182
<p>Tatin release notes contain information regarding actions that need to be executed before a new version can be used, or outstandingly important pieces of information.</p>
8283
<p>This document does not come with a complete list of fixes, added features etc. Consult <a href="https://github.com/aplteam/Tatin" class="external_link">Tatin on GitHub</a> for that.</p>
8384
<div class="h_tag">
85+
<a href="#version-01211-from-2025-08-08" id="version-01211-from-2025-08-08" class="autoheader_anchor">
86+
<h2 data-id="Version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</h2>
87+
</a>
88+
</div>
89+
<ul>
90+
<li>No action required</li>
91+
</ul>
92+
<div class="h_tag">
8493
<a href="#version-01210-from-2025-07-10" id="version-01210-from-2025-07-10" class="autoheader_anchor">
8594
<h2 data-id="Version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</h2>
8695
</a>

docs/ReleaseNotes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Tatin release notes contain information regarding actions that need to be execut
1111

1212
This document does not come with a complete list of fixes, added features etc. Consult [Tatin on GitHub](https://github.com/aplteam/Tatin) for that.
1313

14+
## Version 0.121.1 from 2025-08-08
15+
16+
* No action required
17+
1418
## Version 0.121.0 from 2025-07-10
1519

1620
* The API function `Client.ListPackagesInInstallFolder` returned two columns in earlier versions; now it returns four columns.
@@ -423,5 +427,6 @@ No breaking changes, no user actions required.
423427

424428

425429

430+
426431

427432

html/ReleaseNotes.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ <h2 id="toc-heading">Table of contents</h2>
2424

2525
<div class="toc-container">
2626
<ul id="toc-list" class="hide print">
27+
<li class="toc-entry toc-h2"><a href="#version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</a></li>
2728
<li class="toc-entry toc-h2"><a href="#version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</a></li>
2829
<li class="toc-entry toc-h2"><a href="#version-01200-from-2025-05-03">Version 0.120.0 from 2025-05-03</a></li>
2930
<li class="toc-entry toc-h2"><a href="#version-01190-from-2025-03-12">Version 0.119.0 from 2025-03-12</a></li>
@@ -81,6 +82,14 @@ <h2 id="toc-heading">Table of contents</h2>
8182
<p>Tatin release notes contain information regarding actions that need to be executed before a new version can be used, or outstandingly important pieces of information.</p>
8283
<p>This document does not come with a complete list of fixes, added features etc. Consult <a href="https://github.com/aplteam/Tatin" class="external_link">Tatin on GitHub</a> for that.</p>
8384
<div class="h_tag">
85+
<a href="#version-01211-from-2025-08-08" id="version-01211-from-2025-08-08" class="autoheader_anchor">
86+
<h2 data-id="Version-01211-from-2025-08-08">Version 0.121.1 from 2025-08-08</h2>
87+
</a>
88+
</div>
89+
<ul>
90+
<li>No action required</li>
91+
</ul>
92+
<div class="h_tag">
8493
<a href="#version-01210-from-2025-07-10" id="version-01210-from-2025-07-10" class="autoheader_anchor">
8594
<h2 data-id="Version-01210-from-2025-07-10">Version 0.121.0 from 2025-07-10</h2>
8695
</a>

0 commit comments

Comments
 (0)