Commit Graph

77 Commits

Author SHA1 Message Date
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Mathias Åhsberg eda9dbd5fa Download tar.gz archives for Bitbucket
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-06-04 12:46:42 +00:00
Johan Haals 7417241fcc fix format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:52:51 +02:00
Johan Haals 66fee560e5 Update packages/integration/src/github/GithubCredentialsProvider.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Ben Lambert <3645856+benjdlambert@users.noreply.github.com>
2021-05-21 14:46:51 +02:00
Johan Haals 0fd4ea4431 Exclude emails using app auth with GithubOrgReaderProcessor
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-21 14:21:58 +02:00
jrusso1020 65e6c45410 Remove circular dependencies
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-15 11:17:05 -06:00
Martina Iglesias Fernandez c410cae0f2 Fix feedback
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 12:08:02 +02:00
Martina Iglesias Fernandez 6a9b9d0f7c Fix some comments
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez 18f4301d3b Fix googleGcs integration test
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez d5cb51331a Only allow one googleGcs config object
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez e4cdec27e9 Fix comments on GoogleGcsUrlReader
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 11:27:41 +02:00
Fredrik Adelöw 3385b374bd introduce @backstage/integration-react and its scmIntegrationsApiRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-16 18:37:59 +01:00
Patrik Oldsberg d4e77ec5f9 integration: add support for resolving a URL to a line in a file
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-10 22:31:26 +01:00
Dominik Henneke 52f613030a Support GitHub tree URLs in getGitHubFileFetchUrl
Co-authored-by: Oliver Sand <oliver.sand@sda-se.com>
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-09 17:49:17 +01:00
Fredrik Adelöw 3afa8e1c2b add frontend-filtered config loading tests in integrations
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 10:33:38 +01:00
Fredrik Adelöw 277644e098 Include missing fields in GitLab config schema
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 19:08:24 +01:00
Oliver Sand 69ad77869c Make sure that changing the url type doesn't collide with repo or owner names
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-08 11:12:53 +01:00
Oliver Sand 905cbfc966 Add resolveEditUrl to integrations
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-08 11:04:56 +01:00
Himanshu Mishra 2f3be0a68b integration: Add test case for non URI encoded link 2021-02-15 16:35:25 +01:00
Fredrik Adelöw 491f3a0ecf backend-common: implement UrlReader.search for the other providers too 2021-02-11 08:54:59 +01:00
Fredrik Adelöw 8ebcb85dab Merge pull request #4420 from backstage/freben/gitlab-config
integration: update the gitlab config mandatory fields to match reality
2021-02-10 22:13:11 +01:00
Fredrik Adelöw ffffea8e6d integration: update the gitlab config mandatory fields to match reality 2021-02-08 12:08:20 +01:00
Fredrik Adelöw 965e200c61 backend-common: slight refactoring in support of future search impl 2021-02-08 11:06:14 +01:00
Fredrik Adelöw 66e5b222fe Merge branch 'master' into lintMod 2021-02-04 07:58:13 +01:00
Fredrik Adelöw 01a297d0a1 Merge pull request #4381 from adrianke77/integration-gitlab-fix-spaces-in-paths
Integration gitlab fix spaces in paths
2021-02-04 07:15:27 +01:00
Chongyang Adrian, Ke 99076c25e1 integration: fix gitlab spaces encoding 2021-02-04 11:11:05 +08:00
Fredrik Adelöw efc2b6db1e Merge pull request #4347 from kaparwan/feature/bitbucket-own-hosted-fixes-debug
#4322  bitbucket own hosted v5.11.1 branchUrl fix and enabled error tracing…
2021-02-03 22:18:53 +01:00
Kaparwan Manoj 0fe62dce31 fixed lint errors 2021-02-03 22:18:49 +11:00
Kaparwan Manoj 1e2e86cec6 prettier done. 2021-02-03 21:16:04 +11:00
Fredrik Adelöw 3149bfe639 integration: add the resolveUrl method 2021-02-03 10:22:58 +01:00
Manoj - 2a3d7599e6 added test cases to include both the endpoints 2021-02-03 18:59:25 +11:00
Manoj - d8386f780a added condition handling the case - bitbucket.org 2021-02-03 16:54:44 +11:00
Manoj - 786aa9ae3a branchUrl backward compatibility if 404 with new format 2021-02-02 22:59:51 +11:00
Debajyoti Halder 7717c46517 Fix variable names of conflicting types 2021-02-02 16:42:37 +05:30
Kaparwan Manoj 9cda5593af bitbucket own hosted v5.11.1 branchUrl fix and enbaled error tracing for mkdocs process stack trace 2021-02-02 10:38:47 +11:00
Debajyoti Halder 4dad818e01 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 14:05:27 +05:30
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30
Patrik Oldsberg 605629dc74 integration: forward errors from gitlab project lookups 2021-01-28 18:06:47 +01:00
Himanshu Mishra 6800da78d9 integration: Fix default branch API url for hosted bitbucket server 2021-01-21 22:26:34 +01:00
blam 40faae3903 chore(integration/gitlab): fixing tests again for integration config 2021-01-20 16:24:23 +01:00
blam a729aaa854 Merge branch 'master' of github.com:backstage/backstage into blam/move-scaffolder-to-integrations
* 'master' of github.com:backstage/backstage: (75 commits)
  backend-common: Move definition of etag property inside constructor
  docs: Fix url links in well known annotations
  bitbucket casing
  integration: take over the config
  More review comments
  Address some final review coments about cross-fetch and type-casting
  chore(deps): bump sucrase from 3.16.0 to 3.17.0
  chore(deps-dev): bump @types/webpack from 4.41.22 to 4.41.26
  core-api: remove deprecated registerRoute and deprecate addRoute
  Update README
  Support GHE
  app,create-app: switch to using FlatRoutes
  Make breaking 'minor' change'
  Add codefences to changeset
  Add changeset
  Remove InfoCard :height100" variant
  scripts/check-if-release: fix diff and tweak to handle new and removed packages
  Update with review comments
  docs: Run prettier on techdocs ci/cd tutorial
  remove adr status header
  ...
2021-01-20 16:22:58 +01:00
blam 13231e101b chore: fixing some PR comments 2021-01-20 12:47:17 +01:00
Johan Haals b470208202 Fix config test
Co-authored-by: blam<ben@blam.sh>
2021-01-20 11:41:01 +01:00
Johan Haals 954a7eecab Don't set apiBaseUrl
This is already handled by the gitlab client and the default is wrong
2021-01-20 11:13:03 +01:00
Himanshu Mishra 380dd626fb Safe nullish check with git-url-parse library responses 2021-01-18 23:04:31 +01:00
Himanshu Mishra 79f9a97428 backend-common: UrlReader/Azure implement SHA based caching 2021-01-18 21:55:55 +01:00
Himanshu Mishra fa8ba330a8 integration: GitLab API should be added for default and should have a protocol 2021-01-18 21:53:51 +01:00
Johan Haals 48f3a5dcae Update docs 2021-01-15 16:13:19 +01:00
Johan Haals 6037fa75c5 Set accept header and api base url 2021-01-15 10:41:07 +01:00
Johan Haals 065498367d Find installation after try/catch 2021-01-14 16:37:31 +01:00