There are errors in the publiccode.yml file:
|
Message |
⚠️ publiccode.yml:5 |
publiccodeYmlVersion: v0.2 is not the latest version, use '0'. Parsing this file as v0.5. |
⚠️ publiccode.yml:197 |
intendedAudience.countries[0]: Lowercase country codes are DEPRECATED. Use uppercase instead ('IT') |
⚠️ publiccode.yml:47 |
description.it.genericName: This key is DEPRECATED and will be removed in the future. It's safe to drop it |
❌ publiccode.yml:30 |
description.it.documentation: 'https://servizi.regione.piemonte.it/media/99/download' not reachable: HTTP GET failed for https://servizi.regione.piemonte.it/media/99/download: Get "https://servizi.regione.piemonte.it/media/99/download": EOF |
⚠️ publiccode.yml:202 |
it: Lowercase country codes are DEPRECATED and will be removed in the future. Use 'IT' instead |
⚠️ publiccode.yml:0 |
IT.conforme: This key is DEPRECATED and will be removed in the future. It's safe to drop it |
⚠️ publiccode.yml:0 |
IT.riuso.codiceIPA: This key is DEPRECATED and will be removed in the future. Use 'organisation.uri' and set it to 'urn:x-italian-pa:r_piemon' instead |
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:5publiccodeYmlVersion: v0.2 is not the latest version, use '0'. Parsing this file as v0.5.publiccode.yml:197intendedAudience.countries[0]: Lowercase country codes are DEPRECATED. Use uppercase instead ('IT')publiccode.yml:47description.it.genericName: This key is DEPRECATED and will be removed in the future. It's safe to drop itpubliccode.yml:30description.it.documentation: 'https://servizi.regione.piemonte.it/media/99/download' not reachable: HTTP GET failed for https://servizi.regione.piemonte.it/media/99/download: Get "https://servizi.regione.piemonte.it/media/99/download": EOFpubliccode.yml:202it: Lowercase country codes are DEPRECATED and will be removed in the future. Use 'IT' insteadpubliccode.yml:0IT.conforme: This key is DEPRECATED and will be removed in the future. It's safe to drop itpubliccode.yml:0IT.riuso.codiceIPA: This key is DEPRECATED and will be removed in the future. Use 'organisation.uri' and set it to 'urn:x-italian-pa:r_piemon' insteadWant 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 | *