Commit Graph

76 Commits

Author SHA1 Message Date
Fredrik Adelöw 965e200c61 backend-common: slight refactoring in support of future search impl 2021-02-08 11:06:14 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00: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
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
Ben Lambert 37dd15058c Merge pull request #4206 from backstage/orkohunter/default-branch-bitbucket-server
integration: Fix commit and branch API urls for hosted bitbucket server
2021-01-28 10:34:47 +01:00
Alan Crosswell 73c299c9ee upgrade git-url-parse to 11.4.4 2021-01-27 11:54:03 -05:00
Himanshu Mishra 6800da78d9 integration: Fix default branch API url for hosted bitbucket server 2021-01-21 22:26:34 +01:00
github-actions[bot] c5584b62c2 Version Packages 2021-01-21 13:13:05 +00:00
Fredrik Adelöw b7819bbc0f integration: do not ship apps config to the frontend 2021-01-21 13:51:17 +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
Himanshu Mishra e8e6bd92b6 Merge pull request #4120 from backstage/orkohunter/url-reader-readTree-with-sha 2021-01-20 14:49:47 +01:00
Fredrik Adelöw 751b700f8a bitbucket casing 2021-01-20 14:02:10 +01:00
Fredrik Adelöw c2450d458f integration: take over the config 2021-01-20 13:50:06 +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 5618ffa733 Merge pull request #4058 from backstage/mob/github-app-manager
Add GithubCredentialsProvider for start of GitHub Apps support
2021-01-18 08:10:26 +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
github-actions[bot] be332e13ea Version Packages 2021-01-14 13:05:31 +00:00
Johan Haals 58cb92f91e Improve installation error message 2021-01-14 13:53:50 +01:00
Johan Haals ca875e6658 Add docs for GithubAppConfig 2021-01-14 13:53:50 +01:00
Johan Haals 820430b220 Add docs for getCredentials 2021-01-14 13:53:49 +01:00
Johan Haals 779734303b Improve error for suspended app 2021-01-14 13:53:49 +01:00
Johan Haals e3ae3c29c5 Update packages/integration/src/github/config.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-01-14 13:53:49 +01:00
Johan Haals d5189471b2 Update packages/integration/src/github/GithubCredentialsProvider.test.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-01-14 13:53:49 +01:00
Johan Haals e64acdad76 Added tests and refactored provider
Co-authored-by: blam <ben@blam.sh>
2021-01-14 13:53:48 +01:00
Johan Haals 04ad29ca4e Make GithubUrlReader use GithubCredentialsProvider
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
2021-01-14 13:53:47 +01:00
Johan Haals 25a5d6bf2f Refactor GitHubAppManager, add deps & config 2021-01-14 13:53:29 +01:00
Johan Haals 5d20d4bad8 Store installations response 2021-01-14 13:50:13 +01:00
Johan Haals 6437f0adf8 wip 2021-01-14 13:50:13 +01:00