Skip to content

Commit 08bbdb9

Browse files
Merge branch 'release-1.4.1'. Refs #155.
2 parents c4fc3ef + 138d459 commit 08bbdb9

22 files changed

+83
-38
lines changed

.github/workflows/repo-ghc-8.6-cabal-2.4-ros.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Install ogma
4545
run: |
46-
cabal v1-install copilot ogma-**/ --constraint="copilot >= 3.19.1"
46+
cabal v1-install copilot ogma-**/ --constraint="copilot >= 3.19.1" --constraint="aeson >= 2.0.3.0"
4747
4848
- name: Generate ROS app
4949
run: |

.github/workflows/repo-ghc-8.6-cabal-2.4.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ jobs:
5353
# the dependencies do not change and cabal does not change the
5454
# installation plan (which would mean we'd be running the tests with a
5555
# version of ogma compiled with different dependencies).
56-
cabal v1-install ogma-**/ --enable-tests
57-
56+
cabal v1-install ogma-**/ --enable-tests --constraint="aeson >= 2.0.3.0"
5857
- name: Test all packages
5958
run: |
6059
# We want to document the build process, and get detailed information
6160
# if there is a problem (or if all goes well). We therefore execute the
6261
# installation with -j1.
63-
cabal v1-install ogma-**/ --enable-tests --run-tests -j1
62+
cabal v1-install ogma-**/ --enable-tests --run-tests -j1 --constraint="aeson >= 2.0.3.0"

ogma-cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Revision history for ogma-cli
22

3+
## [1.4.1] - 2024-09-21
4+
5+
* Version bump 1.4.1 (#155).
6+
* Constrain version of dependency in CI jobs (#151).
7+
* Replace homepage (#147).
8+
39
## [1.4.0] - 2024-05-21
410

511
* Version bump 1.4.0 (#145).

ogma-cli/ogma-cli.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ cabal-version: 2.0
3232
build-type: Simple
3333

3434
name: ogma-cli
35-
version: 1.4.0
36-
homepage: http://nasa.gov
35+
version: 1.4.1
36+
homepage: https://github.com/nasa/ogma
3737
license: OtherLicense
3838
license-file: LICENSE.pdf
3939
author: Ivan Perez, Alwyn Goodloe
@@ -141,7 +141,7 @@ executable ogma
141141
build-depends:
142142
base >= 4.11.0.0 && < 5
143143
, optparse-applicative
144-
, ogma-core >= 1.4.0 && < 1.5
144+
, ogma-core >= 1.4.1 && < 1.5
145145

146146
hs-source-dirs:
147147
src

ogma-core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Revision history for ogma-core
22

3+
## [1.4.1] - 2024-09-21
4+
5+
* Version bump 1.4.1 (#155).
6+
* Remove dependency on IfElse (#150).
7+
* Replace homepage (#147).
8+
39
## [1.4.0] - 2024-05-21
410

511
* Version bump 1.4.0 (#145).

ogma-core/ogma-core.cabal

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ cabal-version: 2.0
3232
build-type: Simple
3333

3434
name: ogma-core
35-
version: 1.4.0
36-
homepage: http://nasa.gov
35+
version: 1.4.1
36+
homepage: https://github.com/nasa/ogma
3737
license: OtherLicense
3838
license-file: LICENSE.pdf
3939
author: Ivan Perez, Alwyn Goodloe
@@ -107,16 +107,15 @@ library
107107
, aeson >= 2.0.0.0 && < 2.2
108108
, bytestring
109109
, filepath
110-
, IfElse
111110
, mtl
112111

113-
, ogma-extra >= 1.4.0 && < 1.5
114-
, ogma-language-c >= 1.4.0 && < 1.5
115-
, ogma-language-cocospec >= 1.4.0 && < 1.5
116-
, ogma-language-copilot >= 1.4.0 && < 1.5
117-
, ogma-language-jsonspec >= 1.4.0 && < 1.5
118-
, ogma-language-smv >= 1.4.0 && < 1.5
119-
, ogma-spec >= 1.4.0 && < 1.5
112+
, ogma-extra >= 1.4.1 && < 1.5
113+
, ogma-language-c >= 1.4.1 && < 1.5
114+
, ogma-language-cocospec >= 1.4.1 && < 1.5
115+
, ogma-language-copilot >= 1.4.1 && < 1.5
116+
, ogma-language-jsonspec >= 1.4.1 && < 1.5
117+
, ogma-language-smv >= 1.4.1 && < 1.5
118+
, ogma-spec >= 1.4.1 && < 1.5
120119

121120
hs-source-dirs:
122121
src

ogma-core/src/Command/FRETComponentSpec2Copilot.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ module Command.FRETComponentSpec2Copilot
4141
where
4242

4343
-- External imports
44-
import Control.Monad.IfElse ( awhen )
4544
import Data.Aeson ( eitherDecode, decode )
4645
import Data.ByteString.Lazy (fromStrict)
46+
import Data.Foldable (for_)
4747

4848
-- External imports: auxiliary
4949
import Data.ByteString.Extra as B ( safeReadFile )
@@ -91,7 +91,7 @@ fretComponentSpec2Copilot fp options = do
9191
let (mOutput, result) =
9292
fretComponentSpec2CopilotResult options fp copilot
9393

94-
awhen mOutput putStrLn
94+
for_ mOutput putStrLn
9595
return result
9696

9797
-- | Print the contents of a Copilot module that implements the Past-time TL

ogma-core/src/Command/FRETReqsDB2Copilot.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ module Command.FRETReqsDB2Copilot
3939
where
4040

4141
-- External imports
42-
import Control.Monad.IfElse ( awhen )
43-
import Data.Aeson ( eitherDecode )
44-
import Data.List ( nub, (\\) )
42+
import Data.Aeson (eitherDecode)
43+
import Data.Foldable (for_)
44+
import Data.List (nub, (\\))
4545

4646
-- External imports: auxiliary
4747
import Data.ByteString.Extra as B ( safeReadFile )
@@ -88,7 +88,7 @@ fretReqsDB2Copilot fp options = do
8888
let (mOutput, result) =
8989
fretReqsDB2CopilotResult options fp copilot
9090

91-
awhen mOutput putStrLn
91+
for_ mOutput putStrLn
9292
return result
9393

9494
-- | Print the contents of a Copilot module that implements the Past-time TL

ogma-extra/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Revision history for ogma-extra
22

3+
## [1.4.1] - 2024-09-21
4+
5+
* Version bump 1.4.1 (#155).
6+
* Replace homepage (#147).
7+
38
## [1.4.0] - 2024-05-21
49

510
* Version bump 1.4.0 (#145).

ogma-extra/ogma-extra.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ cabal-version: 2.0
3232
build-type: Simple
3333

3434
name: ogma-extra
35-
version: 1.4.0
36-
homepage: http://nasa.gov
35+
version: 1.4.1
36+
homepage: https://github.com/nasa/ogma
3737
license: OtherLicense
3838
license-file: LICENSE.pdf
3939
author: Ivan Perez, Alwyn Goodloe

0 commit comments

Comments
 (0)