Extended changelist docs; Fixed lint errors
This commit is contained in:
@@ -2,4 +2,14 @@
|
||||
'@backstage/plugin-catalog-backend': minor
|
||||
---
|
||||
|
||||
Added an option to scan github for repositories using a new location type 'github-discovery'
|
||||
Added an option to scan GitHub for repositories using a new location type `github-discovery`.
|
||||
Example:
|
||||
|
||||
```yaml
|
||||
type: 'github-discovery',
|
||||
target:
|
||||
'https://github.com/backstage/techdocs-*/blob/master/catalog.yaml'
|
||||
```
|
||||
|
||||
You can use wildcards (`*`) as well. This will add `location` entities for each matching repository.
|
||||
Currently though, you must specify the exact path of the `catalog.yaml` file in the repository.
|
||||
|
||||
@@ -14,13 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {
|
||||
GroupEntity,
|
||||
LocationEntity,
|
||||
UserEntity,
|
||||
} from '@backstage/catalog-model';
|
||||
import { GroupEntity, UserEntity } from '@backstage/catalog-model';
|
||||
import { graphql } from '@octokit/graphql';
|
||||
import { xorWith } from 'lodash/fp';
|
||||
|
||||
// Graphql types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user