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
Stefan Ålund
1665ae8bb8
Slightly more padding in dense tables ( #3571 )
...
* Slightly more padding in dense tables
* Added changeset
* Update small-comics-cover.md
2020-12-07 10:17:59 +01:00
Patrik Oldsberg
c954485b94
Merge pull request #3595 from backstage/rugvip/dist
...
app,backend,create-app: add files declaration to package.jsons
2020-12-07 10:15:32 +01:00
Patrik Oldsberg
5fd6b69fb9
Merge pull request #3594 from backstage/rugvip/bundle
...
cli: update experimental backend:bundle command to output archives to dist/
2020-12-07 10:15:21 +01:00
dependabot[bot]
ad6ef68f2b
build(deps-dev): bump docusaurus in /microsite ( #3543 )
...
Bumps [docusaurus](https://github.com/facebook/docusaurus ) from 2.0.0-alpha.66 to 2.0.0-alpha.378053ac5.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG-2.x.md )
- [Commits](https://github.com/facebook/docusaurus/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:45:10 +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
dependabot[bot]
2c12b5fc79
build(deps-dev): bump @types/testing-library__jest-dom ( #3596 )
...
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom ) from 5.9.1 to 5.9.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:42:58 +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
Patrik Oldsberg
94348441e0
app,backend,create-app: add files declaration to package.jsons
2020-12-06 23:11:39 +01:00
Patrik Oldsberg
06dbe707bf
cli: update experimental backend:bundle command to output archives to dist
2020-12-06 22:45:06 +01:00
Fredrik Adelöw
a1fffce071
Merge pull request #3592 from backstage/freben/relations-all-at-once
...
catalog-backend: read all relations at once
2020-12-06 19:49:37 +01:00
Fredrik Adelöw
047c018c91
catalog-backend: read all relations at once
2020-12-06 18:26:09 +01:00
Adam Harvey
1e097d11ca
Align optional NPM fields
2020-12-05 22:00:03 -05:00
David Tuite
d298d50639
Add pagerduty config to helm chart
2020-12-05 21:49:03 +00:00
AlleyWei
0d9b43216d
Update Footer.js
2020-12-05 11:58:13 -05:00
AlleyWei
4943544799
Update Footer.js
2020-12-05 11:55:45 -05:00
Tim Hansen
8cc65fec5f
The embarrassment
...
A developer without
A final paren
2020-12-04 20:29:11 -07:00
Tim Hansen
6f7ee993c4
M/M -> Change
2020-12-04 15:38:36 -07:00
AlleyWei
4ac602d6e8
Update Footer.js
2020-12-04 17:34:40 -05:00
AlleyWei
a8b4dbcb6b
Update Footer.js
...
Please make the <3 an emoji
2020-12-04 17:28:38 -05:00
Tim Hansen
cadb4b5311
findFirst -> findAny
2020-12-04 15:24:40 -07:00
Ryan Vazquez
d6e8099ed5
changeset
2020-12-04 15:35:59 -05:00
Ryan Vazquez
cd26fb6577
supress recharts react warnings in test
2020-12-04 15:31:38 -05:00
Ryan Vazquez
3a50df5ee3
convert duration + billing date to intervals
2020-12-04 15:31:07 -05:00
Tim Hansen
b14cbe28d3
Fix tests
2020-12-04 10:45:58 -07:00
Patrik Oldsberg
b6aa734b23
Merge pull request #3577 from Andarist/dedup-changesets-config
...
Deduplicate @changesets/config in yarn.lock
2020-12-04 17:52:08 +01:00
Patrik Oldsberg
b1952fad50
Merge pull request #3567 from backstage/rugvip/impl
...
core-api: update ApiFactory type to correctly infer API type and disallow mismatched implementations
2020-12-04 17:30:53 +01:00
Mateusz Burzyński
cb124a0005
Deduplicate @changesets/config in yarn.lock
2020-12-04 17:29:12 +01:00
Tim Hansen
e3071a0d49
Add support for multiple types of entity cost breakdown
2020-12-04 09:12:29 -07:00
Oliver Sand
12bbd748c5
Remove prometheus depenedency from backend-common
2020-12-04 17:07:29 +01:00
samiramkr
f3b24a94a2
Merge pull request #3317 from backstage/samiram/pagerduty-plugin
...
Pagerduty plugin
2020-12-04 17:02:54 +01:00
Fredrik Adelöw
2d193da99f
Merge pull request #3542 from adamdmharvey/catalog-import-instructions
...
add(catalog-import): Add some end-user Catalog import instructions
2020-12-04 17:00:43 +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
Remi
8d28d2c984
feat(storybook-drawer): use theme spacing
2020-12-04 16:35:18 +01:00
Adam Harvey
56751f0632
Convert card to full Material-UI components
2020-12-04 10:26:38 -05:00
Brenda Sukh
b81c973f2e
Add one day to get exclusive date
2020-12-04 10:23:31 -05:00
Brenda Sukh
88ef11b45d
Add changeset
2020-12-04 10:20:00 -05:00
Brenda Sukh
c81456a175
Update quarter end date logic
2020-12-04 10:18:17 -05:00
Samira Mokaram
b7a5d90c83
fix import
2020-12-04 14:56:53 +01:00
Oliver Sand
0f88771685
Improve loading speed of the CI/CD page
...
Improve loading speed of the CI/CD page.
Only request the necessary fields from Jenkins to keep the request size low.
In addition everything is loaded in a single request, instead of requesting
each job and build individually. As this (and also the previous behavior) can
lead to a big amount of data, this limits the amount of jobs to 50.
For each job, only the latest build is loaded. Loading the full build history
of a job can lead to excessive load on the Jenkins instance.
2020-12-04 14:49:35 +01:00
Fredrik Adelöw
8225c58151
Merge pull request #3523 from keshann93/auth-env-prop
...
Introducing env prop to have configurable authentication env
2020-12-04 14:17:45 +01:00
Peter Grauvogel
6a0d7a9fbc
Increase pageSize for search result view ( #3565 )
2020-12-04 14:06:42 +01:00
Patrik Oldsberg
b6557c0988
core-api: update ApiFactory type to correctly infer API type and disallow mismatched implementations
2020-12-04 14:01:31 +01:00
Samira Mokaram
fa9d634350
update dependencies version
2020-12-04 13:42:20 +01:00
Fredrik Adelöw
4266967979
Merge pull request #3566 from backstage/Rugvip-patch-1
...
Update CHANGELOG.md
2020-12-04 13:40:43 +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
Patrik Oldsberg
b5f89d1c5d
Update CHANGELOG.md
2020-12-04 13:00:34 +01:00