Skip to content

Commit

Permalink
Report on Git enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
aplteam committed Oct 18, 2024
1 parent 852ff08 commit 80eb3c7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions APLSource/Cider/AddCiderVersionNumber.aplf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cfgAddCiderVersionNumber cfg
Either adds Cider's version number to the config file or overwrites it.
It also checks whether there is a property CIDER.version and deletes it if so.
This is because this was introduced into new projects by accident.
This was introduced into new projects by accident for a while after "version" was renamed to "cider_version"
cfg.CIDER.cider_version{¯1+'+'}Version
⎕trap0'S'
∘∘∘
cfg.CIDER.⎕EX'version'
Done
8 changes: 6 additions & 2 deletions APLSource/Cider/CheckForGit.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
:Return
:EndTrap
:If 0=parms.batch
status((,[0.5]'Git status report')'='),status
status,'Git branches: ',{,', ',}/2¨APLGit2.ListBranches''
:If /'No commits yet'status
(3status)'Nothing has been commited yet, therefore branches cannot be reported'
:Else
(3status)'Git branches: '{0=:'No other branches' ,{,', ',}/}2¨APLGit2.ListBranches path
:EndIf
TODO⍝ Add stash info if any
status((,[0.5]'Git status report')'='),status
:If gitStatus=1
{{}(#.⎕NS'').(⎕ED('ReadOnly' 1)&{'GIT_Status_Report'}GIT_Status_Report)}status
:Else
Expand Down
6 changes: 3 additions & 3 deletions APLSource/Cider/History.apla
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(
'* 0.44.0 ⋄ 2024-10-??'
' * `]OpenProject`''s reporting on Git enhanced and treamlined'
' * `]OpenProject`''s reporting on Git enhanced and streamlined'
' * Bug fixes'
' * The file `cider.config.template` wrongly came with a property `CIDER.version`. As a result,'
' `CreateProject` injected this wrongly into the new file `cider.config` '
' * The file `cider.config.template` wrongly came with a property `CIDER.version`. '
' As a result, `CreateProject` injected this wrongly into the new file `cider.config` '
'* 0.43.2 ⋄ 2024-10-13'
' * Git status report improved'
' * Bug fixes:'
Expand Down
2 changes: 1 addition & 1 deletion APLSource/Cider/Version.aplf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rVersion
See also `History`
r'0.44.0-beta-1+671'
r'0.44.0-beta-2+671'
2 changes: 1 addition & 1 deletion apl-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
tags: "project-management",
tatin_version: "0.103.0",
userCommandScript: "APLSource/Cider_UC.dyalog",
version: "0.43.2+825",
version: "0.44.0+827",
}

0 comments on commit 80eb3c7

Please sign in to comment.