Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in publiccode.yml file #100

Open
publiccode-validator-bot opened this issue Feb 19, 2023 · 0 comments
Open

Errors in publiccode.yml file #100

publiccode-validator-bot opened this issue Feb 19, 2023 · 0 comments

Comments

@publiccode-validator-bot
Copy link

publiccode-validator-bot commented Feb 19, 2023

Ci sono errori nel file publiccode.yml:

Message
⚠️ publiccode.yml:1 publiccodeYmlVersion: v0.2 is not the latest version, use '0.4.0'. Parsing this file as v0.4.0.
publiccode.yml:85 description.en.featureList: field featureList not found in type publiccode.DescV0
publiccode.yml:33 softwareType: must be one of the following: standalone/mobile standalone/iot standalone/desktop standalone/web standalone/backend standalone/other addon library configurationFiles
publiccode.yml:36 intendedAudience.countries[0]: must be a valid lowercase ISO 3166-1 alpha-2 two-letter country code
publiccode.yml:41 description.en.features: must be more than 0
⚠️ publiccode.yml:99 legal.authorsFile: This key is DEPRECATED and will be removed in the future
⚠️ publiccode.yml:13 inputTypes: This key is DEPRECATED and will be removed in the future
⚠️ publiccode.yml:15 outputTypes: This key is DEPRECATED and will be removed in the future
⚠️ publiccode.yml:42 description.en.genericName: This key is DEPRECATED and will be removed in the future

Vuoi rendere automatico questo controllo?

Aggiungi publiccode-parser-action al tuo repository GitHub, per verificare automaticamente il tuo publiccode.yml a ogni commit o pull request:
    
# Aggiungi questo a .github/workflows/publiccode-validation.yml
#
on: [pull_request]

jobs:
  publiccode_validation:
    runs-on: ubuntu-latest
    name: publiccode validation
    steps:
    - uses: actions/checkout@v3
    - uses: italia/publiccode-parser-action@v1
      with:
        publiccode: 'publiccode.yml'
    
  
Usa publiccode-parser-go per verificare il tuo publiccode.yml in locale da riga di comando:

$ docker run -i italia/publiccode-parser-go /dev/stdin < publiccode.yml
    

Serve aiuto?

Unisciti a https://slack.developers.italia.it e chiedi nel canale #publiccode o usa Forum Italia.

🔗 Developers Italia | 📄 il formato publiccode.yml | ℹ️ Il mio codice sorgente | *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant