Page MenuHomePhabricator

Community configuration 2.0: Create a proof of concept version of validation
Closed, ResolvedPublic

Description

To aid the T344144: Community configuration 2.0: Start a RfC around Schema provider and validation conversation, the T348224 proof of concept extension version should include validation examples, in variants as identified in the research spike (T332847).

The validation should be incorporated in https://gitlab.wikimedia.org/repos/growth/community-configuration.

Event Timeline

Urbanecm_WMF triaged this task as High priority.
Urbanecm_WMF created this task.
Urbanecm_WMF changed the task status from Open to In Progress.Oct 5 2023, 10:13 AM

Inclined to call this Resolved as well, but I'll let @Sgs to judge that.

KStoller-WMF subscribed.

I'm seeing a validation example: https://gitlab.wikimedia.org/repos/growth/community-configuration#json-validation-example

I realize there is further work to do on validation, but can we consider the proof of concept stage complete?

I'm seeing a validation example: https://gitlab.wikimedia.org/repos/growth/community-configuration#json-validation-example

I realize there is further work to do on validation, but can we consider the proof of concept stage complete?

Indeed. Given the possible conflict of using Opis 2.x for this project and not being able to complete the migration to 2.x in WikiLambda T319054 we've decided to use justingrainbow/json-schema instead. The PoC with that justinrainbow can be found at https://gitlab.wikimedia.org/repos/growth/community-configuration/-/merge_requests/5