Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tristancacqueray/dhall-podman

Podman definitions with Dhall
https://github.com/tristancacqueray/dhall-podman

Last synced: 14 days ago
JSON representation

Podman definitions with Dhall

Awesome Lists containing this project

README

        

# dhall-podman

`dhall-podman` contains [Dhall][dhall-lang] bindings to [Podman][podman].

## Contribute

To update the package:

- Grab the swagger file:

`curl -OL https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml`

- Convert to json

`cat swagger-latest-master.yaml | yaml-to-dhall | dhall-to-json > swagger-latest-master.json`

- Install dhall-openapi from https://github.com/dhall-lang/dhall-haskell/pull/1946

`dhall-openapi swagger-latest-master.json`

- Fix cyclic import

`sed -e 's|./List.dhall|(List Text)|' -i ./types/List.dhall`

- Freeze the top-level files

`for i in *.dhall; do dhall --freeze --all $i; done`

[dhall-lang]: https://dhall-lang.org
[podman]: https://podman.io