Commit graph

924 commits

Author SHA1 Message Date
Sergei Zharinov
ea69f81247
refactor(github): Uniform names for github datasource types (#17701) 2022-09-08 11:26:27 +02:00
Sergei Zharinov
81ee883e30
refactor(github): Extract utils/github from datasources (#17697) 2022-09-08 10:00:42 +02:00
Sergei Zharinov
fa30913daf
fix(util/promises): Disable stopOnError option by default (#17653) 2022-09-06 13:36:19 +00:00
Sergei Zharinov
2df8967ae2
refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Róbert Papp
01c111c4ea
fix(http): typo in logs (#17634) 2022-09-05 13:45:44 +00:00
Sergei Zharinov
5dc1eb3ad6
fix(cache): Store cache with sorted object keys (#17607) 2022-09-04 10:53:20 +00:00
Gabriel-Ladzaretti
4ccd085aa5
feat(cache/repository): add modification query function to the repository cache interface (#17529)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-03 16:36:55 +03:00
Rhys Arkins
9bc8b05af3
feat: http keepalives (#17582) 2022-09-02 12:32:34 +02:00
Rhys Arkins
22d0d347e5
fix: debug log dns lookup errors (#17577) 2022-09-02 07:08:01 +03:00
Michael Kriese
aabb3abf9a
feat(http): use own dns cache (#17574) 2022-09-01 15:23:46 +00:00
Michael Kriese
8ad1947e4a
fix(http): clear queues after hostrules change (#17563) 2022-09-01 09:36:04 +02:00
Sergei Zharinov
c9d87d8564
fix: Disable token warning on githubTokenWarn=true (#17548) 2022-08-31 14:57:42 +00:00
Michael Kriese
13574419ba
feat(http): support dns cache (#17533) 2022-08-31 11:49:54 +00:00
Maron
4de1df3a6c
fix: fails to massage pnpm release notes (#17466)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-31 07:39:35 +00:00
Rhys Arkins
7b1c1170a7
fix: log containerbaseDir (#17509) 2022-08-30 14:21:12 +02:00
Sergei Zharinov
6a93997863
feat(cache): Repository cache fingerprinting (#17367) 2022-08-30 04:58:57 +00:00
Sebastian Poxhofer
dda2ebce92
refactor(package-rules): move to class based implementation (#16865)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-29 19:40:03 +00:00
Michael Kriese
6dd4ea3c74
feat(github): use repo url to get token (#17179) 2022-08-29 07:37:45 +00:00
Gabriel-Ladzaretti
21ab4bad63
feat(util/exec): enable process group handling on process termination (#17447) 2022-08-28 21:32:23 +03:00
Michael Kriese
10fd0f2827
fix(cache/repository): don't log error for non-existant files (#17427) 2022-08-26 12:25:35 +00:00
Gabriel-Ladzaretti
ba13dc547b
feat(cache/repository): Implement S3 client (#17322)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-26 04:47:14 +00:00
Rhys Arkins
f764f8879c
feat(config): containerbaseDir (#17414) 2022-08-25 15:43:06 +00:00
Michael Kriese
88c9ca6aa3
fix(datasource/maven): use sdk v3 api (#17408) 2022-08-25 12:00:54 +02:00
Rhys Arkins
ee6287971d
refactor: use containerbase not buildpack terminology (#17398) 2022-08-25 06:59:55 +00:00
Gabriel-Ladzaretti
cb53e18de8
chore(util/exec): remove unneeded renaming related TODOs (#17399) 2022-08-25 06:43:13 +00:00
Michael Kriese
9caf45ed43
fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
Sergei Zharinov
57ade2b33e
refactor(cache): Restore each revision with own separate method (#17364) 2022-08-23 20:27:34 +02:00
Sergei Zharinov
9e2c81f0ef
refactor(cache): Explicit types for different cache revisions (#17362) 2022-08-23 17:35:09 +02:00
Michael Kriese
ae2e584c18
refactor(repository/cache): fix types and log errors (#17355)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-23 07:19:10 +00:00
Gabriel-Ladzaretti
f93927af63
refactor(repo/cache): handle data parsing inside repository base class (#17346)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-23 04:22:32 +00:00
Sergei Zharinov
064c1e9204
refactor(cache): Make read method return unknown type (#17335) 2022-08-22 20:48:49 +02:00
RahulGautamSingh
1a25ac6fc3
feat: use cached configHash to prevent branch updates (#16661) 2022-08-22 09:01:48 +00:00
Gabriel-Ladzaretti
039fce8dc6
refactor(repository/cache): add support for adding various cache clients (#17146)
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-21 12:53:20 +00:00
RahulGautamSingh
f9b2f816cc
feat: replace fast-safe-stringify with safe-stable-stringify (#17251) 2022-08-19 15:58:11 +02:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Hasan Awad
719ab9be4a
fix(manager/gitlabci): clean more than one slash (#17132) 2022-08-14 15:57:37 +00:00
RahulGautamSingh
2d71049650
test: add test for empty string (#17162) 2022-08-13 09:47:06 +00:00
Michael Kriese
60ed6ad40d
feat(versioning): add python versioning for buildpack (#17147) 2022-08-12 06:24:56 +00:00
Michael Kriese
321afb5ede
fix(manager/gomod): fix auth (#17140)
* fix(manager/gomod): fix auth

* fix: add another github url

* test: fix coverage

* Update lib/util/git/auth.spec.ts

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
2022-08-12 05:12:30 +00:00
Michael Kriese
f684da8c2f
fix(buildpack): use poetry versioning for python (#17129)
* fix(buildpack): use poetry versioning for python

* test: fix tests
2022-08-11 08:59:04 +00:00
Sebastian Poxhofer
726b97b2e2
fix(package-rules): remove edge case if no depName packageRules are defined (#16930) 2022-08-10 17:02:48 +02:00
Michael Kriese
2546c03f6c
feat(changelogs): defer retrieval if not required for templates (#17073) 2022-08-10 06:19:17 +00:00
Sergei Zharinov
35df2bdb7c
fix(template): Use proxy instead of deep clone (#17075) 2022-08-09 17:19:03 +00:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* remove unecessary nullish op

* Update docs/usage/templates.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
Yun Lai
1111b322f5
fix(hermit): findUpLocal expects relative cwd, fix incorrect hermit env in nested directory setup (#17031) 2022-08-08 06:15:45 +00:00
Rhys Arkins
53f687898e
fix(npm): use node versioning for node (#17014)
Closes #17013
2022-08-06 06:27:47 +00:00
Michael Kriese
4573bd78e6
feat(manager/npm): lerna buildpack support (#16991) 2022-08-05 15:00:34 +00:00
Yun Lai
44059c3e20
fix: join env var lines with os.EOL to fix test failure on different systems (#16993)
* fix: join env var lines with os.EOL to fix test failure on different systems

* fix: update test data to achieve full test coverage

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 12:06:59 +00:00
Michael Kriese
9b3a3f8d11
fix(buildpack): execute preCommads on install mode (#16995) 2022-08-05 12:20:22 +02:00
Yun Lai
87fc22a4ce
fix: fix failed hermit binary source tests due to findUp module acts differently in windows (#16985)
* fix: fix failed hermit binary source tests due to findUp module acts differently in windows

* fix: set localDir in GlobalConfig in getHermitEnvs test

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: added two more mockResolvedValueOnce for extra test case and remove mockResolvedValueOnce('')

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 09:21:54 +00:00