Skip to content

Commit

Permalink
General cleanup and changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Nov 13, 2023
1 parent df5795b commit 00cb375
Show file tree
Hide file tree
Showing 13 changed files with 104 additions and 40 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
merge_group:
push:
branches:
- master
- main

jobs:
build:
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["8.10.7", "9.2.8", "9.6.3", "9.8.1"]
ghc: ["8.4.4", "8.10.7", "9.2.8", "9.6.3", "9.8.1"]
cabal: ["3.10.2.0"]
os: [ubuntu-latest]

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# EKG

This repository contains packages to provide system metrics.

- [`ekg-core`](ekg-core/README.md)
- [`ekg-json`](ekg-json/README.md)
- [`ekg`](ekg/README.md)
10 changes: 7 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
index-state:
, hackage.haskell.org 2023-11-10T00:00:00Z
, cardano-haskell-packages 2023-11-10T00:00:00Z

packages:
ekg-core
ekg-json
ekg
ekg-core
ekg-json
ekg
6 changes: 5 additions & 1 deletion ekg-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 0.1.2.0
# EKG-core Changelog

# Changelog entries

## 0.1.2.0 (2023-11-13)

* GHC 8.4-9.8 support
([#1](https://github.com/input-output-hk/ekg-core/pull/1)).
Expand Down
12 changes: 7 additions & 5 deletions ekg-core/ekg-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ name: ekg-core
version: 0.1.2.0
synopsis: Tracking of system metrics
description: This library lets you define and track system metrics.
homepage: https://github.com/tibbe/ekg-core
bug-reports: https://github.com/tibbe/ekg-core/issues
homepage: https://github.com/input-output-hk/ekg
bug-reports: https://github.com/input-output-hk/ekg/issues
license: BSD-3-Clause
license-file: LICENSE
author: Johan Tibell
maintainer:
Johan Tibell <johan.tibell@gmail.com>,
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>,
operations@iohk.io

category: System
build-type: Simple
extra-source-files: CHANGELOG.md
extra-doc-files: CHANGELOG.md
tested-with:
GHC ==8.4.4
|| ==8.6.5
Expand Down Expand Up @@ -82,4 +83,5 @@ benchmark distribution

source-repository head
type: git
location: https://github.com/tibbe/ekg-core.git
location: https://github.com/input-output-hk/ekg.git
subdir: ekg-core
8 changes: 6 additions & 2 deletions ekg-json/CHANGES.md → ekg-json/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.1.0.7 (2020-??-??)
# EKG-json Changelog

* TBD
# Changelog entries

## 0.1.1.0 (2023-11-13)

* GHC 9.8 support.

## 0.1.0.6 (2017-07-31)

Expand Down
3 changes: 2 additions & 1 deletion ekg-json/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# ekg-json [![Hackage version](https://img.shields.io/hackage/v/ekg-json.svg?label=Hackage)](https://hackage.haskell.org/package/ekg-json) [![Build Status](https://secure.travis-ci.org/tibbe/ekg-json.svg?branch=master)](http://travis-ci.org/tibbe/ekg-json)
# ekg-json

JSON encoding of ekg metrics
13 changes: 13 additions & 0 deletions ekg-json/changelog.d/scriv.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[scriv]
format = md
insert_marker = Changelog entries
md_header_level = 2
version = literal: ekg-json.cabal: version
categories = Patch, Non-Breaking, Breaking
end_marker = scriv-end-here
fragment_directory = changelog.d
ghrel_template = {{body}}
main_branches = master, main, develop
new_fragment_template = file: new_fragment.${config:format}.j2
output_file = CHANGELOG.${config:format}
skip_fragments = README.*
20 changes: 11 additions & 9 deletions ekg-json/ekg-json.cabal
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
cabal-version: 3.0
name: ekg-json
version: 0.1.0.8
version: 0.1.1.0
license: BSD-3-Clause
license-file: LICENSE
maintainer:
Johan Tibell <johan.tibell@gmail.com>,
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>,
operations@iohk.io

author: Johan Tibell
tested-with:
Expand All @@ -18,8 +19,8 @@ tested-with:
|| ==9.6.3
|| ==9.8.1

homepage: https://github.com/tibbe/ekg-json
bug-reports: https://github.com/tibbe/ekg-json/issues
homepage: https://github.com/input-output-hk/ekg
bug-reports: https://github.com/input-output-hk/ekg/issues
synopsis: JSON encoding of ekg metrics
description:
Encodes ekg metrics as JSON, using the same encoding as used by the
Expand All @@ -28,18 +29,19 @@ description:

category: Distribution
build-type: Simple
extra-source-files: CHANGES.md
extra-doc-files: CHANGELOG.md

source-repository head
type: git
location: https://github.com/tibbe/ekg-json.git
location: https://github.com/input-output-hk/ekg.git
subdir: ekg-json

library
exposed-modules: System.Metrics.Json
default-language: Haskell2010
build-depends:
, aeson ^>=2.2
, base >=4.11 && <4.20
, ekg-core ^>=0.1
, text >=1.2.4 && <2.2
, base >=4.11 && <4.20
, ekg-core ^>=0.1.2
, text >=1.2.4 && <2.2
, unordered-containers <0.3
8 changes: 6 additions & 2 deletions ekg/CHANGES.md → ekg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.4.0.16 (2020-??-??)
# EKG Changelog

* TBD.
# Changelog entries

## 0.4.1.0 (2023-11-13)

* GHC 9.8.1 support

## 0.4.0.15 (2018-03-20)

Expand Down
4 changes: 4 additions & 0 deletions ekg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# EKG

This library lets you remotely monitor a running process over HTTP. It provides
a simple way to integrate a monitoring server into any application.
13 changes: 13 additions & 0 deletions ekg/changelog.d/scriv.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[scriv]
format = md
insert_marker = Changelog entries
md_header_level = 2
version = literal: ekg.cabal: version
categories = Patch, Non-Breaking, Breaking
end_marker = scriv-end-here
fragment_directory = changelog.d
ghrel_template = {{body}}
main_branches = master, main, develop
new_fragment_template = file: new_fragment.${config:format}.j2
output_file = CHANGELOG.${config:format}
skip_fragments = README.*
36 changes: 21 additions & 15 deletions ekg/ekg.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ekg
version: 0.4.0.16
version: 0.4.1.0
license: BSD-3-Clause
license-file: LICENSE
maintainer:
Expand All @@ -18,8 +18,8 @@ tested-with:
|| ==9.6.3
|| ==9.8.1

homepage: https://github.com/tibbe/ekg
bug-reports: https://github.com/tibbe/ekg/issues
homepage: https://github.com/input-output-hk/ekg
bug-reports: https://github.com/input-output-hk/ekg/issues
synopsis: Remote monitoring of processes
description:
This library lets you remotely monitor a running process over HTTP.
Expand All @@ -38,19 +38,22 @@ data-files:
assets/monitor.css
assets/monitor.js

extra-doc-files:
CHANGELOG.md
README.md

extra-source-files:
assets/bootstrap-1.4.0.css
assets/jquery-1.6.4.js
assets/jquery.flot.js
CHANGES.md
examples/Basic.hs
LICENSE.icons
LICENSE.javascript
README.md

source-repository head
type: git
location: https://github.com/tibbe/ekg.git
location: https://github.com/input-output-hk/ekg.git
subdir: ekg

library
exposed-modules:
Expand All @@ -64,19 +67,22 @@ library
System.Remote.Json
System.Remote.Snap

autogen-modules:
Paths_ekg

default-language: Haskell2010
ghc-options: -Wall
build-depends:
, aeson ^>=2.2
, base >=4.11 && <5
, bytestring >=0.10 && <1.0
, ekg-core ^>=0.1.2.0
, ekg-json ^>=0.1.0.8
, base >=4.11 && <5
, bytestring >=0.10 && <1.0
, ekg-core ^>=0.1.2
, ekg-json ^>=0.1.1
, filepath ^>=1.4
, network >=2.6 && <3.2
, network >=2.6 && <3.2
, snap-core ^>=1.0.5
, snap-server ^>=1.1.2
, text >=1.2.4 && <2.2
, time >=1.8 && <1.13
, transformers >=0.5.5 && <0.7
, unordered-containers >=0.2.15 && <0.3
, text >=1.2.4 && <2.2
, time >=1.8 && <1.13
, transformers >=0.5.5 && <0.7
, unordered-containers >=0.2.15 && <0.3

0 comments on commit 00cb375

Please sign in to comment.