Yun Lai
f07dcfb03a
feat: add hermit binary source ( #16259 )
2022-08-05 05:17:11 +00:00
Michael Kriese
3b699e9f7e
feat(manager/npm): prepare for buildpack support ( #16979 )
...
* feat(manager/npm): prepare for buildpack support
* chore: fixes
2022-08-04 21:18:43 +02:00
Gabriel-Ladzaretti
257d9a9d8e
fix(core/exec): use nodejs style error messages when throwing ( #16961 )
2022-08-04 14:29:11 +00:00
Michael Kriese
1bc8fee494
refactor: cleanup http option interface ( #16967 )
2022-08-04 12:54:52 +02:00
Michael Kriese
61c045ca2f
feat: use sha512 for hashes ( #16907 )
2022-08-02 11:36:26 +02:00
Sergei Zharinov
f8c789efb4
feat(github): Log warning when GitHub token is not configured ( #16566 )
...
* feat(github): Log warning when GitHub token is not configured
* Check `sourceUrl`
* Add tests
* Fix test
* Fix
* Remove `sourceUrl` check
* Test nullable input
* Fix nulls
2022-08-01 06:16:09 +00:00
Rhys Arkins
bba3c782e2
chore: fix packageRules test ( #16866 )
2022-07-30 07:49:05 +03:00
Michael Kriese
2c5fd14e25
fix(git): remove wrong submodule file filter ( #16848 )
2022-07-29 08:32:05 +00:00
Michael Kriese
a3d1235032
feat(manager/pipenv): support binarySource=install ( #16828 )
...
* feat(manager/pipenv): support binarySource=install
* docs: update docs
* fix: linting
2022-07-28 17:17:02 +00:00
Michael Kriese
cf7bb3226d
feat(manager/gradle-wrapper): support binarySource=install
( #16830 )
...
* feat(manager/gradle-wrapper): support `binarySource=install`
* docs: update docs
2022-07-28 13:47:56 +00:00
Michael Kriese
8270d5512d
refactor: fix lint issues ( #16779 )
...
* refactor: fix lint issues
* Update lib/renovate.ts
* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
Yun Lai
f1bcafc584
feat(fs): add localPathIsSymbolicLink and readLocalSymlink ( #16673 )
...
* fix: add localPathIsSymbolicLink and readLocalSymlink to fs module
* Update lib/util/fs/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/util/fs/index.ts
* Apply suggestions from code review
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-26 08:19:20 +00:00
Gabriel-Ladzaretti
2446f446b7
fix(git/cache): getCachedBehindBaseResult returns true when branch is not modified ( #16752 )
2022-07-26 04:41:09 +00:00
Gabriel-Ladzaretti
24a237c15b
fix(git/cache): getCachedBranchParentShaResult returns unexpected undefined ( #16762 )
2022-07-25 20:23:25 +02:00
RahulGautamSingh
9778ca67d9
feat: use getBranchParentSha cached result ( #16724 )
2022-07-24 19:49:39 +02:00
Michael Kriese
6854145528
feat(manager/elixir): support install binary source ( #16710 )
...
* feat(manager/elixir): support install binary source
* test: fix snapshot
2022-07-22 16:35:20 +00:00
Gabriel-Ladzaretti
892595aea8
feat(util/exec): use spawn instead of exec ( #16414 )
...
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- init spawn-util
* refactor(util): use spawn instead of exec
- spawn-util
* refactor(util): use spawn instead of exec
- init index-spawn.spec.ts
* refactor(util): use spawn instead of exec
- fixed various tests
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix npm post update imports
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
- destroy stdio when terminating child process
* refactor(util): use spawn instead of exec
- delete and revert dev related changes
* refactor(util): use spawn instead of exec
- fix support for windows
* refactor(util): use spawn instead of exec
- handle SIGSTOP and such
- add test coverage
* refactor(util): use spawn instead of exec
- now converts to strings when resolving/rejecting
* refactor(util): use spawn instead of exec
- logs improvements
- force shell (exec like)
- fix tests
* refactor(util): use spawn instead of exec
- strongly type listeners
* refactor(util): use spawn instead of exec
- create helper mock for spawn
* refactor(util): use spawn instead of exec
- cr changes
* Update lib/util/exec/common.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
- documentation
* refactor(util): use spawn instead of exec
- revert unnecessary formatting
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- added ExecError class
* refactor(util): use spawn instead of exec
- exec-error.ts restructure
* refactor(util): use spawn instead of exec
* Apply suggestions from code review
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- deprecated RawExecOptions.encoding property
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 15:43:28 +00:00
Michael Kriese
6c78237993
test: simplify exec mock ( #16698 )
2022-07-22 07:42:30 +00:00
Michael Kriese
4f82df4c3d
feat(buildpack): enable cache ( #16591 )
2022-07-21 07:00:02 +00:00
RahulGautamSingh
93707c1ed7
feat: use isBranchBehindBase cached result ( #16595 )
2022-07-21 07:48:02 +02:00
RahulGautamSingh
54cff9aeb8
refactor: throw error if issue with git ( #16618 )
2022-07-18 12:33:20 +00:00
Michael Kriese
47b9493fe2
test(git): raise timeout to 60s ( #16599 )
2022-07-15 16:47:39 +02:00
RahulGautamSingh
c7507255b7
refactor: rename isBranchStale -> isBranchBehindBase ( #16577 )
...
* rename
* rename to isBranchBehindBase
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
RahulGautamSingh
f506580e40
fix: add repoCache-check before cloning ( #16533 )
2022-07-15 09:09:08 +02:00
Michael Kriese
ad70360fda
fix(utils/fs): make assertions windows compatible ( #16583 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-14 17:33:28 +02:00
Michael Kriese
62d5d670bf
test(git): tmp dir can be missing ( #16585 )
2022-07-14 16:17:19 +03:00
Sergei Zharinov
d0fe5f904e
feat(fs): Scope checks for filesystem functions ( #16511 )
2022-07-14 07:53:26 +00:00
renovate[bot]
210695c1a0
build(deps): update dependency git-url-parse to v12 ( #16458 )
...
* build(deps): update dependency git-url-parse to v12
* fix: add workaround
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 19:37:56 +00:00
Gabriel-Ladzaretti
6202b1c264
refactor(util/exec): change mocked modules in existing tests ( #16519 )
2022-07-11 11:41:24 +02:00
RahulGautamSingh
e10aa6aa5a
fix: check cache before cloning ( #16517 )
2022-07-11 10:58:51 +02:00
Sergei Zharinov
e26130329d
refactor(fs): Add tests for every filesystem function ( #16495 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
Sergei Zharinov
83f67c27d5
refactor(fs): Rename getSubDirectory
to getParentDir
( #16446 )
...
* refactor(fs): Rename `getSubDirectory` to `getParentDir`
* Add tests for `getSiblingFileName`
* fix
* fix
2022-07-07 06:44:21 +00:00
Yun Lai
793095c1a0
fix(git): add options to getRepoStatus ( #16253 )
2022-07-06 05:17:39 +00:00
Sergei Zharinov
c866fd06fc
fix(github): Return remote commit hash for platformCommit=true
( #16391 )
2022-07-03 08:25:17 +00:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query
function for GraphQL ( #16387 )
...
* refactor(github): Introduce misc `query` function for GraphQL
* Update lib/modules/datasource/github-releases/cache/cache-base.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-02 15:24:17 +02:00
Sergei Zharinov
2b43f273bf
refactor(fs): Remove proxies.ts
file ( #16325 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 14:57:30 +02:00
Yun Lai
432a888cdb
fix: make http.stream apply hostRules & authentication ( #16255 )
...
* fix(http): support asset download via octet-stream header in github http
* Update lib/util/http/github.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* fix: make http.stream apply hostRules & authentication
* chore: fix disable host test for http.stream
* Update lib/util/http/index.ts
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-30 07:54:48 +00:00
Sergei Zharinov
11f41825ca
fix(fs): Windows CI tests ( #16318 )
2022-06-29 07:57:44 +00:00
Sergei Zharinov
bfc393ef00
refactor(fs): Don't proxy writeFile
function ( #16310 )
...
* refactor(fs): Don't proxy `writeFile` function
* Fix
* Update lib/workers/global/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:23:36 +00:00
Sergei Zharinov
851d8f4f7a
refactor(fs): Move chmod
to chmodLocalFile
( #16306 )
...
* refactor(fs): Move `chmod` to `chmodLocalFile`
* More refactoring and tests
* Fix tests
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Fix prettier
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:03:49 +00:00
Sergei Zharinov
0687799b28
refactor(fs): Remove unused proxied functions ( #16311 )
...
* refactor(fs): Remove unused proxied functions
* Fix lint/test
* Fix
* Update lib/util/fs/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 05:44:30 +00:00
Rhys Arkins
17f1b409a6
fix: log http and npm rejection cases ( #16307 )
2022-06-28 16:30:35 +02:00
Yun Lai
ce34a5530d
fix(git): add symbolic link file support to prepareCommit ( #16254 )
2022-06-27 07:55:25 +00:00
Sergei Zharinov
bce8dcc4e4
fix(github): Correct submodule updates for platformCommit=true
( #16198 )
2022-06-23 09:07:43 +02:00
Michael Kriese
10302eba68
refactor: fix prefer-nullish-coalescing
( #16171 )
2022-06-21 12:02:49 +00:00
Michael Kriese
0a582d31c7
refactor: fix nullable types ( #16156 )
...
* refactor: fix nullable types
* chore: revert changes
* chore: fix lint comments
* chore: revert changes
2022-06-20 16:15:40 +00:00
Michael Kriese
0838ca209c
refactor: strict datasource tests ( #16150 )
2022-06-20 13:15:02 +02:00
Sergei Zharinov
0cf4f48842
refactor: Strict null checks for all files except tests ( #16071 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +02:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files ( #15812 )
...
* add types for tmp
* expand files in lib/util
* update yarn lock
* Update tsconfig.strict.json
* util/exec
* util/git
* util/http
* Revert "util/exec"
This reverts commit 96cf479a1b
.
* update strict.json
* redo util/exec
* revert util/git
* util/merge-confidence
* update util/git
* util/package-rules
* fix util/git
* util/template
* util/
* revert extras
* rm newline
* add tmp back
* apply suggestion from review
* util/cache
* more changes
* Update tsconfig.strict.json
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Gabriel-Ladzaretti
dd3598c5b8
feat(config/migration): migrate config with a PR ( #15122 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-18 12:12:31 +00:00
Rhys Arkins
5c803f2e41
fix(config): check for undefined str when validating handlebars helpers ( #16047 )
2022-06-13 13:34:14 +02:00
Alfred Krohmer
83f54f5a8a
feat: allow currentDigest
and currentDigestShort
in templates ( #15951 )
2022-06-09 06:58:53 +00:00
Sergei Zharinov
e4d5a0e2fd
fix(github): Throw on GraphQL errors during cache fetching ( #15891 )
2022-06-04 11:02:31 +00:00
Sergei Zharinov
c32b74bdee
fix(redis): Fix TTL minutes type ( #15886 )
2022-06-04 07:47:36 +02:00
Rhys Arkins
dd84b9c7f3
fix(redis): valid integer for ttl
2022-06-04 07:04:33 +02:00
Sergei Zharinov
cbed78630a
fix(cache): Fix repositoryCache
support for reset
value ( #15874 )
2022-06-03 13:35:20 +00:00
Sergei Zharinov
2e957baed9
feat(github): long-term datasource caching ( #15653 )
2022-06-03 11:27:26 +02:00
Rhys Arkins
cf6885f71a
fix(config): move endpoint, platform to GlobalConfig ( #15864 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-03 06:43:58 +02:00
Jamie Magee
0cb19fa997
refactor(decorator): extract general purpose decorator methods ( #15772 )
2022-05-29 01:07:30 +02:00
Michael Kriese
e319e21dab
fix(http): cache head requests ( #15695 )
2022-05-23 13:34:04 +02:00
Michael Kriese
5afed40ba3
fix(manager:nuget): use git to read current lockfile ( #15395 )
2022-05-20 04:40:54 +00:00
Michael Kriese
8c20872ee2
fix(config): unicodeEmoji
is a global only option ( #15631 )
2022-05-18 11:32:27 +02:00
Rhys Arkins
ff2318547d
fix: log sidecar sha ( #15499 )
2022-05-07 16:22:04 +02:00
Rhys Arkins
16bd06381c
fix: respect latest when selecting tool versions ( #15481 )
2022-05-06 09:53:28 +00:00
Michael Kriese
42824400d7
feat(manager:cocoapods): support binarySource=install
for cocoapods ( #15473 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-05 16:59:42 +02:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install
for yarn ( #15414 )
2022-05-04 08:32:15 +02:00
Kenneth Jorgensen
6ea0d5d6fb
feat(maven): S3 Support ( #14938 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-04 05:59:14 +02:00
Michael Kriese
10671a16cc
test(git): use longer jest timeout ( #15422 )
2022-05-03 15:11:36 +02:00
Sergei Zharinov
608d0f6a40
feat: Create utility for function memoization ( #15373 )
...
* feat: Create utility for function memoization
* Simplify
2022-05-01 06:00:55 +02:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type ( #14658 )
2022-04-29 09:49:15 +02:00
Rhys Arkins
2471bcdf81
fix(package-rules): check for missing value ( #15347 )
...
* fix(package-rules): check for missing value
* fix null check
2022-04-28 06:02:55 +00:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api ( #15294 )
2022-04-25 15:41:10 +02:00
Sergei Zharinov
b9dc73ac43
feat(cache): Compression for repository cache ( #15289 )
2022-04-24 22:15:11 +02:00
Sergei Zharinov
f911b0ba22
refactor: Class-based implementations of repo cache ( #15157 )
2022-04-23 04:44:28 +00:00
Michael Kriese
53bd90b30f
refactor(platform): final strict checks ( #15268 )
2022-04-22 22:05:26 +02:00
IKEDA Sho
2c087e86f7
feat(template): add lowercase
Handlebars helper ( #15212 )
2022-04-21 09:26:24 +00:00
Michael Kriese
e8808f33aa
refactor(platform:bitbucket): strict null checks ( #15196 )
...
* refactor(platform:bitbucket): strict null checks
* refactor: wrong change
2022-04-20 20:55:20 +00:00
Rhys Arkins
5f1f104d65
fix(git): remove default gitTimeout ( #15200 )
2022-04-20 22:33:36 +02:00
Hasan Awad
9270ebad80
feat: add git timeout ( #14914 )
2022-04-17 18:12:42 +01:00
Michael Kriese
955b442871
refactor: strict null checks for util ( #15150 )
2022-04-17 11:07:22 +02:00
Sergei Zharinov
b35cf6e0aa
refactor(git): Additional nesting level for non-branch refs ( #15143 )
2022-04-16 09:46:50 +00:00
Michael Kriese
5cf9123017
refactor: more strict null checks ( #15140 )
2022-04-16 06:32:17 +00:00
Sergei Zharinov
a06e5d9ce7
refactor(cache): Separate data and metadata for repo cache ( #15117 )
2022-04-16 06:51:29 +01:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST ( #14907 )
2022-04-15 17:21:09 +00:00
Michael Kriese
c2adeff003
feat(manager:bundler): move constraint extraction to update artifacts ( #15125 )
...
* feat(manager:bundler): move constraint extraction to update artifacts
* fix: missing null checks
* chore: add comment
* chore: not null save transitives
* chore: fix snapshot
2022-04-15 18:30:34 +02:00
Michael Kriese
637585c5fd
feat(http): extend stats ( #15104 )
2022-04-14 10:47:06 +01:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests ( #15082 )
2022-04-12 15:09:19 +01:00
Rhys Arkins
e7899422fa
fix(manager/npm): deduplicate yarn upgrade strings ( #15069 )
2022-04-12 07:07:27 +00:00
eSamS
1da46b0672
fix(go): allow go modules in gitlab subgroups ( #14831 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-08 08:16:46 +00:00
Michael Kriese
fb9303c190
feat(core:changelogs): better platform detection ( #14989 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-06 14:56:40 +00:00
Rhys Arkins
1b20602682
fix(git): treat git 403 as external host error ( #14981 )
2022-04-06 07:47:56 +00:00
Rhys Arkins
00c74a9ca2
fix(git): treat stale rejection as REPOSITORY_CHANGED ( #14829 )
2022-03-28 17:44:40 +02:00
RahulGautamSingh
e64b7576e9
feat: matchSourceUrls ( #14813 )
2022-03-28 09:58:20 +02:00
Sergei Zharinov
e35a0e290f
fix(git): Don't call redundant fetch after git-based commit creation ( #14798 )
2022-03-25 16:46:03 +00:00
Rhys Arkins
ebf9087555
fix(git): git default branch fall back to remote show ( #14766 )
2022-03-23 05:15:30 +01:00
Rhys Arkins
90e5182bd4
refactor: split global/repo sanitizations ( #14635 )
2022-03-13 10:27:21 +00:00
Rhys Arkins
a892b2ae9e
feat: expose manager to templating ( #14624 )
2022-03-12 22:45:37 +01:00
Ivan Katliarchuk
81ebad1cfa
rebase ( #14511 )
2022-03-04 20:19:42 +01:00
Rhys Arkins
143c9a6751
refactor: rename lookupName -> packageName ( #14494 )
...
Renames `lookupName` to be `packageName`.
BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00