From 8ae750ec1cc71e0326327da9163ad1c34a8fad16 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Thu, 19 Sep 2024 10:08:45 -0400 Subject: [PATCH] test: add collections app to import linter config All new apps should have an entry in the .importlinter config file so that our internal dependency tree stays clean, but we don't actually document that anywhere yet. Made https://github.com/openedx/openedx-learning/issues/230 to track work around making a "new app" checklist doc to help with this sort of thing in the future. --- .importlinter | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.importlinter b/.importlinter index fa7630e3..a0c2ba7d 100644 --- a/.importlinter +++ b/.importlinter @@ -46,6 +46,10 @@ layers= # without versioning information. These belong to a single Learning Package. openedx_learning.apps.authoring.contents + # The "collections" app stores arbitrary groupings of PublishableEntities. + # Its only dependency should be the publishing app. + openedx_learning.apps.authoring.collections + # The lowest layer is "publishing", which holds the basic primitives needed # to create Learning Packages and manage the draft and publish states for # various types of content.