This is a Go web interface validator for publiccode.yml files, it uses publiccode-parser-go.
publiccode.yml is an international standard for describing public software. It is expected to be published in the root of open source repositories. This parser performs syntactic and semantic validation according to the official spec.
See related project for details: publiccode-parser-go
This repository also contains an executable tool which can be used for validating a publiccode.yml file locally.
$ go run main.go --help
$ go run main.go one https://github.com/sebbalex/issue-opener
$ go run main.go one https://github.com/sebbalex/issue-opener "[]" #last arg will be a validation errors json array
This project can be packaged and executed using Docker as follow:
$ docker build -t issue-opener .
$ docker run -p5000:5000 --name issue-opener -it --rm issue-opener
Contributing is always appreciated. Feel free to open issues, fork or submit a Pull Request. If you want to know more about how to add new fields, check out CONTRIBUTING.md. In order to support other country-specific extensions in addition to Italy some refactoring might be needed.
This software is maintained by the Developers Italia team.
© 2018-2019 Team per la Trasformazione Digitale - Presidenza del Consiglio dei Minstri
Licensed under the EUPL. The version control system provides attribution for specific lines of code.