Skip to content

FAL-3449 - Taxonomy view management apis [WIP] #75

FAL-3449 - Taxonomy view management apis [WIP]

FAL-3449 - Taxonomy view management apis [WIP] #75

Triggered via pull request July 21, 2023 19:04
Status Failure
Total duration 29s
Artifacts

commitlint.yml

on: pull_request
commitlint  /  commitlint
18s
commitlint / commitlint
Fit to window
Zoom out
Zoom in

Annotations

1 error
commitlint / commitlint
You have commit messages with errors ⧗ input: Allow custom Taxonomy, ObjectTag subclasses to customize tagging behavior (#62) Adds support for custom Taxonomy subclasses to be stored against a Taxonomy, to be used by the python API when instantiating and returning Taxonomies. Also adds minimal support for ObjectTag subclasses. However, these are not stored against the ObjectTag instances; they can be instantiated by the Taxonomy subclasses if and when needed. Related: * docs: updates decisions to reflect this change * feat: adds api.get_taxonomy, which returns a Taxonomy cast to its subclass, when set * refactor: adds _check_taxonomy, _check_tag, and _check_object methods to the Taxonomy class, which can be overridden by subclasses when validating ObjectTags Added to support system-defined Taxonomies: * feat: adds un-editable Taxonomy.system_defined field so that system taxonomies can store this field and ensure no one edits them. * feat: adds Taxonomy.visible_to_authors, which is needed for fully automated tagging. Cleanup changes: * fix: updates Tag model to cascade delete if the Taxonomy or parent Tag is deleted. * style: adds missing type annotations to rules and python API ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://open-edx-proposals.readthedocs.io/en/latest/oep-0051-bp-conventional-commits.html