Commit Graph

898 Commits

Author SHA1 Message Date
renovate[bot] a70869e775 chore(deps): update dependency msw to ^0.43.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-05 09:54:46 +00:00
github-actions[bot] 6b985dc1c7 Version Packages (next) 2022-07-05 08:23:38 +00:00
Crevil e2d7b76f43 Upgrade git-url-parse to 12.0.0
This change upgrades git-url-parse to 12.0.0. This is a major upgrade but it
changes nothing to our usage.

Motivation for upgrade is transitively upgrading parse-url which is vulnerable
to several CVEs detected by Snyk.

- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-03 08:28:42 +02:00
Ben Lambert d4bf53b434 Merge pull request #12188 from backstage/renovate/knex-2.x
fix(deps): update dependency knex to v2
2022-06-29 11:31:27 +02:00
blam 14d5eca8d3 chore: fixing typings
Signed-off-by: blam <ben@blam.sh>
2022-06-29 10:46:32 +02:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
Adam Harvey c5270e31a2 Improve plural handling in log output
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2022-06-21 22:49:29 -04:00
renovate[bot] 679b32172e fix(deps): update dependency knex to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-21 13:03:44 +00:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
Patrik Oldsberg 6532c8084a remove usage of @ts-ignore
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-06-17 18:03:58 +02:00
Patrick Jungermann b1edb5cfd9 fix: fix parsing of S3 URLs for the default region
Closes: #11913
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-06-15 14:26:05 +02:00
Johan Haals c3cfc83af2 chore: Make docstrings MDX compatible
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-06-14 16:29:17 +02:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00
Renovate Bot f5283a42e2 fix(deps): update dependency @google-cloud/storage to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 14:21:10 +00:00
github-actions[bot] b844443164 Version Packages (next) 2022-06-03 15:01:16 +00:00
Patrik Oldsberg 55647ec7df backend-common: prevent expired backend tokens from being used
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-06-02 13:46:31 +02:00
github-actions[bot] a13ab262de Version Packages (next) 2022-05-31 11:51:41 +00:00
blam 6c8474c4a7 chore: bumping the versions
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2022-05-31 12:33:35 +02:00
Renovate Bot 8f7b1835df chore(deps): update dependency msw to ^0.41.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 12:33:35 +02:00
github-actions[bot] bcc563abe9 Version Packages (next) 2022-05-24 11:05:52 +00:00
Patrik Oldsberg cfec39f1a7 backend-common: changelog updates for patch release
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-21 10:54:57 +02:00
Patrik Oldsberg 486ebcf3b4 Merge pull request #11630 from backstage/rugvip/s3
backend-common: fix stuck s3 reading
2022-05-20 16:01:39 +02:00
Patrik Oldsberg 5b22a8c97f backend-common: fix stuck s3 reading
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-20 15:39:52 +02:00
Patrik Oldsberg 629ce5ce3f backend-common: add patch release to changelog
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-20 10:13:50 +02:00
Patrik Oldsberg f72a6b8c62 backend-common: bump luxon to match usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-19 19:43:07 +02:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
Fredrik Adelöw 4bc7493afa Merge pull request #11262 from backstage/freben/server-token-exp
Add an expiry time on server-to-server tokens
2022-05-12 10:44:46 +02:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
Fredrik Adelöw 2cd671bfdd warn about the exp
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-05-09 15:42:11 +02:00
Fredrik Adelöw 6dd45cbee6 separate const for reissue time, shorten reissue time
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-05-09 14:51:26 +02:00
Fredrik Adelöw 9723f29c46 Merge pull request #11157 from backstage/feat/streamable-url-reader
Add stream() to UrlReader.readUrl responses
2022-05-06 15:50:02 +02:00
Fredrik Adelöw 4874ebc2af add caching as well
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-05-04 15:26:46 +02:00
Fredrik Adelöw 5fcbd86960 Add an expiry time on server-to-server tokens
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-05-04 15:26:46 +02:00
Eric Peterson 1bddc77f31 Merge pull request #11174 from backstage/feat/gcs-reader-search 2022-05-03 17:46:47 +02:00
github-actions[bot] 55da880bf9 Version Packages (next) 2022-05-03 09:38:51 +00:00
Eric Peterson 4b811aafce Add search() method to googleGcs reader
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-01 16:19:12 +02:00
Eric Peterson e0a6360b80 Add stream() to UrlReader.readUrl response
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-29 10:28:40 +02:00
Fredrik Adelöw 28b0e4ddef fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-27 10:32:32 +02:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
Renovate Bot cfc0f19699 fix(deps): update dependency fs-extra to v10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 14:12:43 +00:00
Niklas Aronsson 6673babab9 GerritUrlReader: Implemented "readTree"
"readTree" has been implemented for the "GerritUrlReader". Gerrit have
a REST API's to download repo contents but there are a number of
limitations that makes it unusable.

This implementation works as follows:
* The project and branch is parsed from the url.
* The current revision is fetched from the Gerrit REST API.
* The revision string is used as "etag".
* If the etag has changed a temporary directory is created.
* The project is cloned to the temporary directory.
* The cloned content is read into a "Readable Stream".
* The temporary directory is removed.
* "readTree" returns a response using "fromTarArchive" as read from the
  temporary directory.

Also added an option to specify the base "cloneUrl" has been added to the
gerrit integration config.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-22 14:52:02 +02:00
Johan Haals cd539a7ff3 Merge pull request #10943 from backstage/renovate/knex-1.x-lockfile
fix(deps): update dependency knex to v1.0.7
2022-04-21 11:41:28 +02:00
Fredrik Adelöw 4b698b4ec1 update api report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-21 10:22:27 +02:00
Patrick Jungermann 75bf9e1da9 feat: split BitbucketUrlReader
Split `BitbucketUrlReader` into `BitbucketCloudUrlReader`
and `BitbucketServerUrlReader`
while staying backwards compatible and conflict free (== always
only one of the readers will apply).

Relates-to: #9923
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-19 19:20:55 +02:00
Patrik Oldsberg 5434c9fcb4 Merge branch 'master' into jose-version-update 2022-04-19 18:01:06 +02:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
Patrik Oldsberg 6f10c1aedd backend-common: added tests for UrlReaderPredicateMux
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-19 13:31:20 +02:00
Patrik Oldsberg 3ff0e79654 backend-common: nicer error message for all UrlReader methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-19 13:21:25 +02:00
Andy Caruso 999eb151f1 Update public key URL when key lookup fails and mutex dev key
Signed-off-by: Andy Caruso <macaruso@gmail.com>
2022-04-18 23:50:21 +02:00
Andy Caruso d253d46ba9 Clean up as per review comments
Signed-off-by: Andy Caruso <macaruso@gmail.com>
2022-04-18 23:49:27 +02:00