Skip to content

Commit

Permalink
Change compass.yaml contents to match Compass tool
Browse files Browse the repository at this point in the history
The contents of the compass.yaml files that were manually added differed
from what the Compass tool would generate through the UI. This could be
the reason that the components are not being imported (the tool doesn't
provide proper feedback about this).

This PR changes the order of fields to be what comes out of the
"Config-as-code" tab in the tool so that copy pasting from the tool to a
file yields consistent results. It also changes `tier` from `null` to
the lowest tier which is `4` since it's not clear whether `tier` may be
empty (you can't make it empty through the UI). Finally it changes
`customFields` to `null` from `[]` which differs from the documentation
but matches what's automatically dumped.

While we're add it we add two links: one to the repository this
component lives in (the distribution) and the other to the Jira project
that work lives in for our component (Product).
  • Loading branch information
Kingdutch committed Oct 31, 2024
1 parent 94fb948 commit 4c554b6
Show file tree
Hide file tree
Showing 70 changed files with 705 additions and 282 deletions.
14 changes: 10 additions & 4 deletions modules/custom/activity_basics/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
configVersion: 1
name: Activity Basics
id: null
description: |-
Provides the integration between Drupal's entity hooks and the actual creation of
activity entities as defined in the Activity Creator system.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/activity_creator/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Activity Creator
id: null
description: |-
Expand All @@ -9,12 +8,19 @@ description: |-
When a new activity is created this module will kick-off the processing. It'll
also take care of updating/deleting an activity when the content it relates to
is updated or removed.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/activity_logger/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
configVersion: 1
name: Activity Logger
id: null
description: |-
Adds notification metadata to the entities provided by the Message module.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
15 changes: 11 additions & 4 deletions modules/custom/activity_send/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
configVersion: 1
name: Activity Send
id: null
description: |-
Provides integrations for the activity system to deliver using e-mail or push
notifications (the actual web or app push is implemented in different
modules).
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null

15 changes: 11 additions & 4 deletions modules/custom/activity_viewer/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
configVersion: 1
name: Activity Viewer
id: null
description: |-
Provides integration with activity entities and the Views module.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null

15 changes: 11 additions & 4 deletions modules/custom/alternative_frontpage/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
configVersion: 1
name: Social Lazy Loading
id: null
description: |-
Module that previously used blazy to implement lazy loading.
Deprecated because it's been replaced by native lazy loading.
configVersion: 1
typeId: CAPABILITY
ownerId: null
fields:
tier: null
lifecycle: Deprecated
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null

14 changes: 10 additions & 4 deletions modules/custom/download_count/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
configVersion: 1
name: Download Count
id: null
description: |-
Tracks file downloads for Drupal private core file fields.
Marked as deprecated as most of our product has switched away from private
files.
configVersion: 1
typeId: CAPABILITY
ownerId: null
fields:
tier: null
lifecycle: Deprecated
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/dropdown/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Dropdown
id: null
description: |-
Expand All @@ -7,12 +6,19 @@ description: |-
Marked as deprecated because it seems to overlap with Drupal core (list_*)
functionality and it's unclear where/how this is used or what value it's
supposed to provide.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Deprecated
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/entity_access_by_field/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Entity Access by Field
id: null
description: |-
Expand All @@ -19,13 +18,20 @@ description: |-
responsibility direction. This module should provide a system for the storage
of the visibility setting as well as control over which values are available
for which types of object (ensuring disabling 'public' is not a special case).
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels:
- 'architect:rework'
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/grequest/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Group Request
id: null
description: |-
Expand All @@ -9,13 +8,20 @@ description: |-
and should be replaced with https://www.drupal.org/project/grequest
See https://getopensocial.atlassian.net/browse/PROD-30018
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Deprecated
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels:
- 'architect:replace'
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/group_core_comments/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Group Core Comments
id: null
description: |-
Expand All @@ -11,13 +10,20 @@ description: |-
whole module should do. It's expected that the group module itself can provide
us with the access handling around comments and the UI element may be a
reusable part of our group integration that can be re-used where needed.
configVersion: 1
typeId: CAPABILITY
ownerId: null
fields:
tier: null
lifecycle: Deprecated
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels:
- 'architect:rework'
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/gvbo/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Group Views Bulk Operations
id: null
description: |-
Expand All @@ -8,13 +7,20 @@ description: |-
This module is marked for reconsideration because it's not exactly clear why
it exists. Why is this functionality not in group itself for example or why
can this not live in our `social_group` integration of group.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels:
- 'architect:reconsider'
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/improved_theme_settings/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
configVersion: 1
name: Group Views Bulk Operations
id: null
description: |-
This module renders custom CSS based on theme settings.
This is marked for reconsideration to see if we can move this to the theme
instead. This was not possible in Drupal 8 but perhaps it's possible now.
configVersion: 1
typeId: CAPABILITY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels:
- 'architect:reconsider'
customFields: null
14 changes: 10 additions & 4 deletions modules/custom/mentions/compass.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
configVersion: 1
name: Mentions
id: null
description: |-
Expand All @@ -8,12 +7,19 @@ description: |-
Note that a fork of this module exists at
https://www.drupal.org/project/mentions though there are slight
incompatibilities between the two.
configVersion: 1
typeId: LIBRARY
ownerId: null
fields:
tier: null
lifecycle: Active
links: []
tier: 4
links:
- name: null
type: REPOSITORY
url: 'https://github.com/goalgorilla/open_social'
- name: null
type: PROJECT
url: 'https://getopensocial.atlassian.net/browse/PROD'
relationships: {}
customFields: []
labels: []
customFields: null
Loading

0 comments on commit 4c554b6

Please sign in to comment.