Commit graph

478 commits

Author SHA1 Message Date
Rhys Arkins
4d349b4608
test: add missing httpMock.reset (#8836) 2021-02-24 11:31:59 +01:00
Rhys Arkins
76d0d42c9e
refactor: getQueryString (#8834) 2021-02-24 09:58:21 +01:00
Rhys Arkins
728082b3c3 fix(cache): correct revision 2021-02-22 19:39:33 +01:00
Rhys Arkins
7118404981
feat: matchFiles + lockFiles (#8783) 2021-02-20 14:22:50 +01:00
Rhys Arkins
d2a7147222
feat(internal): repository cache revision (#8782) 2021-02-20 09:14:08 +01:00
Rhys Arkins
6b494027b6
feat: matchFiles (#8769) 2021-02-19 16:29:50 +01:00
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
0869d6e8d7
refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Rhys Arkins
a8819c4610
refactor: fromVersion -> currentVersion (#8709) 2021-02-16 10:52:05 +01:00
Rhys Arkins
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Rhys Arkins
fa9031f5e9 feat(internal): expand disabled error messages
Splits REPOSITORY_DISABLED into multiple
2021-02-11 13:32:29 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Michael Kriese
efab9be9b9
fix(gitlab): catch git permission error (#8629) 2021-02-10 18:28:54 +01:00
Rhys Arkins
80fd1fe0d6 refactor: move customEnvVariables to admin config 2021-02-07 22:07:16 +01:00
Taras
150092a2a5
feat(go): add support for bitbucket in go datasource (#7892) 2021-02-06 08:05:19 +01:00
Sergei Zharinov
27a494ffe2
feat(github): Shrink GraphQL nodes count on 50x errors (#8394) 2021-02-06 06:19:27 +00:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config (#8555) 2021-02-05 12:30:01 +01:00
Rhys Arkins
3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Rhys Arkins
df2a31c7f5
fix: remove unused binarySource=auto (#8461) 2021-02-04 12:14:34 +01:00
Rhys Arkins
6ab2b02f21
fix(git): checkout with — (#8538) 2021-02-04 11:41:23 +01:00
Rhys Arkins
89811e60ab fix: Revert "fix(git): add — after rev-parse (#8513)"
This reverts commit 51f8381e31.
2021-02-03 22:49:02 +01:00
Rhys Arkins
ef7e3c1f78 fix(git): external host error for host resolution failure 2021-02-03 22:31:01 +01:00
Rhys Arkins
62c5fa9396 logs: improve binarySource=docker constraint logging 2021-02-03 22:05:09 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Rhys Arkins
42101cf6b1 fix: expose more template options 2021-02-03 10:46:32 +01:00
Rhys Arkins
51f8381e31
fix(git): add — after rev-parse (#8513) 2021-02-03 10:30:10 +01:00
Rhys Arkins
3d86ac632f fix: include more template fields 2021-02-03 09:45:08 +01:00
Rhys Arkins
de8ea37c27
feat: warn about disallowed template variables (#8512) 2021-02-03 09:30:49 +01:00
Rhys Arkins
7c40d2652d
feat: template field filtering (#8504) 2021-02-02 18:11:27 +01:00
Rhys Arkins
89741ad99b
refactor: HttpResponse.authorization (#8470) 2021-01-30 11:41:25 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Kevin James
9e09363305
fix(auth): fix HTTP Basic auth for NOPASS indexes (#8442) 2021-01-29 06:28:52 +01:00
Artur Frysiak
e063c8f931
feat: handle GitLab push rule violation (#8416)
* feat: handle GitLab push rule violation

Closes #8414

* feat: handle GitLab push rule violation

* feat: handle GitLab push rule violation

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-27 10:17:42 +01:00
Andrey Kuznetsov
868208bfef
fix: configure signing for each repo (#8314) 2021-01-19 10:19:07 +01:00
Rhys Arkins
22245ceff7
tests: fix coverage (#8340) 2021-01-19 09:15:31 +00:00
Amos Wenger
52c70f0b2b
feat(rust): Find and update Cargo.lock for cargo workspaces (#8338) 2021-01-19 09:35:48 +01:00
Halil İbrahim Şener
207b177d60
feat: customEnvVariables (#8321)
Introduces a new option to pass custom environment variables to child processes. So that users can provide/override environment variables to influence executions, e.g. setting MAVEN_OPTS or passing credentials for private registries for the locking process.
2021-01-19 09:11:45 +01:00
Amos Wenger
b21e8a1909
feat(rust): Private crate registry support (rust/cargo) (#8083)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-17 09:18:32 +01:00
Rhys Arkins
d56ab63989
fix: pass versioning for docker getPkgReleases (#8261)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-14 12:26:49 +00:00
Michael Kriese
1b7f17f3ef
fix(azure): catch auth error (#8222) 2021-01-08 07:45:45 +00:00
Jamie Magee
6a9a312dad
fix(submodules): add support for private submodules (#8164)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 21:32:09 +00:00
Shunsuke Suzuki
de852ac7de
feat: support template in labels (#8138)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 12:27:05 +01:00
Sergei Zharinov
e3a2b32b6c
feat(github): Limit graphql results total count (#8064) 2020-12-18 12:58:19 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Sergei Zharinov
663117beab
feat(http): Support for per-host http concurrency limits (#6983) 2020-12-11 10:09:09 +01:00
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 (#7940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +01:00
Sergei Zharinov
f0cc3bfad1
fix(github): Fix v3 stripping for graphql in GHE (#7944) 2020-12-10 17:44:22 +01:00
Rhys Arkins
92c8f4d499
fix(composer): don’t add vendor directory (#7937)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-10 13:47:46 +01:00
Sergei Zharinov
9c30da26de
refactor(http): Don't use obsolete URL functions with http wrappers (#7938)
* refactor(http): Remove obsolete URL functions usage
2020-12-10 11:13:58 +01:00
Sergei Zharinov
6354425126
refactor(github): Remove obsolete URL functions from HTTP wrapper (#7932)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-10 09:13:25 +01:00
Sergei Zharinov
e18259c2a5
refactor(http): Remove URL functions from platform-specific wrappers (#7933) 2020-12-10 08:50:04 +01:00
Michael Kriese
f18b7f3504
feat(gitea): support presets (#7920)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2020-12-09 13:31:06 +01:00
Sergei Zharinov
d8df51f20e
feat(util): Add resolveBaseUrl function (#7918) 2020-12-09 13:05:31 +01:00
Sergei Zharinov
31c7d8a8c6
refactor(build): Pre-compile files imported from data folder (#7896)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-08 14:07:29 +01:00
Alex Ruffo
b7495330c0
feat: customize onboarding file name (#7866) 2020-12-07 10:14:46 +01:00
renovate[bot]
00dea83335
chore(deps): update dependency prettier to v2.2.1 (#7829)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-02 14:10:31 +01:00
Michael Kriese
9ba744284f
fix(git): gracefully handle remote ref lock error (#7809) 2020-11-26 12:16:26 +01:00
Gerben Oostra
9239a4b91d
feat: Added pre-commit manager (#7662) 2020-11-24 11:09:40 +01:00
Rhys Arkins
f711be3d37 fix: add sourceUrl to branches cache 2020-11-19 15:04:15 +01:00
Rhys Arkins
5d99ff9862
refactor: convert all path to upath (#7712) 2020-11-12 21:46:08 +01:00
Sergio Zharinov
8d0f7dddd2
feat(package-rules): matchCurrentVersion regular expressions (#7684) 2020-11-12 08:21:05 +01:00
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Jamie Magee
9788a0a0e3
feat(git-submodules): add cloneSubmodules configuration option (#7644) 2020-11-04 15:39:21 +01:00
Rhys Arkins
af9e9f5fbe chore: more git.silent(true) removal 2020-10-29 12:03:33 +01:00
Rhys Arkins
5701c550d7 fix(git): remove deprecated silent(true) 2020-10-29 11:53:01 +01:00
Michael Kriese
4d5168f9fc
test(git): support non default master branch (#7601) 2020-10-29 10:55:37 +01:00
Michael Kriese
30f461f7d1
fix: improve logging (#7587) 2020-10-28 13:19:33 +01:00
Michael Kriese
739a561c63
fix(logger): fix logging (#7585) 2020-10-28 11:38:28 +01:00
renovate[bot]
11434e86e4
build(deps): update dependency handy-redis to v2 (#7552) 2020-10-27 14:34:04 +01:00
Josh Soref
9aff7a955f
chore: spelling (#7499) 2020-10-20 08:49:28 +02:00
Rhys Arkins
a8fdb4e38c fix(git): try/catch isBranchStale 2020-10-19 10:14:28 +02:00
Rhys Arkins
5e38204221
fix: packageRules don’t match undefined depName (#7462) 2020-10-13 14:12:33 +02:00
Rhys Arkins
cc9d256ca5 fix(git): getBranchFiles from origin
Closes #7454
2020-10-12 22:51:09 +02:00
Rhys Arkins
43d71535b2 fix(git): robust git diff for getBranchFiles
Closes #7454
2020-10-12 13:48:04 +02:00
Rhys Arkins
c33da16aba fix(git): try/catch submodules get 2020-10-09 08:50:35 +02:00
Rhys Arkins
6dcef43d11 fix: log getBranchFiles error 2020-10-08 15:57:01 +02:00
Jamie Magee
5896d9cb37
chore(eslint): fixing some eslint warnings (#7382)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-05 18:12:01 +02:00
Rhys Arkins
0d9aa04d93 feat(git): getBranchParentSha 2020-10-02 13:22:24 +02:00
Michael Kriese
fcdb226ab8
feat(logger): dump http version (#7390) 2020-10-01 10:21:17 +02:00
Rhys Arkins
9f99c5e073 feat(internal): write branches cache 2020-09-22 13:10:07 +02:00
Rhys Arkins
36e279227b fix(git): add branchExists safety check to isBranchModified 2020-09-22 13:07:19 +02:00
Rhys Arkins
f0ba97b6c2 fix: Revert "refactor: write branches cache"
This reverts commit 266534eb72.
2020-09-22 12:20:15 +02:00
Sergio Zharinov
2299485afd
refactor(http): Prepare "util/http" for queues (#7119)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:16:21 +02:00
Rhys Arkins
266534eb72 refactor: write branches cache 2020-09-22 06:11:17 +02:00
Rhys Arkins
42e223da3b
fix(git): clone default branch to depth 10 (#7249)
Necessary for accurate detection of semantic commits.
2020-09-11 10:28:28 +02:00
Rhys Arkins
b7ac19d9bf
fix: sanitize github vulnerability alert bodies (#7246) 2020-09-10 21:57:18 +02:00
Rhys Arkins
5ba2704080
fix(git): fetch long sha for branchCommits (#7240) 2020-09-10 11:45:21 +02:00
Marek Hornak
5475f42518
fix(utils): change default maxBuffer limit to 10MB (#7209) 2020-09-10 07:00:40 +02:00
Michael Kriese
0503ad7c7a
feat: add docker image prefix (#7164)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:59:47 +02:00
renovate[bot]
2d2e95c747
chore(deps): update dependency typescript to v4 (#7092)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:26:17 +02:00
Michael Kriese
63cc26e3ea
fix(git): wrong config argument passing (#7166) 2020-09-02 18:03:45 +02:00
Rhys Arkins
1d83cbbc4b
fix(github): massage url and message in errors (#7160) 2020-09-02 09:19:50 +02:00
Sergio Zharinov
831c45397f
refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Julien Poissonnier
a2b2671370
fix(gitlab): Restore auth for versions older than 12.2 (#7155) 2020-09-01 12:42:23 +02:00
Rhys Arkins
6d24e9de78
fix(azure): pass extra clone options when fetching branch commits (#7149)
* fix(azure): pass extra clone options when fetching branch commits

Closes #7148

* more coverage
2020-09-01 09:39:10 +02:00
Rhys Arkins
92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins
750cd30296 chore: remove unused defaultBranch cache 2020-09-01 06:23:59 +02:00