Commit Graph

24742 Commits

Author SHA1 Message Date
Emma Indal 90965cb56a fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:22 +01:00
Emma Indal f80f3a7bc9 create stack-overflow backend plugin and move collator there
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:22 +01:00
Emma Indal fc67e62ac2 add @backstage/reviewers as codeowners too
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:21 +01:00
Emma Indal a7825896c3 fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:21 +01:00
Emma Indal 362d49a521 publish stories from stack overflow plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:21 +01:00
Emma Indal 5822cb1ddd add codeowners
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:25:18 +01:00
Emma Indal fa4d513332 add stack overflow homepage component to default template
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:19:08 +01:00
Emma Indal e4d77a9c54 add new stack overflow plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:19:08 +01:00
Johan Haals c87bac58db Merge pull request #10442 from backstage/techdocs-e2e-test-workflow
[TechDocs] e2e test workflow
2022-03-25 11:18:14 +01:00
Emma Indal f13c7d517f restrict e2e test workflow to run on changes to specific paths
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-25 11:06:24 +01:00
Fredrik Adelöw b1b793d974 Merge pull request #9630 from naijith/bazaar-api
bazaar: use token while request to backend
2022-03-24 16:43:41 +01:00
Johan Haals 011c0b479f Merge pull request #10426 from athal7/patch-1
Update 2U contacts in ADOPTERS.md
2022-03-24 16:05:05 +01:00
Patrik Oldsberg 822403287c Merge pull request #10420 from backstage/rugvip/cleanup
backend-test-utils: avoid cleanup if no databases are supported
2022-03-24 16:04:00 +01:00
Matthew Clarke 1023ee6353 Export kubernetes components (#10401)
* export Kubernetes components

Signed-off-by: mclarke <mclarke@spotify.com>

* changeset

Signed-off-by: mclarke <mclarke@spotify.com>

* api reports

Signed-off-by: mclarke <mclarke@spotify.com>

* fix deps

Signed-off-by: mclarke <mclarke@spotify.com>

* move dep from dev to regular

Signed-off-by: mclarke <mclarke@spotify.com>
2022-03-24 10:24:23 -04:00
Fredrik Adelöw 267f8be849 Merge pull request #10263 from anicke/gerrit-urlreader
GerritUrlReader added that implements "readUrl"
2022-03-24 15:22:23 +01:00
Patrik Oldsberg 6d31d2abcc Merge pull request #10421 from backstage/rugvip/stop
cli: stop logging stopped watcher
2022-03-24 15:06:49 +01:00
Andrew Thal 2f127f3aba Update 2U contacts in ADOPTERS.md
Signed-off-by: GitHub <noreply@github.com>
2022-03-24 14:04:38 +00:00
Niklas Aronsson b7436743cb GerritUrlReader added that implements "readUrl"
The url used by "readUrl" is supposed to be human friendly url that can
be opened in the browser. This makes the Gerrit configuration a bit more
complicated since there is no built in support to browse a git in Gerrit.
Instead this is handled by separate services that can be deployed at a
different host then the Gerrit instance. This implementation supports
Gitiles as the code browser tool. The dependency to Gitiles is optional,
it is perfectly possible to integrate Gerrit with Backstage but it will
not be possible to open the "human readable links" found in different
places of the Backstage gui.

A new optional config field has been added to Gerrit integration where
the base url of the Gitiles installation can be set. This is needed to
create a working link to some git content.

A new "url reader" has been added that reads content from Gerrit, as of
now only "readUrl" is implemented ("readTree" will soon follow). The
format of url is the format used by Gitiles. Gerrit's "readUrl" is
pretty simple, it's a single API call to Gerrit that returns the content
base64 encoded.

What is a bit different to other "urlReaders" is the predicate
function in that is not matching the host of the Gerrrit API. The "host"
variable in the config is the Gerrit host. The address where  Gitiles is
 installed may be on the same host but it could be on a separate host.
For example a Gerrit instance could be hosted on
"gerrit-review.company.com" but the repos could be browsable on a
separate host, e.g. "gerrit.company.com" and the human readable URL would
then not point to the API host.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-24 14:43:39 +01:00
Patrik Oldsberg e2282b79bc Merge pull request #10422 from backstage/freben/contribooot
changeset script typo
2022-03-24 14:39:40 +01:00
Johan Haals 36aa8ec5e9 Merge pull request #10415 from backstage/dependabot/npm_and_yarn/eslint-webpack-plugin-3.1.1
build(deps): bump eslint-webpack-plugin from 2.6.0 to 3.1.1
2022-03-24 14:39:12 +01:00
Fredrik Adelöw 3560397f61 changeset script typo
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-24 14:34:17 +01:00
Johan Haals 3766a58ec5 Merge pull request #10419 from backstage/jhaals/renovate
actions: add renovate
2022-03-24 14:23:25 +01:00
Fredrik Adelöw c0717fb562 Merge pull request #9589 from prasaria/parent-group-ownership-aggregation
Parent group ownership aggregation
2022-03-24 14:17:54 +01:00
Patrik Oldsberg 5b3079694e cli: stop logging stopped watcher
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-24 14:17:30 +01:00
Johan Haals 26b0f39d88 add label
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-24 14:13:33 +01:00
Fredrik Adelöw 53924a3e2a Merge pull request #10077 from backstage/vinzscam/decouple-tags-picker-from-entities
Decouple EntityTagPicker from entities
2022-03-24 14:08:38 +01:00
Fredrik Adelöw ac29c32f91 Merge pull request #10390 from suuus/community-1
Update to Community Hub content
2022-03-24 14:00:45 +01:00
Johan Haals fe8ac3595c actions: add renovate
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-24 13:27:13 +01:00
Patrik Oldsberg b558c8f472 Merge pull request #10413 from backstage/dependabot/npm_and_yarn/graphql-tools/schema-8.3.5
build(deps): bump @graphql-tools/schema from 8.3.1 to 8.3.5
2022-03-24 13:25:31 +01:00
Patrik Oldsberg 19553b1fd2 Merge pull request #10412 from backstage/dependabot/npm_and_yarn/eslint-8.11.0
build(deps): bump eslint from 8.10.0 to 8.11.0
2022-03-24 13:25:13 +01:00
Patrik Oldsberg 0654c87cf2 backend-test-utils: avoid cleanup if no databases are supported
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-24 13:19:59 +01:00
Fredrik Adelöw b408d911fd cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-24 11:48:43 +01:00
dependabot[bot] bf9ea11b3e build(deps): bump eslint from 8.10.0 to 8.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 10:48:27 +00:00
Fredrik Adelöw 8dfaa20c52 Merge pull request #10410 from backstage/dependabot/npm_and_yarn/spotify/eslint-config-typescript-13.0.0
build(deps): bump @spotify/eslint-config-typescript from 12.0.0 to 13.0.0
2022-03-24 11:45:06 +01:00
Prasetya Aria Wibawa 0e5c9b2c8a remove unused comment
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 16:14:26 +07:00
Patrik Oldsberg 3a18c0732c Merge pull request #10409 from backstage/rugvip/tweaks
workflow: tweak changeset feedback to work with forks
2022-03-24 09:49:12 +01:00
Prasetya Aria Wibawa f12cb33bd5 passing down isGroup value from ownershipCard to useGetEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:56:56 +07:00
Prasetya Aria Wibawa 102e6efea5 fix test ownership card
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:35:20 +07:00
Prasetya Aria Wibawa 103b72b704 update to just use one hooks and one component grid in ownership card
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:20:30 +07:00
Prasetya Aria Wibawa 69d652f3cc use relations.ownedBy for filter params in getEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:26 +07:00
Prasetya Aria Wibawa e4d5b8c7ff rename owner to ownerEntity for getQueryParams
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 80b47162be fix failing test for links to the catalog with group filter
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 4a790094ee use humanizeEntityRef
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa da70c0ef1a check looping from length of requestedEntities
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa be6b97e2ed change to use getEntityByRef
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 303bc1c7fb use prettier
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa d9497b9b6e change filterKinds in OwnershipCard test
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa b759a21c96 change isOwnerOf to use filter relations.ownedBy
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 5606d6065b use getEntityRelations to get all memberOf groups
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa 8183a00eae change system test expectation for displays entity counts case
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com>
2022-03-24 14:12:24 +07:00