Idra icon indicating copy to clipboard operation
Idra copied to clipboard

Errors in publiccode.yml file

Open publiccode-validator-bot opened this issue 8 months ago • 0 comments

There are errors in the publiccode.yml file:

Message
:warning: publiccode.yml:5 publiccodeYmlVersion: v0.2 is not the latest version, use '0'. Parsing this file as v0.5.
:warning: publiccode.yml:27 legal.repoOwner: This key is DEPRECATED and will be removed in the future. Use 'organisation.name' instead
:warning: publiccode.yml:35 description.it.genericName: This key is DEPRECATED and will be removed in the future. It's safe to drop it
:warning: publiccode.yml:80 description.en.genericName: This key is DEPRECATED and will be removed in the future. It's safe to drop it
publiccode.yml:109 description.en.apiDocumentation: 'https://idraopendata.docs.apiary.io' not reachable: HTTP GET returned -1 for https://idraopendata.docs.apiary.io; 200 was expected

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 
    

:page_facing_up: publiccode.yml format | :information_source: My source code | *