Skip to content

Commit

Permalink
Changelogs, hlint, scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Jun 21, 2024
1 parent 588c7e3 commit 5b76f31
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 19 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ This project contains multiple packages. Their changelogs are listed and linked
- [sop-extras/CHANGELOG.md](./sop-extras/CHANGELOG.md)
- [strict-sop-core/CHANGELOG.md](./strict-sop-core/CHANGELOG.md)
- [ouroboros-consensus-protocol/CHANGELOG.md](./ouroboros-consensus-protocol/CHANGELOG.md)
- [resource-registry/CHANGELOG.md](./resource-registry/CHANGELOG.md)
- [nf-vars/CHANGELOG.md](./nf-vars/CHANGELOG.md)
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.17.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-cardano-0.17.0.0/)
[![sop-extras](https://img.shields.io/badge/sop--extras-0.2.0.0-blue)](https://chap.intersectmbo.org/package/sop-extras-0.2.0.0/)
[![strict-sop-core](https://img.shields.io/badge/strict--sop--core-0.1.1.0-blue)](https://chap.intersectmbo.org/package/strict-sop-core-0.1.1.0/)
[![resource-registry](https://img.shields.io/badge/resource--registry-0.1.0.0-blue)](https://chap.intersectmbo.org/package/resource-registry-0.1.0.0/)
[![nf-vars](https://img.shields.io/badge/nf--vars-0.1.0.0-blue)](https://chap.intersectmbo.org/package/nf-vars-0.1.0.0/)


[![docs](https://img.shields.io/badge/Documentation-yellow)][webpage]

Expand All @@ -24,6 +27,12 @@ flowchart TD
B --> C[ouroboros-consensus]
```

Some other supporting libraries are provided, namely:
- `strict-sop-core`
- `sop-extras`
- `resource-registry`
- `nf-vars`

The packages contain many test-suites that complicate the dependency graph as
they create new depencency arcs.

Expand Down
9 changes: 6 additions & 3 deletions nf-vars/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Revision history for nf-vars
# nf-vars Changelog

## 0.1.0.0 -- YYYY-mm-dd
# Changelog entries

* First version. Released on an unsuspecting world.
<a id='changelog-0.1.0.0'></a>
## 0.1.0.0 — 2024-06-21

- First release, extracted from `ouroboros-consensus`.
3 changes: 3 additions & 0 deletions ouroboros-consensus-cardano/changelog.d/weeder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Breaking

- Removed multiple unused functions thanks to `weeder`.
3 changes: 3 additions & 0 deletions ouroboros-consensus-diffusion/changelog.d/weeder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Breaking

- Removed multiple unused functions thanks to `weeder`.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE ScopedTypeVariables #-}

#if __GLASGOW_HASKELL__ >= 908
Expand Down
3 changes: 3 additions & 0 deletions ouroboros-consensus-protocol/changelog.d/weeder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Breaking

- Removed multiple unused functions thanks to `weeder`.
3 changes: 3 additions & 0 deletions ouroboros-consensus/changelog.d/weeder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Breaking

- Removed multiple unused functions thanks to `weeder`.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module Ouroboros.Consensus.Config (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE ViewPatterns #-}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}

-- | HeaderState history
--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module Ouroboros.Consensus.Ledger.Extended (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE UndecidableInstances #-}

module Ouroboros.Consensus.Util.Condense (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NamedFieldPuns #-}

-- | Mempool with a mocked ledger interface
module Test.Consensus.Mempool.Mocked (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}

module Ouroboros.Consensus.Mock.Protocol.LeaderSchedule (
Expand Down
9 changes: 6 additions & 3 deletions resource-registry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Revision history for resource-registry
# resource-registry Changelog

## 0.1.0.0 -- YYYY-mm-dd
# Changelog entries

* First version. Released on an unsuspecting world.
<a id='changelog-0.1.0.0'></a>
## 0.1.0.0 — 2024-06-21

- First release, extracted from `ouroboros-consensus`.
2 changes: 1 addition & 1 deletion scripts/ci/check-changelogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - NO_CHANGELOG_LABEL: disables the check for changelog fragments additions
# - BASE_REF: what to compare this branch against

packages=(ouroboros-consensus ouroboros-consensus-diffusion ouroboros-consensus-protocol ouroboros-consensus-cardano sop-extras strict-sop-core)
packages=(ouroboros-consensus ouroboros-consensus-diffusion ouroboros-consensus-protocol ouroboros-consensus-cardano sop-extras strict-sop-core resource-registry nf-vars)

ok=1

Expand Down
2 changes: 2 additions & 0 deletions scripts/release/cabal-plan-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ tests: False
benchmarks: False
packages:
nf-vars
resource-registry
ouroboros-consensus
ouroboros-consensus-cardano
ouroboros-consensus-protocol
Expand Down

0 comments on commit 5b76f31

Please sign in to comment.