containers / quadlet

GNU General Public License v2.0
347 stars 14 forks source link

WIP: Initial version of golang port #41

Closed alexlarsson closed 1 year ago

alexlarsson commented 2 years ago

This is not necessarily meant to go in this repo, but this is an initial cut at porting all of quadlet into golang, for eventual integration with the podman project.

You can build it with go build github.com/containers/quadlet/cmd/quadlet and then run the tests from the "tests" subdirectory with: ./testcase-runner.py cases/ /path/to/golang/quadlet

rhatdan commented 2 years ago

@vrothberg PTAL

alexlarsson commented 2 years ago

Fixed the comments from @ygalblum and rebased

vrothberg commented 2 years ago

I just ran golangci-lint run (https://golangci-lint.run/) before reading the code and it reports a number of issues which need to be fixed before we can move it over to containers/podman. The linter is a strict enforcement in podman.

rhatdan commented 1 year ago

Since this has been merged into Podman, closing PR.