Commit Graph

3688 Commits

Author SHA1 Message Date
Rhys Arkins 254d08fcbd fix(config): migrate nested config (#9489)
Adds an extra migration step after resolving config in order to migrate nested presets.

Closes #8579
2021-04-10 19:41:39 +02:00
Sergei Zharinov d1c8917a26 refactor(workers): Extract common file matching configuration logic (#9471) 2021-04-09 17:05:05 +02:00
Marco de Jongh 6afbcf8d18 feat: Add branch option for postUpgradeCommands (#8725)
* Add branch option for postUpgradeCommands

* Put the for loop back for async

* Fix tests & add documentation

* Change execution mode dependency to update

* Move postUpgradeCommand execution to seperate file

* Fix return time of upgradeTaskExecuter

* Fix test

* Finished new mode and added test

* Remove .only

* Remove defensive coding to make codecov happy

* Give inconfig a proper type

* Another missing type

* Fix typo in allowPostUpgradeCommandTemplating option description

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

* Move to 1 postUpgradeCommandExecutor call

* Appease the import order rule gods

* Refactor more

* Okay now it should be done

* Fix bug

* Import order rule

* Change import to a type import

* Also return artifacterrors

* Apply suggestions from code review

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

* Move checking if postUpgradeCommands can run

* remove unused import

* Fix prettier error

* Call getAdminConfig once

* Apply suggestions from code review

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

* Change type name to EnsurePrResult

* Update lib/workers/branch/index.spec.ts

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

* Apply suggestions from code review

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

* Fix enum imports

Co-authored-by: Carlin St Pierre <cstpierre@atlassian.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-09 05:51:03 +02:00
Sergei Zharinov 36f8d1df0e refactor(platform): getRawFile and getJsonFile throw instead of null (#9413)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2021-04-07 04:23:11 +00:00
Rhys Arkins 430249d626 refactor: Renovate configuration -> Configuration (#9399) 2021-04-05 10:09:41 +00:00
Rhys Arkins 553bd99650 fix(npm): Revert "feat(npm): transitiveRemediation for v2 lockfiles (#9402)"
This reverts commit cec56faf52.
2021-04-05 10:56:08 +02:00
Rhys Arkins cec56faf52 feat(npm): transitiveRemediation for v2 lockfiles (#9402) 2021-04-05 07:16:56 +02:00
Tom Jenkinson e9477dade4 feat: add warning to rebase/retry checkbox if it will overwrite custom commits (#9378) 2021-04-04 09:31:30 +00:00
Rhys Arkins 4f8a3a4fbc fix(cache): warn not error for pull 404 2021-04-02 06:40:50 +02:00
Rhys Arkins 95bf948020 refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins 2fb87eddcf fix: revert npmrc handling changes (#9347) 2021-04-01 14:19:47 +02:00
Rhys Arkins 7903d51776 fix: catch unknown datasource early (#9344) 2021-04-01 06:59:43 +02:00
Rhys Arkins 9de36c4493 refactor: ignoreNpmrcFile (#9299) 2021-03-27 09:02:26 +01:00
Rhys Arkins af1e4ee1a7 feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Florian Greinacher 5f84737539 feat: expose post upgrade command errors in PRs (#8944) 2021-03-20 21:36:43 +00:00
Rhys Arkins adc2f24ba1 refactor: lernaJsonFile into managerData 2021-03-19 15:58:24 +01:00
Rhys Arkins 3d3cc74596 refactor: lernaDir -> lernaJsonFile 2021-03-19 15:33:23 +01:00
Rhys Arkins bca8931d53 fix(npm): datasource improvements (#9178) 2021-03-17 14:40:50 +01:00
Rhys Arkins 95ce900e70 refactor: npmId 2021-03-16 19:25:03 +01:00
Rhys Arkins a45c5f3a3f refactor: remove git-submodules datasource (#9128) 2021-03-15 06:11:46 +00:00
renovate-testing ea0bcdd185 feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins 717e4e6b2a fix: stabilityStatus non-null check 2021-03-14 07:33:53 +01:00
Rhys Arkins edfac73a08 refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Rhys Arkins d1152e177b fix: delete vulnerabilityAlerts after merging 2021-03-13 10:08:26 +01:00
Rhys Arkins 3357e6333d refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins c17e40993a docs: lint 2021-03-09 23:21:38 +01:00
Rhys Arkins 2b2ca4cf5d fix: warn not error for branch error 2021-03-08 15:55:24 +01:00
Rhys Arkins c8fc8ec736 fix: set enabled=true for remedations 2021-03-08 13:55:59 +01:00
Rhys Arkins ef2a13f4f2 fix: don’t throw repository-changed from git layer (#9032) 2021-03-08 09:02:48 +00:00
Rhys Arkins 1024606ef1 fix: remove artifacts error comment whenever branch PR exists (#9029) 2021-03-08 09:11:49 +01:00
Rhys Arkins 86df157d36 refactor: comment topics 2021-03-08 08:47:36 +01:00
Rhys Arkins 3ec744b401 fix: pypi vulnerabilities mapping (#9026)
* fix: pypi vulnerabilities mapping

* fix: correct pypi vulnerable requirements

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-08 04:55:38 +00:00
Rhys Arkins d3808fbc3b refactor: log branchName for each update 2021-03-07 22:11:19 +01:00
Rhys Arkins 948039d52b refactor: INTERRUPTED -> TEMPORARY_ERROR 2021-03-07 21:40:40 +01:00
Rhys Arkins 40a048d67d fix: don’t rebase for automerge when rebaseWhen=conflicted (#9011)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-07 09:00:20 +00:00
Michael Kriese b50e21646e feat: deprecate node v12 (#8956)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-05 09:59:07 +00:00
Rhys Arkins eb8f895f2e refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins 57ac935577 fix: Revert "feat(helm-values): Support for bumpVersion" (#8926)
This reverts commit 662a60a87e.
2021-03-01 18:35:52 +00:00
davidgwcurve e3ccc26af7 feat(go): support self hosted go modules in gitlab (#8876) 2021-03-01 18:35:35 +01:00
Rhys Arkins 98d55394e6 feat: transitiveRemediation (#8883)
* save remediations

* enhance and export NpmResponse

* sort branch lists

* transitive remediation init

* update-lockfile not bump

* version not value

* remediate package.json

* isVulnerabilityAlert

* simplify config

* fix circular

* update snapshots

* add config and docs

* TODO

* flatten tests

* remediation -> update

* lots of renames

* improve readability

* refactor

* remove fetch

* more tests

* reduce fiixtures sizes

* more tests

* fix parent null

* remove exec

* explicit false

* fix

* Apply suggestions from code review

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

* use type-fest PackageJson

* more tests

* coverage

* Update lib/workers/branch/get-updated.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-01 07:59:57 +00:00
Rhys Arkins 399d7ea73e refactor: platform.getPrBody -> massageMarkdown (#8787) 2021-02-28 18:19:35 +00:00
Rhys Arkins f3daa9e555 fix: don’t skip modified branch from old PR (#8885) 2021-02-28 07:36:13 +00:00
chgl 662a60a87e feat(helm-values): Support for bumpVersion (#8240) 2021-02-28 06:53:26 +01:00
Rhys Arkins bc10487082 fix: don’t Object.assign first upgrade over config (#8892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-27 08:48:11 +00:00
Rhys Arkins b6452b0040 fix: set branch updateType to major if any update is major 2021-02-27 07:47:37 +01:00
Rhys Arkins 5f195e9d4f fix: merge labels and addLabels in groups 2021-02-27 07:00:02 +01:00
Rhys Arkins 4f97dd4331 refactor: get-updated packageFileContent 2021-02-26 11:20:31 +01:00
Rhys Arkins 256fe01a4c refactor: matchFiles 2021-02-24 15:40:39 +01:00
Rhys Arkins e9297944ab logs: improve logging 2021-02-24 15:20:48 +01:00