@backstage/plugin-catalog-backend-module-gitlab 0.6.5-next.2 → 0.6.6-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @backstage/plugin-catalog-backend-module-gitlab
2
2
 
3
+ ## 0.6.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/integration@1.16.4-next.0
9
+ - @backstage/plugin-catalog-node@1.17.0-next.0
10
+ - @backstage/backend-defaults@0.9.1-next.0
11
+ - @backstage/backend-plugin-api@1.3.1-next.0
12
+ - @backstage/plugin-events-node@0.4.11-next.0
13
+ - @backstage/catalog-model@1.7.3
14
+ - @backstage/config@1.3.2
15
+ - @backstage/plugin-catalog-common@1.1.3
16
+
17
+ ## 0.6.5
18
+
19
+ ### Patch Changes
20
+
21
+ - a568cda: add filter for repos by membership and topics
22
+ - 871a8db: fix: Add missing config options to config declaration file
23
+ - Updated dependencies
24
+ - @backstage/backend-defaults@0.9.0
25
+ - @backstage/plugin-catalog-node@1.16.3
26
+ - @backstage/backend-plugin-api@1.3.0
27
+ - @backstage/integration@1.16.3
28
+ - @backstage/catalog-model@1.7.3
29
+ - @backstage/config@1.3.2
30
+ - @backstage/plugin-catalog-common@1.1.3
31
+ - @backstage/plugin-events-node@0.4.10
32
+
3
33
  ## 0.6.5-next.2
4
34
 
5
35
  ### Patch Changes
package/config.d.ts CHANGED
@@ -33,11 +33,25 @@ export interface Config {
33
33
  * If not defined the whole instance will be scanned.
34
34
  */
35
35
  group?: string;
36
+ /**
37
+ * If true, the provider will only ingest users that are part of the configured group.
38
+ */
39
+ restrictUsersToGroup?: boolean;
36
40
  /**
37
41
  * (Optional) Default branch to read the catalog-info.yaml file.
38
42
  * If not set, 'master' will be used.
39
43
  */
40
44
  branch?: string;
45
+ /**
46
+ * If no `branch` is configured and there is no default branch defined at the project as well, this fallback is used
47
+ * to discover catalog files.
48
+ * Defaults to: `master`
49
+ */
50
+ fallbackBranch?: string;
51
+ /**
52
+ * Defaults to `catalog-info.yaml`
53
+ */
54
+ catalogFile?: string;
41
55
  /**
42
56
  * (Optional) The name used for the catalog file.
43
57
  * If not set, 'catalog-info.yaml' will be used.
@@ -59,6 +73,26 @@ export interface Config {
59
73
  * (Optional) RegExp for the Group Name Pattern
60
74
  */
61
75
  groupPattern?: string;
76
+ /**
77
+ * Specifies the types of group membership relations that should be included when ingesting data.
78
+ *
79
+ * The following values are valid:
80
+ * - 'DIRECT': Direct members of the group. This is the default relation and is always included.
81
+ * - 'INHERITED': Members inherited from parent (ascendant) groups.
82
+ * - 'DESCENDANTS': Members from child (descendant) groups.
83
+ * - 'SHARED_FROM_GROUPS': Members shared from other groups.
84
+ *
85
+ * See: https://docs.gitlab.com/ee/api/graphql/reference/#groupmemberrelation
86
+ *
87
+ * If the `relations` array is provided in the app-config.yaml, it should contain any combination of the above values.
88
+ * The 'DIRECT' relation is automatically included and cannot be excluded, even if not specified.
89
+ */
90
+ relations?: string[];
91
+ /**
92
+ * Enable org ingestion
93
+ * Defaults to `false`
94
+ */
95
+ orgEnabled?: boolean;
62
96
  /**
63
97
  * (Optional) Skip forked repository
64
98
  */
@@ -72,7 +106,12 @@ export interface Config {
72
106
  * Should be in the format group/subgroup/repo, with no leading or trailing slashes.
73
107
  */
74
108
  excludeRepos?: string[];
75
-
109
+ /**
110
+ * If true, users without a seat will be included in the catalog.
111
+ * Group/Application Access Tokens are still filtered out but you might find service accounts or other users without a seat.
112
+ * Defaults to `false`
113
+ */
114
+ includeUsersWithoutSeat?: boolean;
76
115
  /**
77
116
  * (Optional) If true, limit by repositories that the current user is a member of.
78
117
  * See: https://docs.gitlab.com/api/projects/#list-projects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gitlab",
3
- "version": "0.6.5-next.2",
3
+ "version": "0.6.6-next.0",
4
4
  "description": "A Backstage catalog backend module that helps integrate towards GitLab",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -65,23 +65,23 @@
65
65
  "test": "backstage-cli package test"
66
66
  },
67
67
  "dependencies": {
68
- "@backstage/backend-defaults": "0.9.0-next.2",
69
- "@backstage/backend-plugin-api": "1.2.1",
68
+ "@backstage/backend-defaults": "0.9.1-next.0",
69
+ "@backstage/backend-plugin-api": "1.3.1-next.0",
70
70
  "@backstage/catalog-model": "1.7.3",
71
71
  "@backstage/config": "1.3.2",
72
- "@backstage/integration": "1.16.3-next.0",
72
+ "@backstage/integration": "1.16.4-next.0",
73
73
  "@backstage/plugin-catalog-common": "1.1.3",
74
- "@backstage/plugin-catalog-node": "1.16.3-next.0",
75
- "@backstage/plugin-events-node": "0.4.9",
74
+ "@backstage/plugin-catalog-node": "1.17.0-next.0",
75
+ "@backstage/plugin-events-node": "0.4.11-next.0",
76
76
  "@gitbeaker/rest": "^40.0.3",
77
77
  "lodash": "^4.17.21",
78
78
  "node-fetch": "^2.7.0",
79
79
  "uuid": "^11.0.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@backstage/backend-test-utils": "1.3.2-next.2",
83
- "@backstage/cli": "0.32.0-next.2",
84
- "@backstage/plugin-events-backend-test-utils": "0.1.42",
82
+ "@backstage/backend-test-utils": "1.5.0-next.0",
83
+ "@backstage/cli": "0.32.1-next.0",
84
+ "@backstage/plugin-events-backend-test-utils": "0.1.44-next.0",
85
85
  "@types/lodash": "^4.14.151",
86
86
  "luxon": "^3.0.0",
87
87
  "msw": "^1.0.0"