GPL-3.0-only licensed and maintained by Jens Petersen
This version can be pinned in stack with:fedora-releases-0.2.0@sha256:a4abd965642628d5732a73f195fe232b25b75f55e1e8b36f8578dcefa4bb99d6,2223

Module documentation for 0.2.0

fedora-releases

Hackage GPL-3 license Stackage Lts Stackage Nightly GitHub CI

A Haskell library for Fedora release versions (formerly fedora-dists)

There are 3 modules:

  • Distribution.Fedora.Branch : top level (Branch type)
  • Distribution.Fedora.Release : mid level (Release type)
  • Distribution.Fedora.BodhiReleases : low level (aeson Object)

It uses the Releases endpoint data from the Fedora Bodhi API (via bodhi-hs).

See https://hackage.haskell.org/package/fedora-releases for documentation.

fedora-releases is released and distributed under GPL version 3 or later.

Repository: https://github.com/juhp/fedora-releases

Changes

Changelog

fedora-releases uses PVP Versioning.

0.2.0 (2024-12-04)

  • newerBranch now returns Maybe Branch
  • custom Ord Branch instance to correct the order of EPELNext
  • export extended Distribution.Fedora.BodhiReleases
  • getActiveReleases replaces getReleases (no longer reversed)
  • getActiveBranches (reverse sorted) replaces getFedoraBranches
  • similarly getActiveBranched replaces getFedoraBranched

0.1.0 (2024-08-16)

  • project renamed from fedora-dists to fedora-releases
  • uses Bodhi releases API endpoint instead of obsolete PDC Product versions
  • Distribution.Fedora and the Dist type in particular are gone