Commit Graph

432 Commits

Author SHA1 Message Date
Rhys Arkins d6d4124b11 feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
bprachi29 2f826677d0 fix(logs): INFO --print-config (#11299) 2021-08-23 16:27:11 +02:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins 9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Sergei Zharinov 1392955a04 refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Jamie Magee f2b6af88da refactor(pypi): convert to class-based (#11064) 2021-08-03 11:38:46 +00:00
Rhys Arkins 91842073ef fix(secrets): fix host-rules in repo config (#10459) 2021-06-16 14:02:07 +00:00
Rhys Arkins ac61307604 fix(config): don't treat package.json like a config object (#10231)
Closes #10230
2021-05-30 06:01:24 +02:00
Rhys Arkins 854d0a86e8 feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
Rhys Arkins e8a4d973a5 chore: configFileName -> fileName 2021-05-28 10:10:47 +02:00
Rhys Arkins 1580a4fae3 test: fix await tests in init/merge 2021-05-28 10:10:17 +02:00
Rhys Arkins 79592f848a fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins 0b287c763d refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
Matt Palmer bf23c66c6f fix: Use auto-discovered organisational preset configuration during on-boarding (#9888) 2021-05-24 12:16:24 +02:00
Sergei Zharinov fbbbce608e chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
renovate[bot] b8e36daa87 chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese 9e08eaa1dc refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Rhys Arkins 76ae49c4e8 chore: coverage 2021-05-16 07:07:46 +02:00
Rhys Arkins f67427a3a1 fix: string check for empty config contents 2021-05-15 13:08:46 +02:00
Rhys Arkins a245932673 fix(npm): skip lock file generation for non-updated remediations 2021-05-15 12:14:41 +02:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Matt Palmer 5cdedd5e2c refactor: split mergeRenovateConfig to own module (#9872) 2021-05-05 22:26:08 +02:00
Rhys Arkins 4eb4a5cd20 fix: ignore yargs-parser false positive (#9841) 2021-05-04 10:23:03 +02:00
Sergei Zharinov ce51f05cef feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Florian Greinacher 2cc751a0a1 feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Rhys Arkins 13ece707d4 feat(npm): remove ignoreNpmrcFile support (#9409)
Removes support for the ignoreNpmrcFile config option.

BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
2021-04-22 08:47:58 +02:00
Sergei Zharinov b957d4afb7 refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Sergei Zharinov 72d97ec2f4 refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Rhys Arkins 1dad55586b feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +02:00
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 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 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
Rhys Arkins 95bf948020 refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins af1e4ee1a7 feat: secrets (#8070) 2021-03-22 15:51:38 +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
renovate-testing ea0bcdd185 feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins 3357e6333d refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +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 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 256fe01a4c refactor: matchFiles 2021-02-24 15:40:39 +01:00
Rhys Arkins 7f75e5768b refactor: vulnerabilityAlert -> isVulnerabilityAlert 2021-02-24 15:13:41 +01:00
Rhys Arkins b294b73769 fix: use update-lockfile for vulnerabilityAlerts 2021-02-24 14:35:45 +01:00
Rhys Arkins a456c8b5ab fix: rangeStrategy=bump for npm vulnerabilities 2021-02-22 11:18:46 +01:00
Rhys Arkins 5c5e00cdf8 fix: allow vulnerabilityAlerts to override branchTopic, prCreation 2021-02-22 11:08:39 +01:00
Rhys Arkins cdffaca4e1 chore: alertPackageRules PackageRule type 2021-02-22 09:54:29 +01:00
Rhys Arkins 4b62acc616 refactor: file-based alert aggregation 2021-02-21 23:09:53 +01:00
Rhys Arkins e86bddd5bb refactor: simplify vulnerability aggregation 2021-02-21 22:14:17 +01:00