@backstage/plugin-catalog-backend-module-github 0.0.0-nightly-20221025030246 → 0.0.0-nightly-20221028025441
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 +58 -12
- package/alpha/package.json +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-github
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20221028025441
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -34,17 +34,63 @@
|
|
|
34
34
|
- 67fe5bc9a9: Properly derive Github credentials when making requests in `GithubLocationAnalyzer` to support Github App authentication
|
|
35
35
|
- c1784a4980: Replaces in-code uses of `GitHub` with `Github` and deprecates old versions.
|
|
36
36
|
- Updated dependencies
|
|
37
|
-
- @backstage/backend-common@0.0.0-nightly-
|
|
38
|
-
- @backstage/plugin-catalog-backend@0.0.0-nightly-
|
|
39
|
-
- @backstage/integration@0.0.0-nightly-
|
|
40
|
-
- @backstage/backend-tasks@0.0.0-nightly-
|
|
41
|
-
- @backstage/
|
|
42
|
-
- @backstage/
|
|
43
|
-
- @backstage/plugin-
|
|
44
|
-
- @backstage/catalog-
|
|
45
|
-
- @backstage/catalog-
|
|
46
|
-
- @backstage/config@0.0.0-nightly-
|
|
47
|
-
- @backstage/errors@0.0.0-nightly-
|
|
37
|
+
- @backstage/backend-common@0.0.0-nightly-20221028025441
|
|
38
|
+
- @backstage/plugin-catalog-backend@0.0.0-nightly-20221028025441
|
|
39
|
+
- @backstage/integration@0.0.0-nightly-20221028025441
|
|
40
|
+
- @backstage/backend-tasks@0.0.0-nightly-20221028025441
|
|
41
|
+
- @backstage/catalog-model@0.0.0-nightly-20221028025441
|
|
42
|
+
- @backstage/types@0.0.0-nightly-20221028025441
|
|
43
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20221028025441
|
|
44
|
+
- @backstage/plugin-catalog-node@0.0.0-nightly-20221028025441
|
|
45
|
+
- @backstage/catalog-client@0.0.0-nightly-20221028025441
|
|
46
|
+
- @backstage/config@0.0.0-nightly-20221028025441
|
|
47
|
+
- @backstage/errors@0.0.0-nightly-20221028025441
|
|
48
|
+
|
|
49
|
+
## 0.2.0-next.0
|
|
50
|
+
|
|
51
|
+
### Minor Changes
|
|
52
|
+
|
|
53
|
+
- 67fe5bc9a9: BREAKING: Support authenticated backends by including a server token for catalog requests. The constructor of `GithubLocationAnalyzer` now requires an instance of `TokenManager` to be supplied:
|
|
54
|
+
|
|
55
|
+
```diff
|
|
56
|
+
...
|
|
57
|
+
builder.addLocationAnalyzers(
|
|
58
|
+
new GitHubLocationAnalyzer({
|
|
59
|
+
discovery: env.discovery,
|
|
60
|
+
config: env.config,
|
|
61
|
+
+ tokenManager: env.tokenManager,
|
|
62
|
+
}),
|
|
63
|
+
);
|
|
64
|
+
...
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
- f64d66a45c: Added the ability for the GitHub discovery provider to validate that catalog files exist before emitting them.
|
|
68
|
+
|
|
69
|
+
Users can now set the `validateLocationsExist` property to `true` in their GitHub discovery configuration to opt in to this feature.
|
|
70
|
+
This feature only works with `catalogPath`s that do not contain wildcards.
|
|
71
|
+
|
|
72
|
+
When `validateLocationsExist` is set to `true`, the GitHub discovery provider will retrieve the object from the
|
|
73
|
+
repository at the provided `catalogPath`.
|
|
74
|
+
If this file exists and is non-empty, then it will be emitted as a location for further processing.
|
|
75
|
+
If this file does not exist or is empty, then it will not be emitted.
|
|
76
|
+
Not emitting locations that do not exist allows for far fewer calls to the GitHub API to validate locations that do not exist.
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- 67fe5bc9a9: Properly derive Github credentials when making requests in `GithubLocationAnalyzer` to support Github App authentication
|
|
81
|
+
- c1784a4980: Replaces in-code uses of `GitHub` with `Github` and deprecates old versions.
|
|
82
|
+
- Updated dependencies
|
|
83
|
+
- @backstage/backend-common@0.16.0-next.0
|
|
84
|
+
- @backstage/plugin-catalog-backend@1.5.1-next.0
|
|
85
|
+
- @backstage/integration@1.4.0-next.0
|
|
86
|
+
- @backstage/backend-tasks@0.3.7-next.0
|
|
87
|
+
- @backstage/catalog-model@1.1.3-next.0
|
|
88
|
+
- @backstage/types@1.0.1-next.0
|
|
89
|
+
- @backstage/backend-plugin-api@0.1.4-next.0
|
|
90
|
+
- @backstage/plugin-catalog-node@1.2.1-next.0
|
|
91
|
+
- @backstage/catalog-client@1.1.2-next.0
|
|
92
|
+
- @backstage/config@1.0.4-next.0
|
|
93
|
+
- @backstage/errors@1.1.3-next.0
|
|
48
94
|
|
|
49
95
|
## 0.1.8
|
|
50
96
|
|
package/alpha/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-github",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
|
|
4
|
-
"version": "0.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-20221028025441",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"start": "backstage-cli package start"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
37
|
-
"@backstage/backend-plugin-api": "^0.0.0-nightly-
|
|
38
|
-
"@backstage/backend-tasks": "^0.0.0-nightly-
|
|
39
|
-
"@backstage/catalog-client": "^0.0.0-nightly-
|
|
40
|
-
"@backstage/catalog-model": "^0.0.0-nightly-
|
|
41
|
-
"@backstage/config": "^0.0.0-nightly-
|
|
42
|
-
"@backstage/errors": "^0.0.0-nightly-
|
|
43
|
-
"@backstage/integration": "^0.0.0-nightly-
|
|
44
|
-
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-
|
|
45
|
-
"@backstage/plugin-catalog-node": "^0.0.0-nightly-
|
|
46
|
-
"@backstage/types": "^0.0.0-nightly-
|
|
36
|
+
"@backstage/backend-common": "^0.0.0-nightly-20221028025441",
|
|
37
|
+
"@backstage/backend-plugin-api": "^0.0.0-nightly-20221028025441",
|
|
38
|
+
"@backstage/backend-tasks": "^0.0.0-nightly-20221028025441",
|
|
39
|
+
"@backstage/catalog-client": "^0.0.0-nightly-20221028025441",
|
|
40
|
+
"@backstage/catalog-model": "^0.0.0-nightly-20221028025441",
|
|
41
|
+
"@backstage/config": "^0.0.0-nightly-20221028025441",
|
|
42
|
+
"@backstage/errors": "^0.0.0-nightly-20221028025441",
|
|
43
|
+
"@backstage/integration": "^0.0.0-nightly-20221028025441",
|
|
44
|
+
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-20221028025441",
|
|
45
|
+
"@backstage/plugin-catalog-node": "^0.0.0-nightly-20221028025441",
|
|
46
|
+
"@backstage/types": "^0.0.0-nightly-20221028025441",
|
|
47
47
|
"@octokit/graphql": "^5.0.0",
|
|
48
48
|
"@octokit/rest": "^19.0.3",
|
|
49
49
|
"git-url-parse": "^13.0.0",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"winston": "^3.2.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@backstage/backend-test-utils": "^0.0.0-nightly-
|
|
58
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
57
|
+
"@backstage/backend-test-utils": "^0.0.0-nightly-20221028025441",
|
|
58
|
+
"@backstage/cli": "^0.0.0-nightly-20221028025441",
|
|
59
59
|
"@types/lodash": "^4.14.151",
|
|
60
60
|
"luxon": "^3.0.0"
|
|
61
61
|
},
|