Commit Graph

2772 Commits

Author SHA1 Message Date
Mikael Östberg 5066852ef2 Update useGithubRepos.ts 2020-12-09 11:45:52 +01:00
Mikael Östberg 7dda6180b0 Ran prettier 2020-12-09 11:11:17 +01:00
Mikael Östberg d0c62e7dc7 Add todo and find config by hostname 2020-12-09 11:05:29 +01:00
Mikael Östberg a3cb631ca5 Ran prettier ... 2020-12-08 12:34:31 +01:00
Mikael Östberg ac454782f2 Add dependency on module 2020-12-08 12:24:18 +01:00
Mikael Östberg 7babbfaf3c Add support for GitHub Enterprise from integration-config 2020-12-08 12:06:58 +01:00
David Tuite 03e264519a Fix techdocs for url locations (#3589)
Pasting a URL like `https://github.com/RoadieHQ/sample-service/blob/master/catalog-info-1.yaml`
into the Register Existing Component input creates an Entity with the
the `backstage.io/managed-by-location` annotation set to the `type` of
`url.

The TechDocs perparer does not handle this type.

```ts
    switch (type) {
      case 'github':
      case 'gitlab':
      case 'azure/api': {
        // ...
      }

      case 'file':
        // ...
      default:
        throw new InputError(`Unable to resolve location type ${type}`);
    }
  }
```

Thus, docs are never generated and we see the following error when
trying to view then in Backstage.

```
InputError: Unable to resolve location type url at DirectoryPreparer.resolveManagedByLocationToDir (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/techdocs/stages/prepare/dir.ts:63:15) at DirectoryPreparer.prepare (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/techdocs/stages/prepare/dir.ts:73:51) at DocsBuilder.build (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/service/helpers.ts:74:45) at eval (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/service/router.ts:141:25) at processTicksAndRejections (internal/process/task_queues.js:93:5)
```

This may not be the correct solution. An alternative solution would be
to ensure that pasted URLs end up with the `type` of `github` rather
than `url`.
2020-12-07 11:46:40 +01:00
Adam Harvey b20a63d103 fix(lighthouse): Typo & example code tweaks (#3573)
* Update export example

* Fix typo
2020-12-07 09:44:25 +01:00
Fredrik Adelöw d2f81dd290 Merge pull request #3373 from backstage/freben/remove-ancestors-descendants
catalog: remove group ancestors and descendants
2020-12-07 09:40:38 +01:00
Fredrik Adelöw 047c018c91 catalog-backend: read all relations at once 2020-12-06 18:26:09 +01:00
samiramkr f3b24a94a2 Merge pull request #3317 from backstage/samiram/pagerduty-plugin
Pagerduty plugin
2020-12-04 17:02:54 +01:00
Samira Mokaram 7c856e3317 update dep version 2020-12-04 16:44:01 +01:00
Adam Harvey 20716ae14f Change sample repo URL 2020-12-04 10:42:47 -05:00
Adam Harvey 5a30ec7ddd Merge branch 'master' of github.com:backstage/backstage into catalog-import-instructions 2020-12-04 10:40:10 -05:00
Adam Harvey 56751f0632 Convert card to full Material-UI components 2020-12-04 10:26:38 -05:00
Samira Mokaram b7a5d90c83 fix import 2020-12-04 14:56:53 +01:00
Peter Grauvogel 6a0d7a9fbc Increase pageSize for search result view (#3565) 2020-12-04 14:06:42 +01:00
Samira Mokaram fa9d634350 update dependencies version 2020-12-04 13:42:20 +01:00
Fredrik Adelöw 894136a440 Merge pull request #3564 from lowjoel/fix-dockerode-types
fix: Conflicting dockerode version specifications
2020-12-04 13:39:12 +01:00
Patrik Oldsberg cc5eef1ec4 Merge pull request #3539 from adamdmharvey/fix-catalog-import-typo
fix(catalog-import): Catalog import internal variable typo and update plugin ID
2020-12-04 13:02:11 +01:00
samiramkr 02be8ca4f1 Delete PagerdutyCard.tsx 2020-12-04 11:41:30 +01:00
Samira Mokaram 8109ff1d35 Merge branch 'master' of https://github.com/spotify/backstage into samiram/pagerduty-plugin 2020-12-04 11:04:21 +01:00
Samira Mokaram afb65b2f88 remove plugin-catalog dep 2020-12-04 10:14:50 +01:00
Samira Mokaram 1c6f8417d1 fix getIncident query 2020-12-04 10:14:05 +01:00
Samira Mokaram 6f23e96830 refactor structure 2020-12-04 10:03:26 +01:00
Samira Mokaram 18c2dcb368 remove pagerduty logo 2020-12-04 09:58:45 +01:00
Samira Mokaram 3dee3093de fix updating incidents and create AboutCard and use it 2020-12-04 09:54:25 +01:00
Joel Low 1e22f8e0b8 Fix conflicting dockerode version specifications 2020-12-04 16:45:15 +08:00
Adam Harvey 9d86239559 Merge branch 'master' of github.com:backstage/backstage into catalog-import-instructions 2020-12-03 21:12:09 -05:00
Adam Harvey 993acf1867 Fix attribute definitions 2020-12-03 16:04:19 -05:00
Adam Harvey c950ee81f0 Move instructions card to right side 2020-12-03 15:45:21 -05:00
Fredrik Adelöw e33de28e83 Merge pull request #3517 from adamdmharvey/adr004-ci
chore(jenkins,circleci): Refactor APIs to export modules from index to support ADR004
2020-12-03 21:23:35 +01:00
github-actions[bot] 01aa774d9a Version Packages 2020-12-03 15:28:22 +00:00
Fredrik Adelöw a6574279d6 Merge pull request #3513 from backstage/freben/relative-locations
catalog: add support for relative targets and implicit types in Location entities
2020-12-03 15:10:26 +01:00
Sebastian Qvarfordt eeecfbf4a6 Cache techdocs build using UrlReader (#3551)
* Better caching is coming when some backstage core features are in place. Currently let's just cache it for 30 minutes

* Fixed prettier
2020-12-03 15:00:03 +01:00
Samira Mokaram 2b027c9138 revert changes 2020-12-03 14:25:58 +01:00
Adam Harvey e5ff181467 Add register instructions 2020-12-02 22:51:24 -05:00
Adam Harvey c02db852a2 Fix variable typo 2020-12-02 21:05:16 -05:00
Adam Harvey eb3f4cbb58 Align plugin ID 2020-12-02 21:04:42 -05:00
Ryan Vazquez bf3c161d72 disable support button 2020-12-02 17:36:30 -05:00
Brenda Sukh fc16895a93 Generalize breakdown label 2020-12-02 15:07:50 -05:00
Brenda Sukh 108994d4dc Add additional events panel 2020-12-02 14:32:40 -05:00
Brenda Sukh ff83308e48 Generalize SKU specific verbiage 2020-12-02 14:32:11 -05:00
Fredrik Adelöw 21f7d80483 Merge pull request #3520 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.45.0
build(deps): bump typescript-json-schema from 0.43.0 to 0.45.0
2020-12-02 16:46:53 +01:00
Fredrik Adelöw 6437f20cfc Merge pull request #3411 from moustafab/feature/k8s-label-selector-2
refactor(k8s-plugin): update to use annotation based label selector
2020-12-02 16:31:20 +01:00
Fredrik Adelöw b4488ddb0b address typescript errors 2020-12-02 16:11:44 +01:00
dependabot[bot] 2ff3239154 build(deps-dev): bump @types/codemirror from 0.0.97 to 0.0.100 (#3522)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.97 to 0.0.100.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 14:26:36 +01:00
dependabot[bot] 338e60a826 build(deps-dev): bump @types/jwt-decode from 2.2.1 to 3.1.0
Bumps [@types/jwt-decode](https://github.com/auth0/jwt-decode) from 2.2.1 to 3.1.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases)
- [Changelog](https://github.com/auth0/jwt-decode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/jwt-decode/commits/v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-02 09:47:01 +01:00
Fredrik Adelöw 08835a61d9 catalog: add support for relative targets and implicit types in Location entities 2020-12-02 07:30:58 +01:00
Adam Harvey 2de30dd019 Explicit exports 2020-12-01 21:10:08 -05:00