publiccode-editor icon indicating copy to clipboard operation
publiccode-editor copied to clipboard

Support publiccode.yml v0.5.0

Open bfabio opened this issue 5 months ago • 0 comments

Hello! As you might know publiccode v0.5.0 has been released: https://github.com/publiccodeyml/publiccode.yml/discussions/258 🎉

publiccode-parser-go v5.2.1 supports the new version, but there are also some things to implement in the editor and its UI to adapt to the new version.

Based on what I remember about the editor's structure here are the changes required, this should help you update it more easily:

  • [ ] https://github.com/publiccodeyml/publiccode.yml/pull/241 This one should be just a matter of syncing the editor's types and adding other.
  • [ ] docs(standard): add organisation
    • Add the UI and sync the types
    • For Italian PAs use the format "urn:x-italian-pa:[codiceIPA]" and make it clear to the user. Ideally it should be transparent (also take a look at #525)
    • Mark riuso/codiceIPA and legal/repoOwner as deprecated
    • On load, the parser should already take care of automigrating riuso/codiceIPA to organisation.uri, but check that it does
  • [ ] Add the "fundedBy" key Add the UI for that new field and sync the editor's types
  • [ ] https://github.com/publiccodeyml/publiccode.yml/pull/227
    • "it" must be replaced with "IT" when generating the country section
    • Use uppercase when generating intendedAudience/countries and intendedAudience/unsupportedCountries
  • [ ] https://github.com/publiccodeyml/publiccode.yml/pull/223 Mark all those fields as deprecated, including the main object it.conforme, so they're not shown in the UI by default

You could split this issue into multiple sub-issues, if you feel it like it helps.

bfabio avatar Oct 22 '25 09:10 bfabio