Skip to content

Commit

Permalink
New version of GitHubAPIv3 (fix for #140)
Browse files Browse the repository at this point in the history
  • Loading branch information
aplteam committed Aug 28, 2023
1 parent 3385ec1 commit 0528368
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
19 changes: 11 additions & 8 deletions APLSource/GitHubAPIv3.aplc
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@

rVersion
:Access Public Shared
r'GitHubAPIv3' '1.0.0+24' '2020-06-06'
r'GitHubAPIv3' '1.0.1' '2023-08-28'

History
:Access Public Shared
* 1.0.1
* Domain of the function `CastTagname2Number` extended: Major and minor nmber might both carry 3 digits,
while a build number might carry up to 5 digits.
* 1.0.0
* This release comes with several breaking changes due to a re-design:
1. It does not depend on .NET anymore, meaning is works on Linux and Mac-OS without .NET
Expand Down Expand Up @@ -189,11 +192,11 @@
Assumptions:
* `text` may or may not start with a non-digit. All leading non-digit characters are ignored.\\
Therefore both `1.2.3` and `v.1.2.3` are valid input.
* No part is allowed to start with a zero followd by a non-zero digit. Therefore 1.0.0 is valid input but
* No part is allowed to start with a zero followed by a non-zero digit. Therefore 1.0.0 is valid input but
01.2.3, 1.02.3 and 1.2.03 are not.
* The remaining `text` must consist of nothing but digits and dots.
* The first two numbers ("major" and "minor") must not be bigger than 99.
* The third number ("path") must not be bigger than 999.
* The first two numbers ("major" and "minor") must not be bigger than 999.
* The third number ("patch") must not be bigger than 9999.
* The optional last (forth) number must not be bigger than 99999.
* `text` must come either with three numbers (as in `1.2.3`) or with four number (as in `1.2.3.9999`).
If the tag name does not fulfil the assumptions the conversion might fail; in that case `⍬` is
Expand All @@ -214,14 +217,14 @@
:AndIf 3 4bool
vec{34}vec
:If 3=vec
:If /100 100 1000>vec
:AndIf 0=number100 100 1000vec
:If /1000 1000 10000>vec
:AndIf 0=number1000 1000 10000vec
number
:EndIf
:Else
:If ~/100 100 1000 100000>vec
:If ~/1000 1000 10000 100000>vec
number
:ElseIf 0=number100 100 1000 100000vec
:ElseIf 0=number1000 1000 10000 100000vec
number
:EndIf
number÷100000
Expand Down
3 changes: 2 additions & 1 deletion APLSource/Registry/History.apla
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(
'* 0.100.1 ⋄ 2023-08-28'
' * Bug fixes'
' * CheckBuildlist sometimes rebuilt the build list when there was need to do this due to strange things'
' * Updating with ]Tatin.UpdateTatin did not work because the minor number was larger than 99'
' * CheckBuildlist sometimes rebuilt the build list when there was no need to do this due to strange things'
' happening under Windows with the milliseconds of modification time of files.'
'* 0.100.0 ⋄ 2023-08-24'
' * `]ReInstallDependencies` now accepts a Cider alias instead of a path'
Expand Down
2 changes: 1 addition & 1 deletion APLSource/Registry/Version.aplf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rVersion
See also `History`
r'Tatin' '0.101.0+1624' '2023-08-28'
r'Tatin' '0.100.1+1627' '2023-08-28'
2 changes: 1 addition & 1 deletion packages/apl-buildlist.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ packageID: [ "aplteam-ZipArchive-1.1.0", "aplteam-WindowsEventLog-3.0.1", "aplteam-Tester2-3.5.0", "aplteam-SMTP-1.0.0", "aplteam-OS-3.1.1", "aplteam-MarkAPL-11.0.5", "aplteam-IniFiles-5.0.3", "aplteam-HashPasswords-1.0.1", "aplteam-HandleError-4.1.4", "aplteam-GitHubAPIv3-1.0.0", "aplteam-FilesAndDirs-5.5.0", "aplteam-DotNetZip-2.1.0", "aplteam-CommTools-1.5.0", "aplteam-CodeCoverage-0.10.3", "aplteam-APLTreeUtils2-1.2.0", "aplteam-APLProcess-0.5.1", "dyalog-HttpCommand-5.1.14", ], principal: [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
{ packageID: [ "aplteam-ZipArchive-1.1.0", "aplteam-WindowsEventLog-3.0.1", "aplteam-Tester2-3.5.0", "aplteam-SMTP-1.0.0", "aplteam-OS-3.1.1", "aplteam-MarkAPL-11.0.5", "aplteam-IniFiles-5.0.3", "aplteam-HashPasswords-1.0.1", "aplteam-HandleError-4.1.4", "aplteam-GitHubAPIv3-1.0.1", "aplteam-FilesAndDirs-5.5.0", "aplteam-DotNetZip-2.1.0", "aplteam-CommTools-1.5.0", "aplteam-CodeCoverage-0.10.3", "aplteam-APLTreeUtils2-1.2.0", "aplteam-APLProcess-0.5.1", "dyalog-HttpCommand-5.1.14", ], principal: [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
Expand Down
2 changes: 1 addition & 1 deletion packages/apl-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ aplteam-DotNetZip-2.1.0
aplteam-FilesAndDirs-5.5.0
aplteam-HandleError-4.1.4
aplteam-APLProcess-0.5.1
aplteam-GitHubAPIv3-1.0.0
aplteam-HashPasswords-1.0.1
aplteam-GitHubAPIv3-1.0.1

0 comments on commit 0528368

Please sign in to comment.