An open API service indexing awesome lists of open source software.

https://github.com/release-engineering/fbc-update-planner

Converts Red Hat operator lifecycle data from the Product Life Cycle Center (PLCC) API into File-Based Catalog (FBC) YAML blobs.
https://github.com/release-engineering/fbc-update-planner

Last synced: 6 days ago
JSON representation

Converts Red Hat operator lifecycle data from the Product Life Cycle Center (PLCC) API into File-Based Catalog (FBC) YAML blobs.

Awesome Lists containing this project

README

          

# fbc-update-planner

`plcc2fbc` fetches operator lifecycle data from the Red Hat Product Life Cycle Center (PLCC) API and converts it into File-Based Catalog (FBC) YAML blobs.

**Download latest generated FBC file:** [fbc-latest.yaml](https://github.com/release-engineering/fbc-update-planner/raw/main/fbc-samples/fbc-latest.yaml)

## Build

```shell
make build
```

## Run

```shell
bin/plcc2fbc [flags]
```

| Flag | Description |
|------|-------------|
| `-o, --output ` | Output format: `json`, `json-pretty`, or `yaml` (default: `json`) |
| `-p, --package ` | Comma-separated package names to include (default: all) |
| `-l, --log ` | Write operational logs to `` (default: stdout) |
| `-i, --input ` | Read PLCC JSON input from `` instead of fetching from API |
| `--dump-plcc` | Dump filtered PLCC JSON instead of generating FBC |

## Generate FBC snapshot

```shell
make generate-fbc
```

Writes `fbc-samples/fbc-YYMMDD.yaml` and updates `fbc-samples/fbc-latest.yaml`.

## Documentation

- [Validation Rules](docs/VALIDATION_RULES.md)
- [FBC Lifecycle Schema](docs/FBC_SCHEMA.md)