There are errors in the publiccode.yml file:
|
Message |
⚠️ publiccode.yml:1 |
publiccodeYmlVersion: v0.2 is not the latest version, use '0'. Parsing this file as v0.5. |
❌ publiccode.yml:85 |
description.en.featureList: unknown field "featureList" |
❌ publiccode.yml:33 |
softwareType: softwareType must be one of the following: "standalone/mobile", "standalone/iot", "standalone/desktop", "standalone/web", "standalone/backend", "standalone/other", "addon", "library" or "configurationFiles" |
❌ publiccode.yml:39 |
description: description must contain more than 0 items |
❌ publiccode.yml:110 |
localisation.localisationReady: localisationReady is a required field |
❌ publiccode.yml:111 |
localisation.availableLanguages: availableLanguages is a required field |
⚠️ publiccode.yml:99 |
legal.authorsFile: This key is DEPRECATED and will be removed in the future. It's safe to drop it |
⚠️ publiccode.yml:98 |
legal.repoOwner: This key is DEPRECATED and will be removed in the future. Use 'organisation.name' instead |
⚠️ publiccode.yml:13 |
inputTypes: This key is DEPRECATED and will be removed in the future. It's safe to drop it |
⚠️ publiccode.yml:15 |
outputTypes: This key is DEPRECATED and will be removed in the future. It's safe to drop it |
Want to automate this check?
Add
publiccode-parser-action
to your GitHub repository, to automatically check your publiccode.yml
at every commit
# Copy this to .github/workflows/publiccode-validation.yml
#
on: [pull_request]
jobs:
publiccode_validation:
runs-on: ubuntu-latest
name: publiccode validation
steps:
- uses: actions/checkout@v5
- uses: italia/publiccode-parser-action@v1
with:
publiccode: 'publiccode.yml'
Use
publiccode-parser-go
to validate your publiccode.yml from the command line
$ docker run -i italia/publiccode-parser-go /dev/stdin < publiccode.yml
📄 publiccode.yml format | ℹ️ My source code | *
There are errors in the
publiccode.ymlfile:publiccode.yml:1publiccodeYmlVersion: v0.2 is not the latest version, use '0'. Parsing this file as v0.5.publiccode.yml:85description.en.featureList: unknown field "featureList"publiccode.yml:33softwareType: softwareType must be one of the following: "standalone/mobile", "standalone/iot", "standalone/desktop", "standalone/web", "standalone/backend", "standalone/other", "addon", "library" or "configurationFiles"publiccode.yml:39description: description must contain more than 0 itemspubliccode.yml:110localisation.localisationReady: localisationReady is a required fieldpubliccode.yml:111localisation.availableLanguages: availableLanguages is a required fieldpubliccode.yml:99legal.authorsFile: This key is DEPRECATED and will be removed in the future. It's safe to drop itpubliccode.yml:98legal.repoOwner: This key is DEPRECATED and will be removed in the future. Use 'organisation.name' insteadpubliccode.yml:13inputTypes: This key is DEPRECATED and will be removed in the future. It's safe to drop itpubliccode.yml:15outputTypes: This key is DEPRECATED and will be removed in the future. It's safe to drop itWant to automate this check?
Add publiccode-parser-action to your GitHub repository, to automatically check your publiccode.yml at every commit
# Copy this to .github/workflows/publiccode-validation.yml # on: [pull_request] jobs: publiccode_validation: runs-on: ubuntu-latest name: publiccode validation steps: - uses: actions/checkout@v5 - uses: italia/publiccode-parser-action@v1 with: publiccode: 'publiccode.yml'Use publiccode-parser-go to validate your publiccode.yml from the command line
$ docker run -i italia/publiccode-parser-go /dev/stdin < publiccode.yml📄 publiccode.yml format | ℹ️ My source code | *