Update schema and JSON #4

Closed
Dalai Felinto wants to merge 0 commits from dfelinto:update-schema into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

This patch updates the schema to:

  • min_version -> blender_version_min
  • max_version -> blender_version_max

It expands the JSON to include:

  • blender_version_min
  • blender_version_max
  • author

This takes only the first author, as representative of who is publishing the extension.


Know todos:

  1. This still doesn't implement license and copyright (as suggested on ideasman42/bl_pkg#12)

  2. It also doesn't change Add-on -> add-on in the JSON. This gets a bit more involved, so I will handle this as a separate patch.

  3. Although this accepts optional blender version max for the JSON, it does not change the model to make it optional.

This patch updates the schema to: * min_version -> blender_version_min * max_version -> blender_version_max It expands the JSON to include: * blender_version_min * blender_version_max * author --- This takes only the first author, as representative of who is publishing the extension. --- Know todos: 1. This still doesn't implement license and copyright (as suggested on https://projects.blender.org/ideasman42/bl_pkg/pulls/12) 2. It also doesn't change `Add-on -> add-on` in the JSON. This gets a bit more involved, so I will handle this as a separate patch. 3. Although this accepts optional blender version max for the JSON, it does not change the model to make it optional.
Dalai Felinto added 5 commits 2024-01-05 15:23:47 +01:00
b003935018 Schema: Rename min/max version
min_version -> blender_version_min
max_version -> blender_version_max
997bddab57 JSON: Support optional fields
The optional fields are left outside of the JSON.

At first this is for the version max, but in the future it will include:
* Copyright
* License?
fd7f4de9c4 JSON: Include author
Note that we are not including a list of all the authors,
but instead the first author of the extension.
Dalai Felinto requested review from Francesco Siddi 2024-01-05 15:27:34 +01:00
Dalai Felinto changed title from WIP: update-schema to Update schema and JSON 2024-01-05 15:28:08 +01:00
Dalai Felinto closed this pull request 2024-01-05 15:35:28 +01:00
Dalai Felinto deleted branch update-schema 2024-01-05 15:35:37 +01:00
Author
Owner
Committed as: * fd7f4de9c45924824b42ca239f762c0d21a8ce24 * 997bddab57123e56e664bd0e3d510475ee7a3494 * 24245e0fcadd62cf12cf642c2195496b64b9ae0b * b00393501899f4fa992f6b3204bbc501f64cecc9 * e51dbcb86c5808c3ca32eaa688f176c1c096ae33

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#4
No description provided.