dave2wave commented on issue #117:
URL: 
https://github.com/apache/tooling-trusted-release/issues/117#issuecomment-2952814625

   With COMDEV-560 completed the new category of projects now get a validation 
error when updating projects:
   
   ```
   Error: Failed to update projects: 36 validation errors for ProjectsData 
answer.doap Field required [type=missing, input_value={'category': 
'no-tlp-doap...nswer', 'pmc': 'answer'}, input_type=dict] For further 
information visit https://errors.pydantic.dev/2.11/v/missing apisix.doap Field 
required [type=missing, input_value={'category': 'no-tlp-doap...pisix', 'pmc': 
'apisix'}, input_type=dict] ....
   ```
   
   Here are the minimal fields:
   ```
   "answer": {
   "category": "no-tlp-doap",
   "homepage": "https://answer.apache.org";,
   "name": "Apache Answer",
   "pmc": "answer"
   },
   ```
   
   Looking here: 
https://github.com/apache/tooling-trusted-release/blob/main/atr/datasources/apache.py#L184-L187
   It looks we need to add a default of None for the doap field. I'm not sure 
if there are further consequences to doap=None.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org
For additional commands, e-mail: dev-h...@tooling.apache.org

Reply via email to