Commit graph

1772 commits

Author SHA1 Message Date
Rhys Arkins
26fd21cd53
refactor: parentBranch -> reuseExistingBranch (#6236) 2020-05-15 12:45:03 +02:00
Michael Kriese
2f0c6dd27b
fix(internal): file-match must use re2 (#6246) 2020-05-15 09:01:14 +02:00
Rhys Arkins
6a1dab6412 refactor(platform): commitFilesToBranch -> commitFiles 2020-05-14 14:13:08 +02:00
Björn Brauer
8144f07b69
feat(pr): remove and re-create automergeComment when rebasing (#6002) 2020-05-14 13:13:38 +02:00
Rhys Arkins
5bd2d42d5a
fix(platform): don’t pass parentBranch to platform commitFilesToBranch (#6227) 2020-05-14 12:20:24 +02:00
Rhys Arkins
31996ce545 refactor: better branch update logging 2020-05-13 14:21:04 +02:00
Rhys Arkins
e2de45edf6 logs: improve auto-replace 2020-05-12 22:48:56 +02:00
Rhys Arkins
79d2730a89 fix: improve logging for autoReplace 2020-05-12 22:25:21 +02:00
Rhys Arkins
7c6eaccdb6 fix: move skip PR autoclosing log 2020-05-12 22:05:56 +02:00
Rhys Arkins
7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins
df66994985 chore: fix lint 2020-05-12 07:09:23 +02:00
Rhys Arkins
c5ee8abfc2 refactor: global cache 2020-05-11 22:26:47 +02:00
Rhys Arkins
e0d35b4a3d fix: remove lockFileMaintenance pruning 2020-05-11 21:45:58 +02:00
Rhys Arkins
cc980cfd23
refactor: platform.getFile -> fs.readLocalFile (#6131) 2020-05-11 15:36:09 +02:00
Rhys Arkins
92009c6580
feat(internal): use runtime cache for buffering global cache requests (#6202) 2020-05-11 13:29:39 +02:00
Rhys Arkins
6104c4637a
refactor: global cache (#6198) 2020-05-11 10:38:07 +02:00
Rhys Arkins
04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +02:00
Rhys Arkins
9777173461
refactor: remove unused mutex options (#6175) 2020-05-08 20:17:50 +02:00
Rhys Arkins
62af82fcf6 fix(changelog): reduce concurrency to 10 2020-05-08 18:28:44 +02:00
Rhys Arkins
ec9b4f89e7
feat(internal): parallel changelog retrieval (#6174) 2020-05-08 16:57:35 +02:00
Rhys Arkins
670e695be2 chore: fix lint 2020-05-08 14:40:44 +02:00
Rhys Arkins
6a8ceab688 refactor: move changelog retrieval to renovateRepository 2020-05-08 12:20:24 +02:00
Rhys Arkins
010df05800 refactor: baseBranches fetching 2020-05-08 12:06:48 +02:00
Rhys Arkins
a47c69f8a5 feat(internal): log timing splits per-repository 2020-05-08 10:18:00 +02:00
Rhys Arkins
e6c524fcc2 refactor: processRepo -> extractDependencies 2020-05-08 08:53:39 +02:00
Michael Kriese
00c56d8bde
chore: fix types (#5904)
* chore: fix types

* fix more types

* chore: mote fixes

* fix frmat

* chore: fix tests

* chore: fix type

* chore: cleanup

* chore: cleanup

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Rhys Arkins
c1d5faf93d chore: remove mistaken dependency addition 2020-05-06 14:06:10 +02:00
Rhys Arkins
0f13855f2b logs: durationMs for Repository finished 2020-05-06 10:23:10 +02:00
Michael Kriese
e795115823
fix(worker): fix github endpoint for changelog (#6145) 2020-05-06 10:02:19 +02:00
Rhys Arkins
258c675a54 logs: don’t log empty depNames in flattened updates 2020-05-06 09:56:52 +02:00
Rhys Arkins
8eb8bae28d fix: Revert "fix(worker): fix github endpoint for changelog (#6143)"
This reverts commit 787e6bc485.
2020-05-06 09:23:12 +02:00
Rhys Arkins
dde7d31975 fix: ensure baseBranchSha is set 2020-05-06 09:05:29 +02:00
Michael Kriese
787e6bc485
fix(worker): fix github endpoint for changelog (#6143) 2020-05-06 08:10:36 +02:00
Rhys Arkins
6bbe6446ab logs: log baseBranch with extraction stats 2020-05-05 21:00:47 +02:00
Rhys Arkins
2ff90b2396
fix: packageFiles per baseBranch (#6136) 2020-05-05 19:46:35 +02:00
Rhys Arkins
86ab028f97 fix: Revert "refactor(platform): optimize getFileList and remove branchName param (#6127)"
This reverts commit 7d1c937682.
2020-05-05 16:02:29 +02:00
Rhys Arkins
b69e9c0f5a fix: Revert "feat(internal): cache extractions results (#6118)"
This reverts commit 51a43d5e41.
2020-05-05 16:01:49 +02:00
Rhys Arkins
7d1c937682
refactor(platform): optimize getFileList and remove branchName param (#6127) 2020-05-05 12:39:47 +02:00
Rhys Arkins
9fccd87eeb refactor: use Date.now() instead of process.hrtime() 2020-05-05 12:05:30 +02:00
Rhys Arkins
51a43d5e41
feat(internal): cache extractions results (#6118) 2020-05-04 08:27:38 +02:00
Björn Brauer
228b933871
refactor: ensureCommentRemoval parameters to an object (#6117) 2020-05-03 21:03:55 +02:00
Rhys Arkins
f3c9efb060 refactor: return and store base branch SHA 2020-05-03 20:38:09 +02:00
Rhys Arkins
8d8b617ecd
feat(internal): extract managers in parallel (#6112) 2020-05-03 19:21:10 +02:00
Rhys Arkins
0121cc48f5 refactor: extractAllDependencies 2020-05-03 17:27:35 +02:00
Rhys Arkins
899b351643 refactor: split extractAllDependencies logic 2020-05-03 17:03:23 +02:00
Rhys Arkins
927d9c3a82 chore: add fileMatch to CustomManager type 2020-05-03 16:57:17 +02:00
Rhys Arkins
273d9355e3 refactor: enabledManagers filtering 2020-05-03 16:15:22 +02:00
Rhys Arkins
e8d760667d chore: rename matchedFiles -> fileList 2020-05-03 16:10:13 +02:00
Rhys Arkins
85e7cef048 refactor: getMatchingFiles 2020-05-03 14:46:30 +02:00
Rhys Arkins
53319ac7d6 refactor: better param names in getMatchingFiles 2020-05-03 10:54:38 +02:00
Rhys Arkins
9e07ef1b49 fix: filtering should return a copy of the fileList 2020-05-03 10:17:07 +02:00
Rhys Arkins
a21bb60d40 chore: improve extract typings 2020-05-03 10:14:22 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
e1b4b7f6c2 refactor: githubApiBaseUrl -> apiBaseUrl 2020-05-01 07:55:41 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Rhys Arkins
25af50ccb7 chore: description can be string 2020-04-29 14:27:33 +02:00
Rhys Arkins
07b4046328 logs: args -> config 2020-04-29 10:25:47 +02:00
Michael Kriese
29b701ab97
fix(internal): respect dry-run (#6071) 2020-04-28 08:30:42 +02:00
Rhys Arkins
d63c92ae16 logs: don’t warn for autoReplace parse failure 2020-04-27 23:30:05 +02:00
Rhys Arkins
ec8b89b887 logs: lower branchConfig debugs to trace 2020-04-27 21:57:21 +02:00
Rhys Arkins
c890ac96e4 fix: check depName during autoReplace 2020-04-27 21:56:07 +02:00
Rhys Arkins
117824bf77 fix: log replaceString if not found 2020-04-26 09:51:07 +02:00
Rhys Arkins
807b354ea3 fix: autoReplace handle non-pinning of digests 2020-04-26 07:50:01 +02:00
Rhys Arkins
dcb33004e1 fix: writeLocalFile during autoReplace 2020-04-24 23:40:53 +02:00
Rhys Arkins
db582b6aab refactor: move stats logging and add timing 2020-04-24 22:46:48 +02:00
Rhys Arkins
f6c7de43fe feat: log Package releases lookup time 2020-04-24 22:07:30 +02:00
Rhys Arkins
fa42177aec refactor(changelog): make variables generic 2020-04-24 10:43:08 +02:00
Rhys Arkins
15faf0f1f1 refactor(changelog): githubName -> repoName 2020-04-24 10:43:08 +02:00
Rhys Arkins
138897f44d fix: better autoReplace digest checking 2020-04-24 10:26:44 +02:00
Rhys Arkins
7b6d2d9c99 fix(pr): wider try/catch on changelog versioning 2020-04-23 18:35:46 +02:00
Rhys Arkins
f61c416f8a fix: don’t deduplicate updates if same current and newvalue 2020-04-23 17:11:10 +02:00
Carlin St Pierre
313846c954
fix: Only run postUpgradeTasks if package files are updated and… (#5988) 2020-04-22 13:18:15 +02:00
Rhys Arkins
c20cb30d9a
fix(poetry): don’t error vulnerability alerts (#6013) 2020-04-20 18:52:15 +02:00
Rhys Arkins
0342daba92
refactor(gradle-wrapper): autoReplace (#6004) 2020-04-20 07:39:04 +02:00
Rhys Arkins
5145c044ff refactor: manager extract readLocalFile instead of platform.getFile 2020-04-19 11:41:21 +02:00
Rhys Arkins
da8f1ef285 fix: extractAllPackageFiles add depIndex 2020-04-19 09:15:47 +02:00
Rhys Arkins
a1ba00d5cf refactor: extractAllPackageFiles insert depIndex 2020-04-19 08:13:56 +02:00
Rhys Arkins
74d77db65d fix(internal): deduplicate updates during branchify 2020-04-18 16:39:02 +02:00
Yura Beznos
0a2dc73bf7
feat(internal): perform changelog retrieval before branch creat… (#5966) 2020-04-18 15:36:38 +02:00
Rhys Arkins
f97b194515 fix: gracefully catch and handle out of memory 2020-04-16 18:08:53 +02:00
Rhys Arkins
4104ba04e3
feat: support allowedVersions regular expressions (#5979) 2020-04-15 22:07:53 +02:00
Rhys Arkins
6dea8e919c
feat(internal): use autoReplace for docker managers (#5935) 2020-04-15 12:24:09 +02:00
Rhys Arkins
79608dffaa
fix: allow parentDir/baseDir in branchName (#5967) 2020-04-15 10:33:00 +02:00
Max Wittig
9585fb3745
fix(lookup): correct lofok up typo (#5969) 2020-04-15 10:30:47 +02:00
Rhys Arkins
00bf898cd7
refactor: simplify autoreplace data (#5965) 2020-04-14 22:31:35 +02:00
Rhys Arkins
edb4c0abfe refactor: move escapeRegExp to util/regex 2020-04-14 13:47:58 +02:00
Rhys Arkins
42f6dfac40 fix: merge datasource defaultConfig before lookup 2020-04-14 13:33:15 +02:00
Rhys Arkins
c9071a7e54 fix: Revert "refactor: extract and update now decoupled (#5835)"
This reverts commit f04adc50df.
2020-04-14 12:56:44 +02:00
Rhys Arkins
5e742fe38b fix: default updates to []; 2020-04-14 12:45:05 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets (#5814) 2020-04-14 07:05:30 +02:00
Yura Beznos
f04adc50df
refactor: extract and update now decoupled (#5835) 2020-04-14 06:58:27 +02:00
Rhys Arkins
6446ea982e refactor: move LookupUpdate 2020-04-13 17:14:26 +02:00
Rhys Arkins
caa2c41370 refactor: simplify fetching logic 2020-04-13 13:44:49 +02:00
Rhys Arkins
2a01fc37db refactor: LookupWarning -> ValidationMessage 2020-04-13 11:32:24 +02:00
Christophe Hurpeau
ccf8569165
feat: yarn 2 (#5657)
* feat: yarn 2

* Apply suggestions from code review

Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>

* refactor: move yarnMajorVersion test

* test: apply patch from @JamieMagee

see https://github.com/renovatebot/renovate/pull/5657#issuecomment-611205192

* test: update snapshots

* prettier-fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-13 11:23:47 +02:00
Rhys Arkins
866cedd3d3
refactor: fetchDepUpdates no-param-reassign (#5957) 2020-04-13 10:29:48 +02:00
Michael Kriese
19b789abe7
feat(lerna): use docker and npx (#5940) 2020-04-13 07:43:39 +02:00
Rhys Arkins
bfa6eb9062 fix: don’t abort on autoReplace errors 2020-04-13 07:06:04 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
a942b421d5
feat(internal): datasource defaultConfig (#5929)
Adds an optional new object `defaultConfig` to datasources. This object will be merged into config during the update flattening process, and before the last applyPackageRules. i.e. it can still be overridden by packageRules.
2020-04-09 15:44:23 +02:00
Michael Kriese
eafce83889
fix: binary file handling (#5916) 2020-04-09 07:43:47 +02:00
Rhys Arkins
a9fc67e210 refactor(composer): use autoReplace 2020-04-08 17:36:09 +02:00
Rhys Arkins
7f0d3753c4 fix: don’t return pending branch if master issue checked 2020-04-07 13:39:07 +02:00
Rhys Arkins
57b073a76b chore: remove depNameEscaped 2020-04-07 10:08:39 +02:00
Rhys Arkins
59d140fc25
feat(internal): template fields enforcement (#5880) 2020-04-06 12:55:34 +02:00
Rhys Arkins
fcc5a46da3 chore: prBanner type 2020-04-05 13:00:27 +02:00
Rhys Arkins
8172de1a3b
refactor: util/template for handlebars (#5878) 2020-04-05 10:09:55 +02:00
Rhys Arkins
d559fd1ecb
feat(internal): support newDigest in getReleases (#5871)
This replaces the need to have both getReleases and getDigest if the digests can be retrieved at the same time as the releases.
2020-04-04 10:14:45 +02:00
Rhys Arkins
f9c8cb46e2
refactor(datasource): getPkgReleases -> getReleases (#5867) 2020-04-04 08:53:52 +02:00
Viral Ruparel
1a3c1f994a
fix(pr): wrong release notes when releases found in URLs (#5807) 2020-03-30 07:44:05 +02:00
kroonprins
63b5094915
feat(azure): support Azure DevOps Server authentication methods (#5602)
* feat(azure): support Azure DevOps Server authentication methods

* feat(azure): support Azure DevOps Server authentication methods

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-03-24 23:08:00 +01:00
Michael Kriese
ae3d71387e
feat(internal): generate dynamic datasource imports (#5500) 2020-03-24 07:17:59 +01:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Rhys Arkins
a15879fc82 logs: pr body changes only to trace 2020-03-16 11:46:18 +01:00
Rhys Arkins
49471192bd fix: don’t do sequential package fetching 2020-03-14 06:12:29 +01:00
Rhys Arkins
bc8403aedb logs: lower debugging 2020-03-14 06:12:07 +01:00
Michael Kriese
8c36108284
chore(internal): fix coverage (#5717) 2020-03-13 19:50:56 +01:00
Rhys Arkins
85cbc96184 fix: remove host stats 2020-03-13 06:47:20 +01:00
Rhys Arkins
96f8e9cbf4 feat: log extraction statistics 2020-03-12 12:49:41 +01:00
Rhys Arkins
c60737a285 fix: revert datasource error handling changes 2020-03-12 12:48:57 +01:00
Rhys Arkins
43a466a390 fix: fetchDepUpdates log before and after 2020-03-12 11:58:13 +01:00
Rhys Arkins
b23d25a7fd fix: try/catch fetchDepUpdates 2020-03-12 11:04:41 +01:00
Rhys Arkins
77c14b9fc9 fix: add bundler to sequential retrieval 2020-03-12 09:58:53 +01:00
Rhys Arkins
d0413e7ced fix: fetch logging for sequential vs concurrent 2020-03-12 09:00:23 +01:00
Rhys Arkins
60b30e182d fix: fetch problematic manager deps in series 2020-03-12 07:41:49 +01:00
Rhys Arkins
40c9ec4e6a fix: intensify lookup debugging 2020-03-11 22:35:55 +01:00
Rhys Arkins
5167c63459 fix: log promised updates 2020-03-11 21:12:52 +01:00
Rhys Arkins
ae069b0eb5 fix(github): set stabilityStatus using Enum
Closes #5683
2020-03-10 12:00:36 +01:00
Rhys Arkins
2599ea525f refactor: commit -> commitHash 2020-03-10 11:24:38 +01:00
Rhys Arkins
c97defc88f refactor: AwaitingBranchAutomerge -> BlockeddByBranchAutomerge 2020-03-10 11:11:08 +01:00
Rhys Arkins
b20591e7f5 refactor: use CamelCase for enum values 2020-03-10 11:10:09 +01:00
Rhys Arkins
d0ec7cf922 refactor: move PrResult to workers/common 2020-03-10 10:19:44 +01:00
Rhys Arkins
2039f1704a refactor: result -> prResult 2020-03-10 10:02:02 +01:00
Rhys Arkins
34496d303b
feat: PrResult enum (#5664) 2020-03-10 09:16:11 +01:00
Rhys Arkins
3371b95403
feat: clean up dangling docker containers at startup (#5678) 2020-03-09 15:56:50 +01:00
Rhys Arkins
98393c0b9b
feat: docker run timeout / cleanup (#5673)
Closes #5671
2020-03-09 13:33:45 +01:00
Viral Ruparel
92d123a1f8
fix: create constants for skipReason (#5660) 2020-03-09 05:34:16 +01:00
Rhys Arkins
588616f669
feat: branch status unification (#5658) 2020-03-08 15:03:19 +01:00
Rhys Arkins
bce6036a8e
fix: move datasource error handling into index (#5662) 2020-03-07 12:13:31 +01:00
Rhys Arkins
8ac0f571ff
fix(datasource): centralize lookupName check (#5661) 2020-03-07 10:19:47 +01:00
Rhys Arkins
b2b8d7e953
feat: regex manager (#5617) 2020-03-06 09:07:55 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
706562f80d fix(lookup): check currentValue before isValid 2020-03-05 11:55:05 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants (#5158) 2020-03-05 07:03:47 +01:00
Sergio Zharinov
804a8c0f13
feat: Centralize extracted version validation (#5637) 2020-03-04 15:16:36 +01:00
kroonprins
289fb3d02e
feat(onboarding): assignees and reviewers on onboarding pr (#5611) 2020-03-03 21:01:14 +01:00
Michael Kriese
69c8dcafe5
fix: do nothing if new commit and check required (#5594) 2020-03-03 11:52:18 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
6f46153e09 fix(auto-replace): use regex replace to avoid infinite loops 2020-03-01 21:28:07 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
214676c38c fix(auto-replace): use currentValue if replaceString not found 2020-02-28 09:41:54 +01:00
Rhys Arkins
286ab6dc40 refactor: rename getReleases -> getInRangeReleases 2020-02-27 22:13:45 +01:00
Rhys Arkins
57cbe3a42c chore: lgtm ignore 2020-02-24 20:23:46 +01:00
Rhys Arkins
1f346cd50f logs: debug blocking merge PR 2020-02-24 12:31:33 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
b097fb8f0a fix(pr): condense rebase description 2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates (#5560) 2020-02-24 05:33:51 +01:00
Rhys Arkins
55b1cd0e37
feat: rebaseWhen (#5547)
New config option `rebaseWhen` replaces existing options `rebaseStalePrs` and `rebaseConflctedPrs`. Migration code added.
2020-02-22 16:31:49 +01:00
Rhys Arkins
8b6c5aa30f chore: lgtm lint 2020-02-22 07:13:12 +01:00
Rhys Arkins
c10d22940b
feat: autoreplace (#5529) 2020-02-22 06:06:10 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning (#5504) 2020-02-18 08:34:10 +01:00
Rhys Arkins
8fc70b8faf logs: log err with Registry error 2020-02-14 13:44:53 +01:00
Rhys Arkins
562f3d7696 fix(schedule): use consistent error messages 2020-02-14 13:44:40 +01:00
Rhys Arkins
12166f5540 fix(datasource): better DatasourceError handling 2020-02-14 09:19:45 +01:00
Rhys Arkins
5e022e2a50 fix: reduce concurrent dep fetch per packagefile from 10 to 5 2020-02-14 08:36:38 +01:00
Rhys Arkins
5d454ca3ff
fix(yarn): offline integrity hash (#5449) 2020-02-13 06:39:07 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Sourav Das
987e0a2bfd
refactor(function): Update Dependency Function (#5146) 2020-02-06 13:01:21 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Carlin St Pierre
5b0c431dce
feat: post-upgrade tasks (#5202) 2020-02-04 06:59:13 +01:00
Rhys Arkins
0ea636209c fix(onboarding): remove docker-only rule 2020-02-03 14:25:09 +01:00
Sergio Zharinov
12d1b13703
fix(release-notes): Warning message for missing token (#5245) 2020-02-01 08:50:24 +01:00
Rhys Arkins
dc73a54e7c fix(changelog): better log/warn for missing credentials 2020-01-27 15:26:40 +01:00
Sebastian Poxhofer
1743ab77b2 fix: warn if skipping release notes retrieval (#5226) 2020-01-27 12:38:07 +01:00
Rhys Arkins
a56e0de4c7
feat: move localDir awareness to util/exec (#5207) 2020-01-21 18:04:50 +01:00
Sourav Das
520429f1bd feat(constants): Version Scheme Constants (#5159) 2020-01-21 17:11:25 +01:00
Rhys Arkins
55497ea251 fix: drop unused disable-gitfs error 2020-01-21 16:35:09 +01:00
Rhys Arkins
6da1113aa3 fix: DATASOURCE_FAILURE -> PLATFORM_FAILURE 2020-01-21 16:23:18 +01:00
Rhys Arkins
4b29858768
fix(pr): better rebase/retry description in PRs (#5203) 2020-01-21 09:44:38 +01:00
Sourav Das
982d5e9d4d refactor(function): Update Artifact Function (#5139)
1. Create interface UpdateArtifact
2. Update function call
3. Update Test
2020-01-17 12:18:34 +01:00
Sourav Das
9024eda2a0 feat(constants): Branch Status (#5166)
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
Sourav Das
6dc76f2e46 feat(constants): Language list constants (#5167)
1. All languages are moved to constants/languages.ts
2. Updated all the references
2020-01-17 10:14:20 +01:00
Sourav Das
c7c5dfd30f feat(constants): Platform Constants (#5179) 2020-01-17 08:26:42 +01:00
Sourav Das
4e7c938ec7 feat(constants): Manager Constants (#5168) 2020-01-16 16:22:33 +01:00
Sourav Das
ab9c666328 refactor(function): getNewValue Function (#5137) 2020-01-16 13:43:58 +01:00
Sourav Das
58c444cb7e feat(constants): Data Source and Binary Source Constants (#5157) 2020-01-16 12:14:35 +01:00
Sourav Das
3a4c61ed03 refactor(constants) : Error constants (#5156) 2020-01-15 21:36:12 +01:00
Rhys Arkins
a13ebf8979 fix(exec): call exec per-repo, not globally 2020-01-15 05:27:49 +01:00
David Straub
7b5485edaa feat(workers): implement additionalReviewers option (#5152)
Closes #5121
2020-01-15 04:32:31 +01:00
Sourav Das
547dcd84a7 refactor(function): findPR function(#4996) (#5129) 2020-01-14 16:12:14 +01:00
Sourav Das
447b110a8c refactor(function): Ensure Comment Function (#4996) (#5128)
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Rhys Arkins
56d94e259f
refactor: centralized docker volumes (#5132) 2020-01-12 19:47:39 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
da22cc35f1 refactor: global config massage 2020-01-11 11:22:42 +01:00
Rhys Arkins
abbc9147ea refactor: global worker config 2020-01-11 11:18:10 +01:00
Rhys Arkins
e77d596f32 fix(cache): default init using tmpdir 2020-01-11 11:11:49 +01:00
Rhys Arkins
0dab3f4067 refactor: logs meta 2020-01-11 09:16:22 +01:00
Rhys Arkins
230652dc8e test: fix coverage 2020-01-11 09:04:11 +01:00
Rhys Arkins
8170aed064 logs: print renovate version as part of renovateRepository 2020-01-11 07:50:08 +01:00
Rhys Arkins
9ce229bef3 refactor: init cacheDir inside setDirectories 2020-01-11 07:35:06 +01:00
Rhys Arkins
a544032b10 refactor: move repositories warn 2020-01-11 07:28:42 +01:00
Rhys Arkins
2255d4a5c0 fix(changelog): add Boolean checks for tag.name 2020-01-11 07:00:06 +01:00
Rhys Arkins
2715603ad3 refactor: centralize dockerUser logic
Closes #5124
2020-01-10 17:38:27 +01:00
Jamie Magee
45474d63d5 fix(ts): convert lib/workers/repository to typescript (#5105)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-10 11:35:49 +01:00
Sourav Das
50c74d38c0 refactor: createPR function (#4996) (#5108)
* refactor: createPR function (#4996)
1. Interface created: createPRConfig

* refactor: Create PR function (#4996)
Remove label parameter from bitbucket and bitbucket server function call.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sourav Das
be5679661a refactor: EnsureIssue function (#5107)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
Sourav Das
e72bf85b1e refactor: setBranchStatus Function (#4996) (#5112) 2020-01-07 09:59:14 +00:00
Michael Kriese
62b18dee78 fix(ts): convert worker/repository/process to ts (#5046) 2020-01-06 08:16:15 +00:00
Sourav Das
e7695bde9c refactor: convert commitFilesToBranch function params (#5064) 2020-01-02 09:03:46 +00:00
Michael Kriese
2f995089b2 chore: fix coverage (#5048) 2019-12-22 19:33:37 +01:00
Michael Kriese
b10d5339be refactor: convert workers/repository/finalise to ts (#5038) 2019-12-21 21:11:59 +01:00
Rhys Arkins
70c4203026 fix: unrevert "feat(bundler): recursively attempt to resolve locked dependenci… (#5040)"
This reverts commit 89e6a01371.
2019-12-21 14:09:00 +01:00
Rhys Arkins
89e6a01371 fix: Revert "feat(bundler): recursively attempt to resolve locked dependenci… (#5040)"
This reverts commit 26a197085f.
2019-12-21 14:02:51 +01:00
Rhys Arkins
26a197085f
feat(bundler): recursively attempt to resolve locked dependenci… (#5040)
Bundler helpfully tells us which locked dependencies caused the lock file update to fail. We parse these, check if there are any new ones we hadn’t unlocked previously, and call the function recursively if so.

Closes #5036
2019-12-21 13:21:10 +01:00
Michael Kriese
aae2519b0c fix(ts): convert worker/repository/init to typescript (#4975) 2019-12-17 07:56:42 +02:00
Rhys Arkins
63b90e51a6 fix(config): throw config validation if invalid allowedVersions 2019-12-16 11:02:47 +01:00
Rhys Arkins
f83d000964 fix(master-issue): correctly classify more pending cases 2019-12-13 17:20:08 +02:00
Rhys Arkins
c5cca2ed64 fix(master-issue): bypass checks if master issue ticked 2019-12-13 17:20:08 +02:00
Rhys Arkins
193a5474de fix: use vulnerableRequirements for matching package rules 2019-12-13 12:45:55 +01:00
Jamie Magee
427fb1ce67 fix(ts): convert workers/repository/extract to typescript (#4956) 2019-12-12 05:38:40 +02:00
Michael Kriese
e6e121e7b7 refactor(test): convert to ts (#4945) 2019-12-09 14:42:55 +03:00
Michael Kriese
ffd28d7aec fix(typescript): convert workers/pr/body to ts (#4938) 2019-12-06 15:41:59 +01:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName (#4931) 2019-12-05 11:55:14 +01:00
Rhys Arkins
1c33d1c101
fix: drop appSlug configurability (#4930) 2019-12-05 10:45:28 +01:00
Rhys Arkins
c7e129cdf6
feat: configurable product links (#4929) 2019-12-05 10:27:29 +01:00
Rhys Arkins
68c5684b89
feat(onboarding): configurable branch and title (#4928)
Adds options onboardingBranch and onboardingPrTitle to allow bot administrators to change the branch name and/or title in oboarding PRs.
2019-12-05 09:39:39 +01:00
Rhys Arkins
5ad362fb21 fix: Revert "fix: refactor appStrings imports"
This reverts commit aec281840b.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b fix: refactor appStrings imports 2019-12-04 16:18:37 +01:00
Rhys Arkins
6091dd7146 refactor: split PR body generation into modules 2019-12-04 06:40:39 +01:00
Michael Kriese
c49c884bae fix(typescript): convert workers/pr/changelog to ts (#4888) 2019-12-04 04:29:27 +01:00
Rhys Arkins
15dd304b97 fix: rangeStrategy fall back to bump if no lockfile 2019-11-29 20:05:49 +01:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Michael Kriese
d210191fec fix(typescript): convert workers/global to ts (#4883) 2019-11-26 14:05:24 +01:00
Rhys Arkins
8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
Christian Franke
c7854cd0a5 feat(schedule): Support month (M) in schedules (#4832)
Fixes: #4831
2019-11-24 07:28:44 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Rhys Arkins
71b25d5deb
fix: use managerConfig correctly (#4864)
Fixes a bug where the manager config was not being passed through correctly.
2019-11-23 20:44:21 +01:00
Rhys Arkins
a1c023fe09
fix: respect latest even if range includes some post-latest versions (#4801) 2019-11-10 22:42:47 +01:00
Simon Rüegg
72c52f2326 fix(file-manager) Use correct manager config for fileMatch (#4778)
Otherwise the language overwrites won't be merged correctly.

Signed-off-by: Simon Rüegg <simon.ruegg@vshn.ch>
2019-11-09 15:03:17 +01:00
Michael Kriese
2a4de19c77 feat(worker): convert 'branch' to typescript (#4449)
Co-Authored-By: Jamie Magee <JamieMagee@users.noreply.github.com>
2019-10-18 14:30:51 +02:00
Tomáš Markacz
adf707feea fix(branch): fix PR creation not pending for GitLab (#4664)
When using GitLab, branch status can have status `created` which should
be interpreted as pending for PR creation configuration option.
2019-10-16 18:10:29 +02:00
Daniel Cassidy
35c347428b fix(pin): avoid pinning deprecated version (#4609) 2019-10-14 13:23:49 +02:00
Julien SIMON
d1e7c17f25 feat: prCommitsPerRunLimit (#4392) 2019-10-14 13:15:37 +02:00
renovate[bot]
dcc9c559b6 build(deps): update dependency cacache to v13 (#4599) 2019-10-08 08:51:07 +02:00
Rhys Arkins
f6eb83ce86 fix: return one version for vulnerability alerts 2019-10-06 11:13:49 +02:00
Florian Greinacher
53fc7d8a3e feat(gitlab): add support for 'merge when pipeline succeeds' (#4558)
This commit adds (back) support for GitLab's 'merge when pipeline succeeds'
feature. This feature needs to be enabled by bot owners explicitely because
of an possible race condition in current GitLab versions.

Closes #3265
2019-10-05 10:00:32 +02:00
Michael Kriese
e733f759f1 feat(worker): convert 'repository/onboarding' to typescript (#4433) 2019-10-04 09:36:07 +02:00