fedora-composes: Query Fedora composes

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

CLI tool to list and check status of Fedora composes


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.2
Change log ChangeLog.md
Dependencies ansi-terminal, base (<5), bytestring, extra, http-conduit, http-directory (>=0.1.9), simple-cmd-args (>=0.1.7), simple-prompt (>=0.2), text, time [details]
License BSD-3-Clause
Copyright 2022-2024 Jens Petersen <juhpetersen@gmail.com>
Author Jens Petersen <juhpetersen@gmail.com>
Maintainer Jens Petersen <juhpetersen@gmail.com>
Category Utility
Home page https://github.com/juhp/fedora-composes
Bug tracker https://github.com/juhp/fedora-composes/issues
Source repo head: git clone https://github.com/juhp/fedora-composes.git
Uploaded by JensPetersen at 2024-02-14T10:45:35Z

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for fedora-composes-0.2

[back to package description]

fedora-composes

A small tool to list and check the status of Fedora composes.

Examples

$ fedora-composes list --latest rawhide

https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20240214.n.1

$ fedora-composes list -l2 branched

https://kojipkgs.fedoraproject.org/compose/branched/Fedora-40-20240214.n.0
https://kojipkgs.fedoraproject.org/compose/branched/Fedora-40-20240213.n.1

$ fedora-composes status --no-more branched

https://kojipkgs.fedoraproject.org/compose/branched/Fedora-40-20240214.n.0/logs/global/
2024-02-14 15:19:10 +08
2024-02-14 15:31:52 +08 DOOMED

https://kojipkgs.fedoraproject.org/compose/branched/Fedora-40-20240213.n.1
2024-02-14 03:40:26 +08
2024-02-14 08:52:37 +08 FINISHED_INCOMPLETE

$ fedora-composes status -n updates 39

https://kojipkgs.fedoraproject.org/compose/updates/Fedora-39-updates-testing-20240214.0
2024-02-14 09:25:36 +08
2024-02-14 10:03:51 +08 FINISHED

Usage

$ fedora-composes --version

0.2

$ fedora-composes --help

check status of fedora composes

Usage: fedora-composes [--version] COMMAND

  description here

Available options:
  -h,--help                Show this help text
  --version                Show version

Available commands:
  list                     List dirs/composes (by default only last compose)
  status                   Show compose status

There is the notion of repos and composes.

For example Fedora-39-updates is a repo and Fedora-39-updates-20230810.0 is a compose for it.

Filtering is case insensitive.

list

fedora-composes list lists releases and other subdirs (rawhide, updates, branched, etc)

fedora-composes list updates shows latest updates composes

fedora-composes list updates fedora-36 shows latest F36 updates composes

fedora-composes list branched shows latest branched composes

$ fedora-composes list --help

Usage: fedora-composes list [-d|--debug] 
                            [(-a|--all-composes) | (-L|--latest) | 
                              (-l|--limit LIMIT)] [-r|--repos] [DIR] [SUBSTR]

  List dirs/composes (by default only last compose)

Available options:
  -d,--debug               debug output
  -a,--all-composes        All composes
  -L,--latest              Only latest compose
  -l,--limit LIMIT         Max number of composes
  -r,--repos               Only list target repos
  -h,--help                Show this help text

status

fedora-composes status rawhide shows time and status of newest rawhide

fedora-composes status updates fedora-39 shows time and status of updates push

fedora-composes status branched 39 shows time and status of branched compose

$ fedora-composes status --help

Usage: fedora-composes status [-d|--debug] 
                              [(-a|--all-composes) | (-L|--latest) | 
                                (-l|--limit LIMIT)] [-n|--no-more] DIR [SUBSTR]

  Show compose status

Available options:
  -d,--debug               debug output
  -a,--all-composes        All composes
  -L,--latest              Only latest compose
  -l,--limit LIMIT         Max number of composes
  -n,--no-more             Do not prompt for more results
  -h,--help                Show this help text

Installation

fedora-composes rpm builds are available from Copr: https://copr.fedorainfracloud.org/coprs/petersen/fedora-composes/

Build from source

stack/cabal/cabal-rpm install