Commit Graph

275 Commits

Author SHA1 Message Date
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
Ben Lambert 5ca72f716a Merge pull request #10238 from RoadieHQ/add-external-id-to-s3-integration
Add external ID to S3 integration
2022-03-21 10:34:51 +01:00
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00
Jussi Hallila b70bdac610 Modify based on code review comments.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-03-17 08:44:20 +01:00
Iain Billett 6927f8541a Update API report
Signed-off-by: Iain Billett <iain@roadie.io>
2022-03-16 12:09:27 +00:00
Iain Billett 1e10a3f9ef Merge remote-tracking branch 'upstream/master' into add-external-id-to-s3-integration 2022-03-15 16:57:27 +00:00
Fredrik Adelöw fc0ff39ece Merge pull request #10038 from anicke/gerrit
Added a ScmIntegration for Gerrit
2022-03-14 13:39:47 +01:00
Niklas Aronsson 0885854ff3 Fixed review comments
* Rename "apiBaseUrl" to the more suitable "baseUrl".
* Removed the Gerrit location doc (will be added later together
  with the "urlReader" implementation.
* Fixed the line number handling in Gerrit/resolveUrl.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-14 10:34:53 +01:00
Niklas Aronsson b0c0fccacf Gerrit config: Make the apiBaseUrl optional
If the apiBaseUrl is not set assume that the gerrit instance
uses https and can be reached on the address specified by the
"host" option.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-11 13:35:23 +01:00
Iain Billett a8c5f1a08f Add an optional external Id field
Signed-off-by: Iain Billett <iain@roadie.io>
2022-03-10 14:41:07 +00:00
Niklas Aronsson ee04b48b8f packages/integration: Updating "api-report.md" for Gerrit
Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-10 08:09:17 +01:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Niklas Aronsson 403837cbac Added a ScmIntegration for Gerrit
A new ScmIntegration has been added for reading entities from
gits hosted by Gerrit. The UrlReader implementation will be done
in an upcoming patch.

The Gerrit configuration supports the following values:

* host (required) : The host of the gerrit instance to use.
* apiBaseUrl (required): The base url of the gerrit api.
* username (optional): The username to use during authentication.
* password (optional): The password or http token to use for
  authentication.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-08 10:13:09 +01:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Patrik Oldsberg 6ed03eeacb Merge pull request #9782 from Bonial-International-GmbH/PJ_bitbucket_default-apiBaseUrl
feat(bitbucket): ensure apiBaseUrl, replace hardcoded cases
2022-03-02 17:35:12 +01:00
Patrick Jungermann 34af86517c feat(bitbucket): ensure apiBaseUrl, replace hardcoded cases
Ensure presence of apiBaseUrl for bitbucket
integrations for both cases Bitbucket Cloud and
Bitbucket Server by setting the default for
Bitbucket Server at the integration config, too.

Replace hardcoded uses of the default apiBaseUrl
with the use of the integration config's value.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-02-25 15:18:17 +01:00
Fredrik Adelöw c2deefa463 Merge pull request #9797 from Bonial-International-GmbH/PJ_bitbucket_lineNumber-ref
fix(bitbucket): fix line number references
2022-02-25 10:28:48 +01:00
Patrick Jungermann 33d5e79822 fix(bitbucket): fix line number references
Use the actual line number syntax for Bitbucket Cloud
and Bitbucket Server.

Closes: #9764

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-02-25 00:59:31 +01:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Ben Lambert 02821e4bef Merge pull request #9584 from ItzEdgar/gitlab-selfhosted-fix
Updated gitlab integration to include port
2022-02-18 11:35:58 +01:00
Patrik Oldsberg ba68ea4450 apply 0.68.1 fixes to master
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 11:30:15 +01:00
Patrik Oldsberg 630340287f integration,catalog-backend: tweak changesets to make vale happy
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 18:27:48 +01:00
Edgar Silva 1bc8c55822 Changed repoIDLookup to url.origin
Changed the repoIDLookup concatenation from 'url.protocol + url.host' to
'url.origin', which does essentially the same but is simpler.

Signed-off-by: Edgar Silva <edgar.silva@cross-join.com>
2022-02-17 12:50:23 +00:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Edgar Silva 2f1050ec10 Updated gitlab integration to include port
Updated integration module to allow for the use of a custom port, which
is often the case in self hosted gitlab instances

Removed host.includes(':') check in config.ts to allow for users to
include the port in the host
Changed url.hostname to url.host in core.ts to include the port in the
api call (otherwise it'll result in an error when trying to import a new
component)

Signed-off-by: Edgar Silva <edgar.silva@cross-join.com>
2022-02-16 19:18:38 +00:00
Patrik Oldsberg 9892d74326 cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:27:12 +01:00
Patrik Oldsberg 8f82d80adf migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg b521c1b83b detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
Fredrik Adelöw 1ed305728b bump node-fetch and cross-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 15:51:50 +01:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
Iain Billett 0e76e264e9 Return undefined rather than an empty string
Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:32:19 +00:00
Iain Billett 2030b5e80d Return an empty token where an installation owner is not allowed
While this is less obvious to the user this facilitates anonymous access
to (public) files where the app is installed but the owner is not in the
allowed list.

Signed-off-by: Iain Billett <iain@roadie.io>
2022-01-18 18:02:47 +00:00
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Brian Fletcher bc5f67627c Merge branch 'master' of github.com:backstage/backstage into readersprocessorstasks 2022-01-10 14:40:04 +00:00
Fredrik Adelöw 5333451def Got rid of the last brace-typed and hyphen-less params etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-10 09:48:12 +01:00
Brian Fletcher ce82656901 removes some breaking compatability changes
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-07 14:13:54 +00:00
Brian Fletcher db49de335f adds api-reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 16:31:36 +00:00
Brian Fletcher 95b369d808 use scm integrations interface rather than implementation
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 14:21:56 +00:00
Brian Fletcher ffda3d4490 tweaks to remove uneeded differences
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 12:11:05 +00:00
Brian Fletcher be15350198 change single instance provider back to the way it was
there was no changes to it, so there was no need for it.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:57:04 +00:00
Brian Fletcher 0a21e4bcc4 Make the credentials provider optional..
..and other review comments improvements.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:46:39 +00:00
Brian Fletcher fb8ca7c1bf remove code accidently added in
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-06 11:46:23 +00:00
Brian Fletcher 2f1d27133b use single instance provider in default one
Also changes how the GitHub url is parsed.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-05 13:53:14 +00:00
Brian Fletcher 41ced545f3 api-reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-05 08:30:25 +00:00