Commit graph

3105 commits

Author SHA1 Message Date
Rhys Arkins
89973832c9
fix: lazy branch status (#11799) 2021-09-17 20:16:23 +02:00
Rhys Arkins
66bc2528f5
feat: log urls in closing stats (#11798) 2021-09-17 20:06:30 +02:00
Rhys Arkins
7b3e14c5cc logs: global env hostRules 2021-09-17 11:19:27 +02:00
Michael Kriese
d3c9fd583a
fix(worker/branch): optimize artifact error handling (#11771) 2021-09-17 08:49:37 +00:00
Rhys Arkins
ee29fdcaf1
feat(config): scoped secrets using pgp/gpg (#11673) 2021-09-16 10:11:13 +00:00
Maksim
7801ae7c16
feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Rhys Arkins
cdc083f40f
feat(config): privateKeyOld (#11653) 2021-09-10 12:47:33 +02:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
d6d4124b11
feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Stéphane Goetz
2a60a9cf51
fix: idempotency issues when rangeStrategy=update-lockfile is used with other rangeStrategy in the same file (#11328) 2021-09-07 07:59:13 +00:00
renovate[bot]
8119166866
chore(deps): update dependency @types/luxon to v2.0.1 (#11551)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-09-03 11:42:04 +02:00
Rhys Arkins
31e1e4d89e fix(git): set gitAuthor before onboarding 2021-09-03 05:58:44 +02:00
Michael Kriese
0eb5c6d2cd
fix(core/changelogs): pass though known project info (#11515) 2021-09-01 13:07:55 +02:00
ylemkimon
7159338509
fix(npm): enable global cache if no zero-install (#11448)
* fix(npm): include yarnZeroInstall in managerData

* fix(npm): enable global cache if no zero-install

* refactor: use mockResolvedValueOnce where possible

* refactor: make PostUpdateConfig extend ManagerData

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-30 17:46:58 +00:00
Rhys Arkins
59cc317156
fix: semantic host stats (#11482) 2021-08-30 17:09:08 +02:00
Rhys Arkins
dfef9f3cb1
fix: handle non-string currentValue (#11472) 2021-08-30 10:25:20 +02:00
Rhys Arkins
96c4df2776
chore: clean up ManagerConfig types (#11469)
* chore: use ExtractConfig for git-submodules

* chore: drop ManagerConfig from config/types

* chore: remove unused ManagerConfig from manager types
2021-08-30 08:05:32 +02:00
Rhys Arkins
ea6863b367
test: fix config.js test for when it's present (#11466) 2021-08-29 21:57:34 +02:00
Wei Kang
5d9eeb030c
feat: fatal error config not found (#11462)
* fatal error and exit when config not found

* update file.ts

* fix fatal error and exit only for custom config file

* update test name to be clearer for custom file only

* revert changes for no config file found

* update test name to be clearer

* add space between test as suggested

* fix test due to invalid file

* fix typo

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-29 11:23:49 +00:00
Michael Kriese
d260dbf2d9
feat: dashboard cleanup (#11417) 2021-08-25 14:11:18 +02:00
Rhys Arkins
ca89ae2f82
fix(dashboard): add link to docs in default header (#11422) 2021-08-25 13:03:57 +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
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02: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
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Yanis Benson
8319b1df52 fix: remove double hyphens from branch names (#11186)
Removes double or more hyphens from branch names and replaces with a single hyphen.

Closes #8260

BREAKING CHANGE: Branches with double hyphens will be changed to single hyphens, which can result in some existing PRs being autoclosed and replacements opened.
2021-08-17 07:57:45 +02:00
Rhys Arkins
123dc4444e feat(travis): remove supportPolicy (#11176) 2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Maksim
a1b7e1fee4
fix(onboarding): refactor commit message functionality (#11171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-12 14:56:51 +00:00
Rhys Arkins
594e6e4eae
docs: improve Getting Started (#11202) 2021-08-12 13:14:16 +02:00
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
Yanis Benson
b1724b6745
feat: add updatePinnedDependencies option (#11087) 2021-08-09 10:14:50 +00:00
Maksim
1bb004db4e
refactor(platform): mergePr args to object (#11155) 2021-08-08 03:35:35 +00: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
Sergei Zharinov
9d580e091f
feat(gitlab): Add gitLabIgnoreApprovals option (#10981) 2021-08-04 09:49:42 +02:00
Jamie Magee
f2b6af88da
refactor(pypi): convert to class-based (#11064) 2021-08-03 11:38:46 +00:00
HonkingGoose
c128d25a46
fix: improve dependency dashboard text (#11050) 2021-08-03 10:44:07 +00:00
Michael Kriese
005e601e5d
fix(core:dashboard): fix optional platform getIssue (#11066) 2021-08-03 07:22:29 +00:00
Jason Birch
3096f340c8
feat: expose merge strategy for configuration when automerging (#10627) 2021-07-29 09:06:55 +00:00
Sergei Zharinov
31785b8742
fix(config): Replace '__' to '_' globally when decoding hostRules from env (#10939) 2021-07-23 10:09:30 +00:00
Michael Kriese
48c33bee7d
feat(github-action): Support updating digest pinned actions (#10835) 2021-07-14 12:58:32 +02:00
Bob van de Vijver
ac4f4a3f6d
feat: Add dependency dashboard label configuration (#10601)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-09 07:41:43 +00:00
Sebastian Poxhofer
3be44469bb
refactor(artifacts): replace list of depNames with PackageDependency list (#10617)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-26 13:29:01 +00:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
HonkingGoose
c718352614
fix: explain pending branch automerge checkbox behavior (#10569) 2021-06-23 16:40:37 +02:00
Michael Kriese
c08d7fa89f
fix: don't skip branch creation on rebaseWhen=never (#10556) 2021-06-23 10:46:17 +00:00
Michael Kriese
f290c8d34a
fix(dasboard): handle optional getIssue (#10518) 2021-06-21 07:05:05 +00:00
Rhys Arkins
40f3aa2e15
fix(changelog): use sourceDirectory for monorepo changelogs (#10501)
Closes #2926
2021-06-20 21:32:11 +02:00
HonkingGoose
9dd254ab84
fix(dashboard): improve wording checkbox to ignore schedule (#10512) 2021-06-20 17:44:03 +02:00
Rhys Arkins
fe699b4468
fix(dashboard): handle checkbox race condition (#10457)
* fix(dashboard): handle checkbox race condition

Closes #4355

* feat(platform): getIssue

* refactor(dashboard): move logic into common file

* Apply suggestions from code review

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

* gitea

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-18 17:31:25 +00:00
Michael Kriese
926a076f7b
fix: reduce deprecation noise (#10498) 2021-06-18 17:16:31 +02:00
Michael Kriese
e21c2d97d1
fix(lookup): use database versioning if none set (#10494) 2021-06-18 11:03:47 +02:00
Sergei Zharinov
5f2e754891
fix(workers): Early return for rebaseWhen=never (#10424) 2021-06-18 08:05:59 +00:00
Sebastian Poxhofer
a445a66336
feat: remove defaulting to semver versioning (#10431)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-17 08:51:30 +00:00
Rhys Arkins
91842073ef
fix(secrets): fix host-rules in repo config (#10459) 2021-06-16 14:02:07 +00:00
Rhys Arkins
7109030618
refactor(dashboard): move logic into common file (#10454)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-16 12:05:36 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Michael Kriese
876c2f40a5
fix: update cli help (#10444) 2021-06-15 15:34:49 +02:00
Rhys Arkins
0ecabfaef3 logs: setMeta after updating complete 2021-06-15 06:52:35 +02:00
Jamie Magee
3a9fc4fc62
refactor: remove more instances of 'master issue' (#10426) 2021-06-14 07:07:44 +02:00
Rhys Arkins
22d82d9a7e
fix(dashboard): handle update-not-scheduled PRs (#10337)
Closes #9275
2021-06-07 15:22:14 +02:00
Rhys Arkins
c7ca78bafd
fix(dashboard): separate pending branch automerge (#10332) 2021-06-07 12:15:19 +02:00
Rhys Arkins
34ef699b64
fix: prResult -> prBlockedBy (#10213) 2021-06-05 13:19:20 +02:00
Rhys Arkins
1e3b5f2470 refactor: pendingChecks to boolean 2021-06-04 09:18:42 +02:00
Rhys Arkins
11694e9294
refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +02:00
Rhys Arkins
d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Sergei Zharinov
a9de944eb7
fix(util): Leverage "emojibase" library for shortcode conversions (#9785)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-01 19:19:38 +00:00
Rhys Arkins
da8676deca
chore: rename ensureMasterIssue (#10260)
Closes #10254
2021-06-01 15:07:54 +02:00
Rhys Arkins
69705c99a3
feat(automerge): recurse after automerge (#10229) 2021-05-31 13:01:48 +02: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
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +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
Rhys Arkins
0b743a9583 fix: filter pendingChecks earlier 2021-05-22 11:25:59 +02:00
Rhys Arkins
8f49d7ec5e chore: log depName when pending status checks 2021-05-22 11:25:29 +02:00
Rhys Arkins
15fde37535
fix: Revert "feat: validate git version" (#10106)
This reverts commit 1304bc930e.
2021-05-22 09:34:51 +02:00
Rhys Arkins
1304bc930e
feat: validate git version (#9979) 2021-05-21 19:51:03 +00:00
Sergei Zharinov
d680ff1e7c
fix(limits): Use PR hourly limits to calculate remaining branch count (#10053)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 15:50:37 +00:00
Sebastian Poxhofer
fefe5f7bc6
feat(onboarding): add labels to on boarding PR/MRs (#9947)
* feat(onboarding): add labels to on boarding PR/MRs

* fix: simplify

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 15:35:15 +00:00
Rhys Arkins
e7506fefa5 fix: post upgrade commands localDir 2021-05-19 12:27:57 +02:00
Michael Kriese
d8f4b86b14
refactor: replace linkify-markdown (#9954)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 03:23:59 +00: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
Rhys Arkins
bd2febb56d fix: respectLatest even if unstable 2021-05-15 00:02:24 +02:00
Rhys Arkins
aca479873c fix: pass rangeStrategy to generateUpdate 2021-05-14 10:31:06 +02:00
Rhys Arkins
02a22755f0 fix: remove udpateType=minor->patch massage 2021-05-13 23:24:35 +02:00
Rhys Arkins
f00413c298
feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Rhys Arkins
fd1ab4b796
fix: updateType for update-lockfile (#9984) 2021-05-12 21:29:32 +00:00
Rhys Arkins
a70aa6b75b
fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Rhys Arkins
1a5db3412b
fix: filter pendingChecks per-branch (#9966) 2021-05-12 14:33:58 +02:00
Michael Kriese
9ca604b345
refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins
65c01d2703
fix: avoid error if no currentVersion found (#9925)
Closes #9097
2021-05-10 10:19:30 +02:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +02:00
Rhys Arkins
1bc09b0bfc
feat: internalChecksFilter (#9796) 2021-05-08 14:38:27 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Fredrik Blomqvist
467b5ae2fe
feat: Improve schedules (#9819) 2021-05-05 20:45:33 +00:00
Matt Palmer
5cdedd5e2c
refactor: split mergeRenovateConfig to own module (#9872) 2021-05-05 22:26:08 +02:00
Florian Greinacher
d652a5e5c6
fix: remove leading '@' symbol from usernames (#9817) 2021-05-05 08:31:53 +02:00
Rhys Arkins
4eb4a5cd20
fix: ignore yargs-parser false positive (#9841) 2021-05-04 10:23:03 +02:00
Tiago Martins
8c07d4d757
feat: Add setting to auto approve PRs in Azure DevOps (#9702)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-05-03 23:48:59 +00:00
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
61c648d20b chore: simplify global hostRules test 2021-05-01 23:17:38 +02:00
Rhys Arkins
915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Rhys Arkins
3c2b394e8d
fix: keep stabilityDays pending check even if dashboard checked (#9799) 2021-04-30 17:46:20 +02:00
Rhys Arkins
6ad1a33159
refactor: separate update generation (#9788)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-30 10:46:11 +02:00
Rhys Arkins
bafb55dd99
fix: patch grouping when separateMinorPatch=false (#9746)
Closes #9744
2021-04-27 16:14:57 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Rhys Arkins
65c3992ec5
fix: create PR if stale branch can't automerge (#9723) 2021-04-26 07:00:26 +02:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Michael Kriese
e0488a3ebb
fix(worker): wrong no branch delete on dry-run (#9682) 2021-04-22 16:03:47 +02:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
2021-04-22 08:47:58 +02:00
Rhys Arkins
cbf8ea4e55 feat(config): delay preset resolution until after platform initialization (#9415)
Delay config preset resolution in admin config until after platform initialization. This will enable resolution of private “local>…” presets to work.

BREAKING CHANGE: Config presets will be resolved after platform initialization, so from now on platform credentials cannot be placed in presets.
2021-04-22 08:47: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
Rhys Arkins
59d728b16b refactor: skipInstalls -> artifactUpdateApproach (#9119)
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.

BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
2021-04-22 08:47:58 +02:00
Rhys Arkins
0500042d1d feat: updateType=patch (#9393)
Changes behavior so that patch updateType is not rewritten to minor by default.

Closes #2818

BREAKING CHANGE: patch updates are not considered updateType=minor by default.
2021-04-22 08:47:58 +02:00
Rhys Arkins
13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
2021-04-22 08:47:58 +02:00
Rhys Arkins
8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +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
Rhys Arkins
f654f2d945
fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00:00
Rhys Arkins
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Emanuel Bennici
45739cddfd
feat: Allow multiple autodiscover filter (#9453) 2021-04-19 14:18:06 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
dbbeea1c13 test: branch worker use snapshots 2021-04-15 21:45:07 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
227f9f73dd refactor: branch worker handle existing PR 2021-04-15 19:53:44 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Rhys Arkins
f87d5e8b76
refactor: complex PR automerge result (#9567) 2021-04-15 16:30:02 +02:00
Rhys Arkins
9ee35de2e1 refactor: perform branch deletion in automerge function 2021-04-15 14:09:06 +02:00
Rhys Arkins
6d17d7bbbd test: snapshot pr automerge result 2021-04-15 13:50:58 +02:00
Rhys Arkins
e90593e339 refactor: move automerge check to branch worker 2021-04-14 22:58:06 +02:00
Rhys Arkins
064958908f refactor: simplify pr automerge function 2021-04-14 22:32:39 +02:00
Rhys Arkins
966e141de7 refactor: separate automerge function in pr 2021-04-14 22:18:57 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Rhys Arkins
6662db9765
fix: don’t disable repos if cannot fork (#9521) 2021-04-13 08:54:46 +02: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
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
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
910d264cab tests: fix dashboard coverage 2021-02-24 09:34:25 +01:00
Rhys Arkins
1e24b9fc5c fix: ensure dashboard if approvals in config 2021-02-23 23:33:48 +01:00
Rhys Arkins
728082b3c3 fix(cache): correct revision 2021-02-22 19:39:33 +01:00
Rhys Arkins
9171e712d4
feat: updateInternalDeps (#8809) 2021-02-22 15:09:35 +00:00
Rhys Arkins
2be25c4ae6 refactor: applyUpdateConfig 2021-02-22 12:48:00 +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
7ae3ce323f fix(automerge): handle github branch protection failures 2021-02-22 09:07:23 +01:00
Rhys Arkins
8e7e41f6a3
fix: rebase if automerging even if rebaseWhen=conflicted (#8796) 2021-02-22 06:45:36 +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
Rhys Arkins
8c48d4bc9d
refactor: vulnerability matchFiles (#8786) 2021-02-20 21:44:32 +01:00
Rhys Arkins
2c9a172834
feat: per-file vulnerability alerts (#8770) 2021-02-20 06:00:44 +00:00
Michael Kriese
9a1c4fabb7
feat(gomod): do not shorten depName (#8758) 2021-02-18 16:27:47 +01:00
Rhys Arkins
f41430bbb9 refactor: fixedVersion calculation 2021-02-18 14:54:11 +01:00
Rhys Arkins
5af13b10c3 refactor: remove superfluous valid check 2021-02-18 14:51:36 +01:00
Rhys Arkins
8b42b62aa8 refactor: UpdateTypeConfig 2021-02-18 12:02:26 +01:00
Rhys Arkins
436abf51de refactor: pass versioning to getUpdateType 2021-02-18 11:59:26 +01:00
Rhys Arkins
1d4672cda0
fix: don’t imply patch from automerge settings (#8747) 2021-02-18 10:12:38 +01:00
Rhys Arkins
22b4fadd6d refactor: pass versioning to getCurrentVersion 2021-02-18 09:44:36 +01:00
Rhys Arkins
54d82d23c2 refactor: lookup destructuring 2021-02-18 09:35:41 +01:00
Rhys Arkins
df2db74c06 refactor: BucketConfig 2021-02-18 09:30:04 +01:00
Rhys Arkins
07a05012f1 refactor getCurrentVersion versioning 2021-02-18 09:28:18 +01:00
Rhys Arkins
21cfbd2e82 refactor: move lookup functions into own files 2021-02-18 09:21:01 +01:00
Rhys Arkins
e7f2beebdb refactor: centralize lookup types 2021-02-18 08:35:26 +01:00
Rhys Arkins
71e26d835d refactor: rename lookup functions 2021-02-18 08:27:56 +01:00
Rhys Arkins
c34e54c5d3 refactor: remove SkipVersion.UnsupportedValue 2021-02-18 08:24:08 +01:00
Rhys Arkins
bbd78d490c refactor: remove SkipReason.Unknown 2021-02-18 08:09:04 +01:00
Rhys Arkins
33e7e41534
refactor: latestVersion -> tags.latest (#8739) 2021-02-18 08:00:00 +01:00
Rhys Arkins
01e1f38019
refactor: remove unused ReleaseResult fields (#8737) 2021-02-17 21:29:25 +01:00
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
1e90a544fc refactor: hashed branch compilation 2021-02-16 12:31:10 +01:00
Rhys Arkins
f72fe9f724 chore: codecov 2021-02-16 12:08:43 +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
Sergei Zharinov
44004bf2d6
refactor(limits): Log more for concurrent branch detection (#8698) 2021-02-15 14:23:31 +01:00
Rhys Arkins
0e0308fdd8 refactor: bucketRelease 2021-02-13 11:24:35 +01:00
Rhys Arkins
1acda01b6e refactor: store bucket releases, not versions 2021-02-13 11:18:26 +01:00
Rhys Arkins
a9a08cf902 refactor: bucketVersions 2021-02-13 00:01:30 +01:00
Rhys Arkins
1be1be9056 refactor: move update checking later 2021-02-12 23:49:25 +01:00
Rhys Arkins
0f456d0615 refactor: getBucket 2021-02-12 23:41:20 +01:00
Rhys Arkins
b9e084000e refactor: lookup version -> versioning 2021-02-12 23:30:44 +01:00
Rhys Arkins
f5ceba085b refactor: add bucket to update 2021-02-12 23:27:48 +01:00
Rhys Arkins
b2bbe96657 fix: don’t try to detect major automerge 2021-02-12 22:41:40 +01:00
Rhys Arkins
cadace3241 fix: edge cases for bump/update-lockfile 2021-02-12 22:29:00 +01:00
Rhys Arkins
e61a32aef1 refactor: lookup updates loop 2021-02-12 19:06:40 +01:00
Rhys Arkins
55afac8227 refactor: highestUpdate -> update 2021-02-12 17:55:36 +01:00
Rhys Arkins
f6b438508e refactor: simplified lookup buckets 2021-02-12 17:38:28 +01:00
Rhys Arkins
2a4875b230
refactor: log skippedOverVersions (#8664) 2021-02-12 15:34:43 +01:00
Rhys Arkins
e28e8b44cb fix: add new disabled commands to result handling 2021-02-11 17:10:20 +01:00
Rhys Arkins
fa9031f5e9 feat(internal): expand disabled error messages
Splits REPOSITORY_DISABLED into multiple
2021-02-11 13:32:29 +01:00
Charles Korn
1a9e54341e
fix(batect): "Failed to parse newContent" (#8632) 2021-02-11 08:32:57 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Michael Kriese
3281e1aadc
test: fix coverage (#8590) 2021-02-08 12:31:57 +00:00
Michael Kriese
d029350052
fix(worker): rebase stale pr (#8588) 2021-02-08 12:06:11 +01:00
Rhys Arkins
78551afdec chore: LegacyAdminConfig 2021-02-07 22:13:55 +01:00
Rhys Arkins
d203def3d0 refactor: baseDir to global config 2021-02-05 22:35:03 +01:00
Rhys Arkins
6fa37294cf refactor: dryRun admin config 2021-02-05 22:21:24 +01:00
Rhys Arkins
c80165dd11 fix: move privateKey to admin config 2021-02-05 17:53:50 +01:00
Rhys Arkins
90db7e28a6
feat(config): delete after setting admin config (#8557) 2021-02-05 16:08:52 +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
25f43fd1d7
refactor: move post upgrade commands to repo admin config (#8552) 2021-02-05 09:58:48 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Adam Horacek
60174c4cf4
fix: always add additionalReviewers to PR (#8550) 2021-02-05 07:07:39 +01:00
Tobias Bieniek
ee178df01a
feat: hashedBranchLength option (#8502) 2021-02-03 15:48:54 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +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
Rhys Arkins
391fe681fd tests: fix coverage 2021-01-24 15:11:01 +01:00
Rhys Arkins
3ff35656b3
refactor: add depNameShort during flatten (#8401) 2021-01-24 08:34:33 +01:00
Rhys Arkins
e0a1064a37
fix: remove consecutive hyphens from depNameSanitized (#8400) 2021-01-24 07:22:28 +00:00
Rhys Arkins
e5ce9f7e5c fix: sort vulnerability PRs first 2021-01-23 08:06:20 +01:00
Rhys Arkins
c24eb6b7a5 fix: don’t block vulnerability PRs due to pin PRs 2021-01-23 08:04:14 +01:00
Rhys Arkins
9fc7911b1c fix: exclude vulnerability PRs from rate limits 2021-01-23 08:03:54 +01:00
Rhys Arkins
294cf9fb99
refactor: datasource defaultVersioning (#8367) 2021-01-21 12:39:18 +01:00
Rhys Arkins
ebb40b3adb
fix(github): pass up repo not found in init (#8355) 2021-01-19 23:07:12 +01:00
Stefan
91d30caed7
fix: fetch changelog from self-hosted gitlab independent from url (#8336) 2021-01-19 09:36:27 +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
Sergei Zharinov
746d170824
feat(limits): Add "branchConcurrentLimit" option (#8046)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-10 13:29:14 +01:00
Rhys Arkins
e452b83040
refactor: change bumpPackageVersion return signature (#8232) 2021-01-10 11:10:34 +01:00
Rhys Arkins
18a87db919
fix: skip branch if no PR but modified (#8230) 2021-01-09 17:26:48 +01:00
Rhys Arkins
44a33bcd4b logs: changelog fetch 2021-01-08 11:30:54 +01:00
Michael Kriese
7a25491a49
fix: wrong code quoting (#8223)
* fix: wrong code quoting

* fix: can be undefined

* fix: wrong function
2021-01-08 06:47:14 +00:00
Michael Kriese
c2d1d4d66d
feat: suppress onboarding preset warning (#8214) 2021-01-08 07:30:41 +01: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
Rhys Arkins
5209be38e9
refactor: remove manager from PackageRile (#8102)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-21 10:18:48 +00:00
Rhys Arkins
2734fca0fc logs: log config file name when found 2020-12-19 21:56:07 +01:00
Leif Segen
964f1e71c4
fix: Update help URLs due to archiving of renovatebot/config-help repo (#8084)
* Update help URLS

* Update help URLS

* Make changes consistent

* Fix typo
2020-12-19 08:12:09 +01:00
Michael Kriese
e91191c667
fix(regex-manager): copy templates for auto-replace (#8072) 2020-12-18 17:24:15 +01:00
Rhys Arkins
464fcc2dbc fix(autoreplace): skip depName compare if undefined 2020-12-18 16:42:20 +01:00
Rhys Arkins
116693be64
fix: Revert "feat: secrets" (#8069)
This reverts commit ec1b3c386b.
2020-12-18 15:33:21 +01:00
Rhys Arkins
ec1b3c386b
feat: secrets (#6664) 2020-12-18 13:38:28 +01:00
Michael Kriese
2f432626f0
fix(auto-replace): should fail on wrong replace (#8062) 2020-12-18 11:39:27 +01:00
Sergei Zharinov
62c68d07e3
refactor(workers): Use limiting API for PRs instead of in-place counters (#8031) 2020-12-16 09:13:52 +01:00
Rhys Arkins
0b53e9462c fix: pass ExternalHostError up 2020-12-14 09:09:21 +01:00
Rhys Arkins
6b1b34bf26 logs: lower replace warning to info 2020-12-13 14:52:31 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Sergei Zharinov
683b87f845
fix(limits): Refactor hourly PR limit calculation (#7930)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 10:10:26 +01:00
Rhys Arkins
4202be9ef0
fix: don’t prioritize updateTypes packageRules (#7897)
Removes code which ensured rules with updateTypes always ran last and therefore had higher priority.

Closes #4482

BREAKING CHANGE: Package Rules will be evaluated in the order they are configured, instead of evaluating rules with updateTypes last.
2020-12-11 10:10:12 +01:00
Sergei Zharinov
6f7b4afd1e
feat(npm): migrate and deprecate unpublishSafe (#7464)
The existing npm-specific `unpublishSafe` setting will be removed and migrated instead to use `stabilityDays` (3). The `renovate/unpublish-safe` status check is also deprecated and the existing `renovate/stability-days` will be used instead.

Closes #5265

BREAKING CHANGE: The status check `renovate/unpublish-safe` will be replaced with `renovate/stability-days`. Please migrate any branch protection rules if you were relying on `renovate/unpublish-safe`.
2020-12-11 10:09:58 +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
c98a537f8b
refactor(limits): Refactor global limits counter (#7931) 2020-12-11 09:26:47 +01:00
Rhys Arkins
e41b5161e3 fix: create vulnerability PRs immediately 2020-12-11 09:15:52 +01:00
Sergei Zharinov
fc82a2a6b9
refactor: Rename maxSatisfyingVersion to getSatisfyingVersion (#7917) 2020-12-10 09:25:04 +01:00
Alex Ruffo
b7495330c0
feat: customize onboarding file name (#7866) 2020-12-07 10:14:46 +01:00
Michael Kriese
2f87b53c3e
fix(worker): early exit if config can't parsed (#7884) 2020-12-04 09:21:57 +01:00
Michael Kriese
b12c522e0b
feat(gitlab): support automerge on pr update (#7871) 2020-12-03 16:13:21 +01:00
Fernando Mora
693f58e178
feat(config): Add mergeable addLabels option (#7869)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-03 15:20:09 +01:00
mofleury
732fcfd484
fix: upgrade sorting by file replacement position (#7827) 2020-11-26 16:15:31 +01:00
Sarun Intaralawan
fa5822551f
fix: call every postUpgradeTasks in the branch (#7735) 2020-11-26 13:18:27 +01:00
Rhys Arkins
3f75bd7c12
fix: massage/truncate variable length comments (#7819)
Closes #7775
2020-11-26 10:31:21 +01:00
Sergei Zharinov
2e72efde35
feat(limits): Ignore prNotPendingHours when stabilityDays is set (#7459)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-11-24 11:32:29 +01:00
Rhys Arkins
29bea61fd4 fix(automerge): don’t delete if pr-comment
Closes #7786
2020-11-23 10:33:50 +01:00
Tom Kerkhove
0c204ee490
fix: extra space when adding autoclosed suffix (#7773) 2020-11-20 09:53:51 +01:00
Rhys Arkins
f711be3d37 fix: add sourceUrl to branches cache 2020-11-19 15:04:15 +01:00
Michael Kriese
ac124f453e
fix(github): fully support ghe for releases and tags datasource (#7752)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-11-19 11:05:56 +01:00
Sarun Intaralawan
aac497bc31
fix: rerun applyPackageRules after fetching sourceUrl from datasource (#7723) 2020-11-16 13:52:31 +01:00
Rhys Arkins
5d99ff9862
refactor: convert all path to upath (#7712) 2020-11-12 21:46:08 +01:00
Mike Bryant
ad50398fb3
feat(helmv3): Add support for bumpVersion (#7670) 2020-11-10 22:06:34 +01:00
Igor Katsuba
b22ea768fc
feat: allow compilation of post-upgrade commands (#7632)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-11-10 14:25:37 +01:00
Sergio Zharinov
7fb8edc697
feat(workers): Delete automerged branches (#7668) 2020-11-10 13:58:59 +01:00
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Rhys Arkins
4c68175f81
fix: update-lockfile in-range updates (#7660)
* Revert "fix: update-lockfile branch reuse (#7651)"

This reverts commit 802572bc33.

* fix: update-lockfile in-range updates
2020-11-05 21:04:53 +01:00
Michael Kriese
7c53050fe5
feat(worker): pass platform options to onboarding pr (#7614) 2020-11-04 15:18:20 +01:00
Rhys Arkins
802572bc33
fix: update-lockfile branch reuse (#7651) 2020-11-04 15:03:52 +01:00
Pierrick V
71ceea0b47
feat: Trigger updateArtifacts for update-lockfile rangeStrategy with no packageFile content updated (#5859)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-29 12:31:14 +01:00
Matt R. Wilson
c9727c024a
feat(cache): extend release notes cache TTL (#7596)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-29 10:11:12 +01:00
Nils Plaschke
c57bb61294
fix: sampleSize: 0 does not add assignees/reviewers (#7579) 2020-10-28 06:17:35 +01:00
Michael Kriese
0e10c4199f
feat: replace moment with luxon (#7564) 2020-10-27 15:02:25 +01:00
Rhys Arkins
40ae43817a
feat(github-releases): use prerelease metadata in filtering (#7567) 2020-10-27 14:02:34 +01:00
Michael Kriese
09be0d9198
feat: replace later (#7565)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-10-27 13:23:21 +01:00
Rhys Arkins
66b0265b46 refactor: versions -> releases 2020-10-27 12:01:10 +01:00
Rhys Arkins
98059f10f2 refactor: filter isVersionStable 2020-10-27 12:00:19 +01:00
Rhys Arkins
d679a69d63 refactor: filter version -> versioning 2020-10-27 11:38:33 +01:00
Rhys Arkins
36849511cc
refactor: use full release when filtering (#7562) 2020-10-27 10:34:34 +01:00
Rhys Arkins
ac7d8ea112
fix: resolve repoConfig.extends with repo config (#7541) 2020-10-25 07:49:34 +01:00
Rhys Arkins
769dede4fb chore: codecov if/next 2020-10-24 22:34:55 +02:00
Rhys Arkins
4540ad4814 fix: switch update-lockfile to bump only if vulnerabilityAlert 2020-10-24 22:03:24 +02:00
Kieran
19ca7c2dab
feat: reduced artifact error threshold to 2 hours (#7514) 2020-10-21 15:05:09 +02:00
Rhys Arkins
814986e9f8 fix(cache): delete dep updates after load 2020-10-21 09:45:10 +02:00
Josh Soref
9aff7a955f
chore: spelling (#7499) 2020-10-20 08:49:28 +02:00
Rhys Arkins
19b9355ec8 fix: gracefully handle failed branch prune
debug instead of warn if branch not found on origin when pruning orphans
2020-10-19 10:57:51 +02:00
Rhys Arkins
ff46042c43 fix: warn and throw if config file null 2020-10-19 10:14:43 +02:00
Jean-Michel Leclercq
bb9e30f64a
feat: New Configuration option fetchReleaseNotes (#7404) 2020-10-19 10:05:05 +02:00
Rhys Arkins
96f87bd2f4 fix(dashboard): correct onboarding check
Closes #7486
2020-10-16 14:02:00 +02:00
Rhys Arkins
57dbcd5e74 logs: add onboarding dashboard message 2020-10-16 12:52:43 +02:00
Sergio Zharinov
692eea18d4
fix(dependency-dashboard): Don't create dependency dashboard during onboarding (#7453) 2020-10-15 08:26:48 +02:00
Rhys Arkins
5a7fb4b993
fix: prune modified branches if no PR (#7467)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-14 16:29:45 +02:00
Rhys Arkins
1409aa1f7e refactor: return richer repository status 2020-10-14 16:20:02 +02:00
Misha Kaletsky
78c2d6a42f
feat: find release notes for lerna monorepos (#7457) 2020-10-14 15:26:08 +02:00
Sergio Zharinov
1c3caa67c9
refactor(limits): Code coverage for branch counting code (#7466) 2020-10-14 13:47:57 +02:00
Rhys Arkins
8eb3a037ee fix: correct autoclose logging 2020-10-14 08:49:56 +02:00
Rhys Arkins
7de273aa6b fix(git): gracefully handle not a git repository failure 2020-10-12 10:36:49 +02:00
Misha Kaletsky
a41aefc23d
feat: find release notes for rush repos (#7445)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-12 07:32:14 +02:00
Rhys Arkins
7587eedd6b fix: try/catch branch cache modified call 2020-10-10 08:09:15 +02:00
Rhys Arkins
11172e4177
feat: check for dot platform org preset when onboarding (#7423)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-08 13:04:18 +02:00
Rhys Arkins
548e458426 logs: log CODEOWNERS files and rules 2020-10-08 11:02:47 +02:00
Rhys Arkins
4500686c52 fix(dashboard): better Ignored description 2020-10-08 08:27:09 +02:00
Sergio Zharinov
b2fde31693
fix(limits): Count concurrent PR with platform API instead of branches (#7421)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-07 12:07:25 +02:00
Rhys Arkins
46cc3c5305 refactor: prepare onboarding config for enhancement 2020-10-07 09:49:39 +02:00
Rhys Arkins
0f9a61e4ca logs: add CODEOWNERS debug 2020-10-07 09:40:17 +02:00
Rhys Arkins
f724a8149f fix: clarify debug logs for onboarding discovery 2020-10-07 07:19:32 +02:00
Mike Bryant
40852754aa
feat: Add organization-level presets (#7403)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-06 22:02:35 +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
Sergio Zharinov
517f5ecfb9
refactor(platform): move optimizeForDisabled, isFork logic to worker layer (#7379)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-02 11:57:52 +02:00
Sergio Zharinov
5fc7bea230
fix(limits): Count branches for prCreation having "non-pending" value (#7388) 2020-09-30 21:06:03 +02:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
Sergio Zharinov
8ab6d6076a
refactor(workers): Extract 'getFileList' call outside of match loop (#7349) 2020-09-30 08:40:19 +02:00
Rhys Arkins
9f99c5e073 feat(internal): write branches cache 2020-09-22 13:10:07 +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
Sergio Zharinov
0ea1413e57
refactor(platform): Rename "branchName" to "sourceBranch" (#7284)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:09:59 +02:00
Rhys Arkins
d863036a1f
refactor: packageJsonVersion -> packageFileVersion (#7338) 2020-09-22 05:32:42 +02:00
Florian Greinacher
71cf56eaf9
feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
ylemkimon
de7ca87758
fix(npm): merge compatibility in generateBranchConfig (#7290)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-17 10:36:11 +02:00
Rhys Arkins
4e1ace3a85 fix(git): gracefully abort for bad revision errors 2020-09-15 12:05:19 +02:00
Rhys Arkins
35c5fe81a1 feat(internal): log fixedVersion of dependencies 2020-09-13 12:03:20 +02:00
Rhys Arkins
2c9ebbe54b refactor: sort fileMatch result for deterministic ordering 2020-09-13 07:17:43 +02:00
Tobias Bieniek
171b65eed0
feat(pr/body): Fall back to dependencyUrl property (#7262)
... if no `homepage` or `sourceUrl` is available

This is relevant for the `crate` datasource where both are currently not available due to the API rate limiting.
2020-09-12 14:11:35 +02:00
Rhys Arkins
facf46c84e
fix: treat config validation errors as enabled (#7255) 2020-09-12 07:28:12 +02:00
Sergio Zharinov
ec2154963a
fix(dependency-dashboard): Force checked PRs creation (#7253)
* fix(dependency-dashboard): Force checked PRs creation

* Simplify

* Remove unused check
2020-09-11 20:35:57 +02:00
Rhys Arkins
243728f263 fix(config): Migrate semantic commit option to enum type (#7170)
This reverts commit d1d7901a0a.
2020-09-11 13:15:04 +02:00
Rhys Arkins
d1d7901a0a fix: Revert "fix(config): Migrate semantic commit option to enum type (#7170)"
This reverts commit d2a5b7167b.
2020-09-11 12:43:49 +02:00
Sergio Zharinov
d2a5b7167b
fix(config): Migrate semantic commit option to enum type (#7170)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-11 11:45:14 +02:00
Rhys Arkins
b7ac19d9bf
fix: sanitize github vulnerability alert bodies (#7246) 2020-09-10 21:57:18 +02:00
Tobias Bieniek
c0026ff1c9
fix: changelog: Fix files.length conditions (#7210)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 13:20:17 +02:00
Jamie Magee
f3a3db4a4f
fix(pr): move ADO and BB pr config to repo configuration (#7176)
* fix(pr): move ADO and BB pr config to repo configuration

This change moves `azureWorkItemId` & `bbUseDefaultReviewers` from self-hosted configuration (only) and allows them to be set at any level.

In draft for now as it needs test fixes

Fixes #7150

* test fixes

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 12:55:37 +02:00
renovate[bot]
907b2b054e
chore(deps): update linters (major) (#7185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-07 09:54:07 +02:00
pulish
5f2844247f
fix(dry-run): don't check non existing branch in dry-run (#7171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:38:19 +02:00
Rhys Arkins
2c9b1de0b8 refactor: remove unused branchList in updateRepo 2020-09-01 18:33:45 +02:00
Rhys Arkins
1627db8c3f
refactor: simplify baseBranchSha, reduce checkouts (#7159) 2020-09-01 18:32:58 +02:00
Rhys Arkins
bb708262c8 refactor: remove defaultBranchSha from repo init 2020-09-01 17:10:58 +02:00
Rhys Arkins
539312645c refactor: better init config names 2020-09-01 16:40:06 +02:00
Rhys Arkins
4a0605a765 fix(changelog): harden check for fromVersion and toVersion 2020-09-01 15:59:54 +02:00
Rhys Arkins
2d344b1a69 test: remove noisy snapshot 2020-09-01 15:31:02 +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
Rhys Arkins
c75d2c6873
refactor: detectSemanticCommits (#7151) 2020-09-01 10:44:52 +02:00
Rhys Arkins
540d47ba87 chore: fix lint 2020-09-01 07:25:13 +02:00
Rhys Arkins
1ddbce2fa2 test: refactor init tests 2020-09-01 07:10:50 +02:00
Rhys Arkins
92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins
0bd7d27b33 chore: type -> interface 2020-09-01 06:30:52 +02:00
Rhys Arkins
8a286a4663 chore: rename RepoConfig -> RepoFileConfig 2020-09-01 06:20:26 +02:00
Rhys Arkins
4b2eaf54ec
refactor: initRepo cache (#7146) 2020-08-31 20:01:41 +02:00
Sergio Zharinov
bffebcc331
refactor(workers): Enum type for ProcessBranchResult (#7132) 2020-08-31 16:05:38 +02:00
Julien Poissonnier
499c838fe0
feat(gitlab): Allow using an OAuth2 token for authentication (#7131)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-31 15:36:48 +02:00
Rhys Arkins
6dbb1c710c refactor: get defaultBranchSha from git 2020-08-31 13:14:13 +02:00
Sergio Zharinov
ad52ac9b13
fix(eslint): Restrict the rules and fix errors (#7117) 2020-08-31 13:13:02 +02:00
Rhys Arkins
0a60516891 chore: getRepoConfig -> detectRepoFileConfig 2020-08-31 12:42:25 +02:00
Rhys Arkins
b88b1c96da refactor: split out repo config error throwing 2020-08-31 12:31:42 +02:00
Rhys Arkins
40d3316703 refactor: write repoConfig to cache 2020-08-31 12:14:10 +02:00
Rhys Arkins
8c5e6f3689
refactor: split getRepoConfig from mergeRenovateConfig (#7142) 2020-08-31 11:40:18 +02:00
Rhys Arkins
01659f2bb2 chore: fix lint 2020-08-31 11:20:53 +02:00
Rhys Arkins
81a75dd8b4 refactor: remove null file check 2020-08-31 11:14:55 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Rhys Arkins
012561f69a
feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins
80b691c807
refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Rhys Arkins
937a2e48b0 chore: rename commitHash -> commitSha 2020-08-29 14:48:48 +02:00
Sergio Zharinov
21e1f1ff3e
feat(worker): Enforce limits at PR creation time (#7099) 2020-08-28 15:22:14 +02:00
Rhys Arkins
c1245b2d4b
feat(internal): lazy git initialization (#7006)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 10:08:39 +02:00
Julien Poissonnier
d78dc8f01c
feat(config): Add support for prBodyTemplate (#7122)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 09:27:31 +02:00
Rhys Arkins
d4c466ac9d fix: compile lock file maintenance branch name
Closes #7110
2020-08-26 15:57:55 +02:00
jparnone
67a8fe519d
feat(config): Added option "onboardingCommitMessage" (#6997)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-26 15:00:45 +02:00
Rhys Arkins
7bb198f1b7 fix: multiple major branch name separation 2020-08-26 14:32:10 +02:00
Rhys Arkins
d21e50d911
feat(internal): write branchName to each update (#7107) 2020-08-26 11:27:09 +02:00
Rhys Arkins
5f94ec586a
refactor: move parentDir/baseDir generation to flattenUpdates (#7104) 2020-08-26 09:31:26 +02:00
Sergio Zharinov
0701419d6e
fix: remove statusCheckVerify option (#7094)
Closes #7057

BREAKING CHANGE: statusCheckVerify config option is no longer supported and will be ignored
2020-08-25 13:11:24 +02:00
Sergio Zharinov
838996dbe0
feat: remove lazyGrouping feature (#7093)
Closes #7056

BREAKING CHANGE: lazyGrouping is no longer supported
2020-08-25 13:10:26 +02:00
Rhys Arkins
6a0f9a9a60
fix: try/catch localDir deletion (#7090) 2020-08-25 10:22:21 +02:00
Rhys Arkins
c234428fd5 fix: more flexible check for dashboard approval 2020-08-25 10:02:11 +02:00
Rhys Arkins
cff22ccc16
fix: always show dependency dashboard footer (#7078) 2020-08-24 14:35:22 +02:00
Jamie Magee
5c1947108d
test: feature support for prs rarer than 1 month (#7033) 2020-08-24 10:43:21 +02:00
Rhys Arkins
824bfca207
fix: revert mergeRenovateConfig removal (#7028) 2020-08-19 12:59:19 +02:00
Rhys Arkins
5f80b726d9 fix: revert baseBranch/baseBranchSha change
Closes #7027
2020-08-19 12:01:42 +02:00
Rhys Arkins
2d0961af8d refactor: move onboarding check into getRepoConfig 2020-08-19 09:36:02 +02:00
Rhys Arkins
805e34e5b0 refactor: remove unnecessary baseBranch settings 2020-08-19 09:18:53 +02:00
Rhys Arkins
9483a61110 refactor: clone config when initializing 2020-08-19 09:17:55 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Rhys Arkins
b6af8188d1
refactor: initRepo (#7022) 2020-08-19 06:27:48 +02:00
Sergio Zharinov
45b9b4ebc4
refactor(platform): Decomplect branch deletion from PR state (#6988) 2020-08-18 20:38:53 +02:00
Rhys Arkins
764b2b7b67 refactor: use hasha for cache configHash 2020-08-18 19:58:12 +02:00
Rhys Arkins
3985953da2
fix: don’t error when baseBranches are not found (#7019)
Log a warning when baseBranches are missing but otherwise just skip over and keep going.

Closes #6669
2020-08-18 14:49:38 +02:00
Sergio Zharinov
cd064db4eb
refactor(platform): Change signature types for "updatePr" method (#7002)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-18 12:19:19 +02:00
pokutuna
ed3a15c08d
docs: fix link to the self-hosting docment (#7007) 2020-08-18 00:01:50 +02:00
Rhys Arkins
7505292116 fix: update git submodules only if version found 2020-08-14 08:18:20 +02:00
Rhys Arkins
0a143a2c96 fix: don’t linkify gitlab.com repositories 2020-08-12 07:20:45 +02:00
Rhys Arkins
7e78353ce4 fix: surround linkify in try/catch 2020-08-11 08:21:44 +02:00
renovate[bot]
ccf286240e
chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Michael Kriese
bfa0d92d38
feat(internal): fix changelogs (#6873)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-30 08:16:56 +02:00
Niklas Eicker
1499d46db9
fix: typo in "Pin dependencies" PR (#6881)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-30 07:21:09 +02:00
Michael Kriese
2df9285d66
refactor(internal): refactor changelogs (#6878) 2020-07-29 17:45:51 +02:00
Michael Kriese
35be423495
fix(internal): change url encoding to lowercase (#6879) 2020-07-29 14:37:09 +02:00
Michael Kriese
2b636273bd
refactor: small refactoring (#6876) 2020-07-29 13:11:30 +02:00
INA Lintaro
d6b25f6a31
fix(changelog): support 'release-' tag format. (#6871) 2020-07-29 06:39:06 +02:00
Rhys Arkins
b11e5cb761 chore: rename platform types 2020-07-24 17:57:45 +02:00
Rhys Arkins
0823b14a5f
feat: dependency dashboard header and footer (#6839)
Adds the ability to customize the dependency dashboard contents through customizable header and footer.
2020-07-23 15:35:43 +02:00
Rhys Arkins
4a41a22a48
fix: commit limit when rebasing (#6837) 2020-07-23 15:23:16 +02:00
Rhys Arkins
22a93c968f chore: don’t log new/old PR body if changed 2020-07-23 14:11:42 +02:00
Rhys Arkins
91be1678ac
refactor: targetBranch mandatory in platform.createPr (#6829) 2020-07-23 12:43:06 +02:00
Rhys Arkins
eaffc19253
refactor: drop pr.isStale (#6826) 2020-07-23 10:15:51 +02:00
Rhys Arkins
1449e8324b
feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins
bfcd2508ef refactor: remove unused base branch else 2020-07-22 11:14:08 +02:00
Rhys Arkins
20e57a1f6c
refactor: createPr useDefaultBranch -> targetBranch (#6813) 2020-07-22 11:08:08 +02:00
Michael Kriese
9b4bff0051
fix(internal): fix linting (#6803) 2020-07-22 07:45:57 +02:00
Rhys Arkins
7d08285325 chore: rename master-issue -> dependency-dashboard 2020-07-21 15:13:56 +02:00
Rhys Arkins
3c9bac650d
fix: autoclosed digests when cache is enabled (#6799) 2020-07-21 12:22:20 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Michael Kriese
515aa56cf6
fix(internal): respect dry-run (#6767) 2020-07-17 09:49:59 +02:00
Rhys Arkins
0571eb37e8
fix: don’t assign if MR already has assignees or reviewers (#6386)
* fix(gitlab): don’t assign if MR already has assignees

Closes #6375

* add more platforms

* fix github

* simplify gitlab

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-16 15:45:50 +02:00
Michael Kriese
e48ffa650a
feat(internal): make datasource loading syncronous (#6748) 2020-07-15 13:12:50 +02:00
Rhys Arkins
bb10d784e7
refactor: platform.initRepo return defaultBranch not baseBranch (#6737) 2020-07-12 21:30:11 +02:00
Rhys Arkins
a8f27e0bf3
feat: dependencyDashboard (#6729) 2020-07-11 11:55:30 +02:00
Rhys Arkins
4665dbff6f
refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins
4f48cd1a4e
refactor: remove platform.getPrFiles (#6702) 2020-07-08 06:49:54 +02:00
Rhys Arkins
1663058426
feat(pr): pr edited body not comment (#6695) 2020-07-07 14:30:45 +02:00
Rhys Arkins
4db12f9ee9
fix: uncheck retry checkbox after rebase (#6691)
Closes #5951, Closes #6690
2020-07-07 08:02:35 +02:00
Rhys Arkins
76eab4d766
fix: remove greenkeeper migration (#6685)
Service discontinued June 3
2020-07-06 13:06:44 +02:00
Sergio Zharinov
c3fc80a285
refactor: Call 'fs-extra' functions via proxies (#6683)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-06 11:17:06 +02:00
Rhys Arkins
538522d005 refactor: codeOwners use readLocalFile
The current branch should be drived off the targetBranch anyway
2020-07-04 20:00:46 +02:00
Sergio Zharinov
74c5a1621d
fix(npm): Fix titles for PRs grouped with @types package (#6609) 2020-07-04 18:34:33 +02:00
Rhys Arkins
52cddfde8b
refactor: remove branch functions from platform (#6676) 2020-07-04 18:15:29 +02:00
Rhys Arkins
ab0ebfeeb4
refactor: remove getFile/getFileList from platform (#6674) 2020-07-04 14:28:49 +02:00
Rhys Arkins
ac59df7c7e
refactor: remove getRepoStatus from platform (#6672) 2020-07-04 13:52:33 +02:00
Rhys Arkins
1e0c759f3d
refactor: remove unnecessary cleanRepo() (#6671) 2020-07-04 12:48:09 +02:00
Sergio Zharinov
46ec89e498
refactor: Replace those 'fs-extra' functions in which we can be sure (#6666) 2020-07-03 21:29:04 +02:00
Rhys Arkins
926a553a76 fix: sanitize commitMessage, prTitle, branchName
In preparation for secrets PR
2020-07-03 16:52:16 +02:00
Rhys Arkins
b60cc2c890 chore: clean up imports 2020-07-03 16:51:49 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Sergio Zharinov
d144013af1
refactor(platform): Make git to be class-less (#6635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-01 12:45:53 +02:00
Rhys Arkins
abfdae3c88
refactor(npm): skip internal packages earlier (#6639) 2020-06-30 12:05:44 +02:00
Rhys Arkins
bd4563d67e fix: check for column content before replacing 2020-06-30 09:33:58 +02:00
Rhys Arkins
6dedd5e277 fix(npm): remove unused managerPackageFileList 2020-06-30 05:28:14 +02:00
Rhys Arkins
d70b8c1f2f
feat: repositoryCache (#6589)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-29 15:51:22 +02:00
Rhys Arkins
7611e6353a refactor: git/storage -> git/index 2020-06-29 09:11:55 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Rhys Arkins
2359ca8e70 test: fix 2020-06-26 16:47:24 +02:00
Rhys Arkins
1783c07ae2 chore: BlockeddByBranchAutomerge typo 2020-06-26 15:22:20 +02:00
Jamie Magee
350a70f389
refactor: remove lodash, add fast-deep-equal (#6496) 2020-06-26 11:31:23 +02:00
Rhys Arkins
55625a893b
refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Sergio Zharinov
b93e072ca9
refactor: Reorder extractions and lookups (#6578)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-06-25 08:50:11 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins
f77b7e8781
refactor: simplify global init (#6452)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-22 17:00:46 +02:00
Rhys Arkins
86b44db76d test: mock docker.defaultRegistryUrls 2020-06-19 11:57:58 +02:00
Rhys Arkins
cf06b69abb test: refactor lookup id use 2020-06-19 10:42:10 +02:00
Rhys Arkins
f5a588eb5a fix: Revert "fix(cache): distinguish between null and undefined (#6509)"
This reverts commit 0345b40a18.
2020-06-17 10:07:22 +02:00
Rhys Arkins
4b2f523a17 fix: correct baseBranches description in onboarding PR
Closes #6527
2020-06-17 09:48:07 +02:00
Rhys Arkins
0345b40a18
fix(cache): distinguish between null and undefined (#6509)
null = this lookup returned nothing last time
undefined = no cached result found
2020-06-17 06:48:33 +02:00
Sergio Zharinov
93eaeeab88
test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00
Trim21
49332090c6
fix: markdown table cell (#6514) 2020-06-15 16:38:02 +02:00
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +02:00
Sergio Zharinov
7a60686c62
test: Use nock for tests (Part 1) (#6510) 2020-06-14 06:50:18 +02:00
Rhys Arkins
a399bbbf52 feat: log host stats per run
Closes #6357
2020-06-13 08:37:56 +02:00
Rhys Arkins
62d6428371
fix: reverse upgrades order before filtering (#6483) 2020-06-10 17:07:44 +02:00
Rhys Arkins
51a4a720d6 fix: ensure comment removal only when necessary
Closes #6469
2020-06-09 13:42:22 +02:00
Rhys Arkins
c3a09c0c1c logs: log correct number of branch files to commit 2020-06-07 20:26:26 +02:00
Michael Kriese
4d7c109a6b
test: use nock for preset tests (#6449) 2020-06-07 13:00:49 +02:00
Rhys Arkins
3a4e153af0
fix(github): send versioned accept header (#6456)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 11:21:45 +02:00
Rhys Arkins
33ca9d9aed fix: check prFiles before every
Closes #6432
2020-06-04 18:02:21 +02:00
Rhys Arkins
b3d8b14ee6 fix(pr): ignore white space and headings when comparing PR bodies 2020-06-03 16:02:12 +02:00
Rhys Arkins
5dafa051ff refactor(npm): extract node compatibility 2020-06-02 22:14:04 +02:00
Rhys Arkins
59ea152087
fix: force commit if requested or conflicted (#6411) 2020-06-02 17:45:24 +02:00
Rhys Arkins
6516cc1d50
feat(lerna): use docker exec (#6407)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-02 14:41:03 +02:00
Rhys Arkins
d56e8575a6 fix(npm): don’t massage engines and scripts 2020-06-02 09:15:39 +02:00
Rhys Arkins
c24c510dfc
fix: npm docker use util/exec/docker (#6383) 2020-06-02 08:57:16 +02:00
Carlin St Pierre
1e92239c49
fix: post-upgrade tasks see the latest changes to any files when running (#6396) 2020-06-01 07:30:24 +02:00
Tanet Trimas
818cbdb73a
feat(github): Add support for Draft PRs (#6390) 2020-06-01 07:30:11 +02:00
Mike Bryant
dd4b97df95
fix(internal): Generate logJSON before commit body is templated (#6346)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-30 12:03:25 +02:00
Florian Greinacher
81a5deeb29
feat: add support for setting assignees/reviewers from code owners (#6244) 2020-05-30 07:15:08 +02:00
Rhys Arkins
efb851ae6a
feat: write git private key (#6321)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 12:46:21 +02:00
Rhys Arkins
0d6a0a0aaa
feat(internal): yarn use util/env/docker (#6286)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 08:43:09 +02:00
Sergio Zharinov
9617248f86
refactor(gitlab): Use new http wrapper for Gitlab platform (#6275) 2020-05-29 07:52:40 +02:00
Rhys Arkins
cbe8749a58 test: fix coverage 2020-05-28 13:17:22 +02:00
Rubén
d9253ac742
feat(changelog): support gitlab-hosted changelogs (#5699)
Co-authored-by: Yura Beznos <yury.beznos@ocado.com>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
Co-Authored-By: Rhys Arkins <rhys@arkins.net>
2020-05-28 12:56:17 +02:00
Rhys Arkins
ce69d851cc feat(changelog): cache getTags requests per run 2020-05-27 11:55:46 +02:00
Rhys Arkins
083a10c364 logs: don’t log full getReleaseList 404 2020-05-27 11:50:48 +02:00
Rhys Arkins
0f7e0dde99 fix: remove PR has been edited comments 2020-05-27 07:13:54 +02:00
Christophe Hurpeau
13842f655a
feat(yarn): update yarn-deduplicate to v2 (#6326) 2020-05-26 11:12:55 +02:00
Rhys Arkins
a5c1692d67
fix(github): apiBaseUrl for changelogs should append api/v3/ (#6325) 2020-05-25 18:46:53 +02:00
Rhys Arkins
8ed1eb08d1
feat(cache): redis global cache (#6315) 2020-05-25 10:23:32 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Rhys Arkins
73694efd82
fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Rhys Arkins
e990c6b24c logs: info log list of autodiscovered repositories 2020-05-22 14:47:49 +02:00
Rhys Arkins
0853fd4a74 refactor: revert yarnv2 logic 2020-05-20 11:17:20 +02:00
Rhys Arkins
dad4e12492 chore: remove unused yarnIntegrity and mutex 2020-05-20 11:17:06 +02:00
Rhys Arkins
ab5fe63e77 fix(pr): better github.com token warning for self hosted
Refs #6283
2020-05-20 09:27:27 +02:00
Rhys Arkins
680edf3d1a
refactor: pnpm lockfile updates use util/exec docker (#6282) 2020-05-19 18:11:08 +02:00
Rhys Arkins
8b2bba2e2a fix(pnpm): use renovate/node for artifacts generation 2020-05-19 13:48:03 +02:00
Rhys Arkins
082cd4ee89 feat: remove third party pr validation
Renovate will no longer attempt to retrieve and validate the config of PRs created by other users or bots.

BREAKING CHANGE: Renovate will no longer create renovate/verify status checks on third party PRs.
2020-05-19 13:09:54 +02:00
Rhys Arkins
96fb5f4cca feat(npm): drop embedded managers
Renovate will no longer embed npm, yarn and pnpm as dependencies. Therefore, if you are not running via the Docker full image, then you need to ensure that any of these managers are installed prior to running Renovate. This is inline with other managers such as Gradle or Poetry that require installation alongside Renovate too.

Closes #4208

BREAKING CHANGE: npm, yarn and pnpm are no longer embedded with the installation
2020-05-19 13:09:54 +02:00
Rhys Arkins
fe2e612a09 fix: branch writer use branch config, not main config 2020-05-18 21:37:47 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Rhys Arkins
d03b7e6146 fix: deduct pr remaining when automerging comment
Closes #6266
2020-05-17 12:07:50 +02:00
Michael Kriese
2515a89dab
fix(logging): sanitize known token (#5917) 2020-05-16 12:35:41 +02:00
Sergio Zharinov
fcced24a6a
refactor(github): Remove old Github platform wrappers (#6203)
* refactor(github): Remove old Github platform wrappers

* Refactor 'util/cache/run' imports

* Fix pod http client

* Fix test

* refactor(pod): Split request functions

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-16 10:53:11 +02:00
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
Jamie Magee
0c538ebf78 feat(emoji): Adds support for configuring emoji types (#4409) 2019-09-25 11:40:16 +02:00
Michael Kriese
30c4e1aee9 fix(worker): fix wrong status check (#4534) 2019-09-24 08:54:34 +02:00
Zach Willard
cb277ce44a feat(config): use onboardingConfig when rebasing onboarding PR (#4510) 2019-09-22 10:13:35 +02:00
Gilbert Gilb's
af3cd372aa feat(workers): add option to randomize assignees and reviewers. (#4517)
Closes #4516
2019-09-22 09:19:26 +02:00
Michael Kriese
331863d211 feat(platform): remove global platform variable (#4455) 2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc fix: Revert "feat(platform): remove global platform variable (#4448)"
This reverts commit b5c9dc8e0b.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b feat(platform): remove global platform variable (#4448) 2019-09-09 04:40:52 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Rhys Arkins
ab12ac9a98 fix: remove artifact error content from PR comments 2019-09-06 22:50:00 +02:00
Michael Kriese
79f72f0b5d chore: move clone to utils (#4434) 2019-09-06 06:48:25 +02:00
Michael Kriese
e1b827a1b5 fix(worker): branchName should be string (#4432) 2019-09-05 09:09:56 +02:00
Herbert Ng
f103297b2f feat: add prPriority to config (#4401) 2019-09-03 15:52:53 +02:00
Michael Kriese
4f0d87e3a3 feat(worker): convert parts to typescript (#4388) 2019-09-03 07:25:32 +02:00
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified (#4385) 2019-08-29 10:30:17 +02:00
Rhys Arkins
1819608ce0
refactor(changelog): fetch release list independently (#4398) 2019-08-29 08:21:17 +02:00
Michael Kriese
88892abb56 fix: typescript types (#4393) 2019-08-28 09:00:08 +02:00
Rhys Arkins
c4e812a2c9 docs: update docs and app references 2019-08-27 13:11:25 +02:00
IKEDA Sho
4b730e5001 fix(changelog): Support Maven style tag format (#4368)
A follow-up to #4246 which was insufficient.
2019-08-26 10:39:05 +02:00
Rhys Arkins
e6b1d67efb
feat: stabilityDays (#4372) 2019-08-26 10:32:59 +02:00
Rhys Arkins
fdf93d0c4f test: fix setUnpublishable return value 2019-08-26 08:57:52 +02:00
Rhys Arkins
3342a6c09b refactor: status check 2019-08-26 07:58:41 +02:00
Rhys Arkins
c79f56c1dd fix(master-issue): add pending section 2019-08-26 07:58:08 +02:00
Rhys Arkins
f511942a4a chore(master-issue): improve section descriptions 2019-08-26 07:57:51 +02:00
Rhys Arkins
3f65eda0a6 feat: add manual job box to master issue when in app mode 2019-08-25 10:05:30 +02:00
Rhys Arkins
77f6afcaf0 fix: expand version.isStable to correct this 2019-08-23 12:04:11 +02:00
Michael Kriese
5b3a17e24e fix(versioning): fix wrong this context (#4352) 2019-08-23 10:12:21 +02:00
Sergio Zharinov
d3918be851 fix: Comment instead of autoclose for modified branch (#4274) 2019-08-15 13:15:09 +02:00
Michael Kriese
f650b851c5 feat(logger): store and print errors on exit (#4257) 2019-08-15 12:43:13 +02:00
praveshtora
cb9437f72d feat: configWarningReuseIssue (#4101) 2019-08-15 07:41:01 +02:00
Rhys Arkins
c86ae327e2
fix: don’t rebase if target branch changed (#4254) 2019-08-14 19:48:31 +02:00
Rhys Arkins
676b15f457 fix: updateType typo
Closes #4290
2019-08-14 19:02:33 +02:00
Rhys Arkins
2bfa1be6b3 fix: reset logger meta when multiple baseBranches 2019-08-14 19:00:50 +02:00
Rakesh Tembhurne
d2bb154bd4 feat: Add rebaseConflictedPrs configuration (#4275)
`rebaseConflictedPrs` is used to enable or disable auto-rebase
in case of merge conflicts with the master branch. It is `true`
by default which means branches will be rebased if there are conflicts
in a PR. By setting it to `false`, Renovate no longer will rebase it
with the master branch if there are merge conflicts.

Refer #4184
2019-08-14 05:59:14 +02:00
Rhys Arkins
ee101648fa
refactor: remove versioning destructuring (#4284) 2019-08-13 22:02:06 +02:00
Rhys Arkins
7ca561d099 logs: log dependencies for branch 2019-08-13 16:30:09 +03:00
Rhys Arkins
b5a1f12f3b logs: trace branch generation 2019-08-09 09:16:17 +03:00
Hugo Xu
ba7b3c6693 feat: add option assignAutomerge (#4255) 2019-08-06 12:21:44 +03:00
IKEDA Sho
350a2a6c6a feat(changelog): Support Maven style tag format (#4246)
* feat(changelog): Support Maven style tag format

* Fix lint error
2019-08-03 07:49:36 +03:00
Michael Kriese
25773fb00c fix(worker): do not automerge on dry-run (#4168) 2019-07-24 17:52:28 +02:00
Rhys Arkins
1d4637b467 fix(release-notes): catch missing githubApiBaseURL 2019-07-23 07:46:07 +02:00
Richard
1207152cd9 feat: add pruneStaleBranches config option (#4107)
Closes #4106
2019-07-17 14:48:08 +02:00
Rhys Arkins
642deb0b83
fix(automerge): don’t exit early if automerging pr comment (#4105)
Closes #4052
2019-07-17 11:02:04 +02:00
Rhys Arkins
0f2e064efd
fix(master-issue): skip updating if exiting early due to autome… (#4104) 2019-07-17 10:22:13 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Michael Kriese
855d5fbae3 fix: fix logging (#4100) 2019-07-16 13:47:29 +02:00
Rhys Arkins
b5723cda87 logs: don’t log lockFileMaintenance missing display 2019-07-15 13:23:23 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Michael Kriese
4c9872026f feat(github): convert to typescript (#3975) 2019-07-13 08:09:01 +02:00
Rhys Arkins
0ef94d3f79 feat: suppressNotifications=prValidation
Adds option to suppress PR validations by adding ‘prValidation’ to the ‘suppressNotifications’ array.

Workaround for #4061
2019-07-13 08:03:11 +02:00
Michael Kriese
430c05528c fix(worker): no config error on dryRun (#4054) 2019-07-12 07:41:34 +02:00
praveshtora
64ee44f0d1 feat: Add prcreation == approval (#4032) 2019-07-11 13:48:41 +02:00
Rhys Arkins
3465ea7e42 fix: Revert "refactor: replace emoji shortcodes with their unicode equivalent (#4000)"
This reverts commit 69566652e4.
2019-07-04 16:08:18 +02:00
jgarec
af394d7f3d fix(master-issue): Respect dry-run setting. (#3974) 2019-07-04 16:00:00 +02:00
Jamie Magee
69566652e4 refactor: replace emoji shortcodes with their unicode equivalent (#4000)
fixes #3799
2019-07-02 07:53:40 +02:00
Rhys Arkins
e3eeb46e8d fix: gracefully ‘No space left on device' 2019-07-02 07:50:52 +02:00
Michael Kriese
714d4b77f9 fix(worker): fix rebase requested check (#3987) 2019-06-30 09:17:16 +02:00
Rhys Arkins
4f627520a1 fix: don’t lowercase emoji semantic commits
Closes #3959
2019-06-24 19:14:16 +03:00
Rhys Arkins
01548e2348 fix: remove PR edited if master issue checked 2019-06-15 08:54:24 +02:00
Rhys Arkins
81eb175001 fix(validation): support validating json5 pull requests
Closes #3931
2019-06-13 13:25:45 +02:00
Rhys Arkins
df0d79f7de fix(gitlab): skip mirrored repositories 2019-06-13 06:05:58 +02:00
Rhys Arkins
ec46ec6a4a fix(gitFs): catch more git errors 2019-06-12 16:14:44 +02:00
Rhys Arkins
5fc475e2b1 fix(gitFs): looser git error check 2019-06-12 11:44:45 +02:00
Rhys Arkins
4a71b5bad6 fix(gitFs): rewrite git 5xx errors to platform-failure 2019-06-12 10:49:21 +02:00
Rhys Arkins
5f59a0b5a8
feat(composer): support lock file maintenance (#3912) 2019-06-11 15:06:29 +02:00
Rhys Arkins
9a4f2b9eb7 fix(lock-file-maintenance): PR body Changes text 2019-06-11 12:29:14 +02:00
Matt R. Wilson
9212a876fc feat(schedule): Support scheduling by weeks of year. (#3914)
Fixes #3879.
2019-06-11 06:17:12 +02:00
Rhys Arkins
c911a2dfaf refactor: getArtifacts -> updateArtifacts 2019-06-09 08:18:41 +02:00
renovate[bot]
dab7b1c314 chore(deps): update dependency prettier to v1.18.0 (#3905) 2019-06-07 06:34:57 +02:00
Rhys Arkins
7c96842d92 fix(npm): don’t name PR after @types when grouped
Closes #3887
2019-06-05 11:16:13 +02:00
Rhys Arkins
d5af20fb64 fix: don’t except pin schedules
Closes #3867
2019-06-04 08:38:23 +02:00
Rhys Arkins
6c5687ba96
feat: commitBodyTable (#3868)
Adds a table to the commit message body listing all the updates in a commit. Disabled by default for now, so opt in by setting commitBodyTable=true
2019-06-02 10:50:35 +02:00
Rhys Arkins
8fd03d7ae8 feat(pr): better default PR body columns
Drops References column and embeds links in Package column.

Closes #3855
2019-06-01 11:20:38 +02:00
Rhys Arkins
4424c52342 fix: remove double colons on semantic prefix 2019-06-01 10:32:17 +02:00
Rhys Arkins
9916c51ad1 fix(npm): escape dep name in diff link 2019-06-01 08:55:52 +02:00
Rhys Arkins
fe41748e7b
feat(pr): simpler displayFrom/displayTo logic (#3853) 2019-06-01 08:23:18 +02:00
Rhys Arkins
b41fc76127 fix(github): detect pull request already exists error 2019-06-01 06:27:12 +02:00
Rhys Arkins
aa38e6af4f
feat: host stats (#3812)
Collects latency stats for hosts and dumps them at the end of each run.
2019-05-26 09:33:09 +02:00
Rhys Arkins
8d7841f040 fix(changelog): use endpoint, not config.endpoint 2019-05-25 07:07:48 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations (#3806)
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.

If you had already configured a gitAuthor in your bot config, you do not need to make any change.

Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself

BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
73a2b42ac2 fix: clear and apply hostRules before each repo 2019-05-21 08:45:30 +02:00
Rhys Arkins
bbbae70806 fix(host-rules): try/catch updating from config 2019-05-20 21:45:20 +02:00
Rhys Arkins
ee218097dc
feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Rhys Arkins
eac3c92b71 fix(vulnerability-alerts): pypi allowedVersions syntax 2019-05-19 07:18:10 +02:00
Rhys Arkins
31bd24869d fix(vulnerability-alerts): maven matchCurrentVersion syntax 2019-05-19 07:12:40 +02:00
Rhys Arkins
6d86bbd353 fix(vulnerability-alerts): use datasources, not managers 2019-05-19 07:08:31 +02:00
Rhys Arkins
546a21d10b fix(vulnerability-alerts): skip hourly limit 2019-05-19 07:01:25 +02:00
Rhys Arkins
e46966e390 refactor: remove unused isGitHub/etc 2019-05-18 18:38:46 +02:00
Rhys Arkins
8f6e124998
fix(semantic-commits): fix lazy git semantic commit detection (#3735) 2019-05-17 10:24:29 +02:00
Michael Kriese
07e464c090 fix(workers): do not prune on dryRun (#3734) 2019-05-17 09:28:10 +02:00
Rhys Arkins
3215d2966a
feat(gitFs): lazy fetching (#3638)
Instead of shallow cloning every branch (using —no-single-branch), we now clone only the default branch and lazy fetch the others as needed.
2019-05-17 08:10:40 +02:00
Rhys Arkins
805ae952e6 fix: rebase if package file not found in existing branch 2019-05-14 14:06:22 +02:00
Rhys Arkins
982a8edcb7 test: fix tslint 2019-05-14 12:00:50 +02:00
Johan Hillerström
88b1f0f0c1 feat(devops): Add azureAutoComplete config option (#3661) 2019-05-13 16:19:31 +02:00
Rhys Arkins
d72e55e789 fix: no bump if the value is unchanged
Closes #3648
2019-05-09 11:40:23 +02:00
Rhys Arkins
daff90163e fix(travis): don’t use setTimeout 2019-05-09 10:43:17 +02:00
Rhys Arkins
01b5ae2638 fix: clear timeouts before existing
Closes #3644
2019-05-08 21:02:09 +02:00
Rhys Arkins
ee4a5f15ab logs: ignorePaths 2019-05-02 23:48:54 +02:00
Rhys Arkins
3faa3ece0f fix: try/catch getNewValue 2019-05-02 11:54:29 +02:00
Rhys Arkins
2714104f47 logs: fix updatedArtifacts logs 2019-05-01 09:33:11 +02:00
mohd hassaan
eb936b4236 fix: autoclose resolved deprecated issues (#3611) 2019-05-01 09:28:30 +02:00
Rhys Arkins
12adcd7c21 fix(gitFs): minimatch dotfiles 2019-04-30 19:19:11 +02:00
Rhys Arkins
294c7a127c
feat: excludeCommitPaths (#3614)
A file that matches any of these glob patterns will not be committed, even if it has been updated.
2019-04-30 08:52:01 +02:00
Rhys Arkins
9ce7548552 fix(master-issue): check for rebase all if only package rules approval 2019-04-28 23:01:23 +02:00
Rhys Arkins
f68414fb2f fix: less debug logging, more trace 2019-04-28 22:08:06 +02:00
Rhys Arkins
9c62b945a9 logs: lower branch logging 2019-04-28 21:42:59 +02:00
mohd hassaan
c53cd4e674 feat: Add "rebase all" functionality in master issue (#3597) 2019-04-28 09:04:50 +02:00
Rhys Arkins
54c02adb8b fix: add link to master issue blog post 2019-04-28 08:48:37 +02:00
Rhys Arkins
1dfcc4ef3d fix: create master issue if any branch needs approval
Closes https://github.com/renovatebot/config-help/issues/224
2019-04-28 08:23:00 +02:00
Rhys Arkins
390f2cf5f9 fix: skip extractAllPackageFiles if empty 2019-04-28 08:16:41 +02:00
Rhys Arkins
788215af99 fix(gitlab): Revert "feat(gitlab): try merging PR on creation (#3308)"
This reverts commit 8bd75923bb.

Reverting until https://gitlab.com/gitlab-org/gitlab-ce/issues/56698 is fixed by GitLab
2019-04-25 10:47:29 +02:00
Rhys Arkins
2b4bf85b63 fix: run minimatch with dotfile matching enabled 2019-04-25 07:00:52 +02:00
mohd hassaan
8e195cef03 feat: Add JSON5 parser (#3555)
Added support for `renovate.json5` filename. Now configuration can be parsed from a `json5` format file.

Closes #3484
2019-04-19 08:39:20 +02:00
Rhys Arkins
f98fe65c00 refactor: enforce requireConfig (#3408)
Previously we maintained an exception to the rule that if `requireConfig` was true then we still support repositories without a config if they have previously merged PRs. Now such repositories will be skipped.

Closes #3338 

BREAKING CHANGE: requireConfig is now enforced, if enabled. If a repository has no config but merged PRs, it will still be skipped.
2019-04-16 16:06:25 +02:00
Rhys Arkins
ab4d527dd9 fix(pr): ignore undefined PR body column 2019-04-12 10:23:05 +02:00
Rhys Arkins
4c97eef994
feat(gitFs): set default git author (#3526) 2019-04-11 12:00:10 +02:00
Jamie Magee
9683265d81 fix(config): init cache early (#3520)
This allows for presets to be used from `config.js`. If no presets are enabled, then the directory isn't created
2019-04-10 15:43:54 +02:00
Matt Lavin
371076eb6f fix(onboarding): Do not create onboarding branches when onboarding is disabled (#3519) 2019-04-10 15:43:10 +02:00
Matt Lavin
e88c8c02cc fix: Respect requireConfig setting when onboarding=false (#3516) 2019-04-10 07:02:26 +02:00
Rhys Arkins
a599eab231
feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins
6015a49494 refactor: branchifyUpgrades key value 2019-04-06 18:00:36 +02:00
Rhys Arkins
8ffd26eb3c refactor: getCommitMessage 2019-04-06 18:00:35 +02:00
Rhys Arkins
c52ac258e8 refactor: generateBranchConfig -> ifTypesGroup 2019-04-06 18:00:35 +02:00
Rhys Arkins
634c6d9433 refactor: pruneStaleBranches -> cleanUpBranches 2019-04-06 18:00:34 +02:00
Rhys Arkins
05ecddf805 refactor: better unique filter 2019-04-04 18:20:40 +03:00
Rishabh Jain
0038142cc2 fix: renovate not creating PRs for some python dependencies (#3453) 2019-04-02 17:26:06 +02:00
Rhys Arkins
1b442538e4 refactor: more logs for PR limits 2019-04-02 15:53:53 +02:00
Rhys Arkins
002db29e58 refactor: move pr config description to separate file 2019-03-26 14:35:55 -04:00
Rishabh Jain
8c17724381 fix: allow rebasing from checkbox out of schedule (#3437) 2019-03-24 06:30:07 +01:00
Rhys Arkins
c26458f8f4 refactor: throw disable-gitfs error
Handle actions/gitfs conflict gracefully
2019-03-21 09:25:14 +01:00
Rhys Arkins
88b048dfef fix: check pr exists during pruning log 2019-03-20 16:00:46 +01:00
Rhys Arkins
4379c4c2ac fix: don’t add autoclosed suffix more than once 2019-03-20 09:28:56 +01:00
Rhys Arkins
9b9604ac16 fix: pass repository-changed up from PR worker 2019-03-20 06:53:05 +01:00
Rhys Arkins
07598efa37
fix: move git author logic to global worker and validate (#3410) 2019-03-19 17:21:19 +01:00
Rhys Arkins
102a3a5e9e fix(maven): sort updates to same file from bottom up 2019-03-17 11:04:14 +01:00
Nick Oliver
4b6de0f485 feat(autodiscover): add autodiscoverFilter option (#3394)
adds a `autodiscoverFilter` option which can be a [minimatch](https://www.npmjs.com/package/minimatch) glob-style pattern for filtering `autodiscover`ed repositories. Ex: `project/*`

Closes #3341
2019-03-17 06:49:38 +01:00
Rhys Arkins
d8614aa785 fix(gitFs): gracefully handle git config failure 2019-03-16 07:55:39 +01:00
Rhys Arkins
e8509cf9bc fix: more flexible space check 2019-03-16 07:33:59 +01:00
Rhys Arkins
db6a838add fix(github): catch/throw branch not found 2019-03-16 07:32:36 +01:00
Rishabh Jain
940d3c4721 feat: add parentDir, baseDir metadata (#3383) 2019-03-15 05:36:56 +01:00
Tobias Bieniek
0b08b69c50 docs: onboarding/branch/create dry run typo (#3374) 2019-03-13 15:04:22 +01:00
Tobias Bieniek
80b7bc1415 docs: onboarding/branch/rebase dry run typo (#3375)
It's "onboarding", not "onboaring" 😉
2019-03-13 15:03:56 +01:00
Rhys Arkins
b7f108f2fe logs: fix lint 2019-03-13 12:51:57 +01:00
Rhys Arkins
76b6259b1c refactor: revert ensureIssue for config 2019-03-13 12:44:54 +01:00
Rhys Arkins
9b8901650c fix(onboarding): close config warning issue 2019-03-12 20:05:06 +01:00
Rhys Arkins
5bb6802bab refactor: rename deepcopy to clone 2019-03-11 23:43:30 +01:00
Rhys Arkins
320c414350 refactor: drop fast-clone 2019-03-11 23:42:22 +01:00
Rhys Arkins
ca66b34aaa fix(github): handle no firstPatchedVersion 2019-03-11 11:45:41 +01:00
Florian Greinacher
8bd75923bb feat(gitlab): try merging PR on creation (#3308) 2019-03-11 10:07:54 +01:00
Rhys Arkins
9ea64f42da refactor(github): hardcode vulnerability branchTopic 2019-03-10 08:46:46 +01:00
Rhys Arkins
9cd81a0b6d feat(github): include vulnerability descriptions 2019-03-10 08:40:28 +01:00
Rhys Arkins
65e5b957e9 fix(github): combine vulnerability alerts 2019-03-10 07:20:44 +01:00
Rhys Arkins
63daf6ef89 refactor: vulnerability manager mapping 2019-03-10 05:20:41 +01:00
Rhys Arkins
eb5ccffdcd fix: update GitHub vulnerability alerts parsing
Closes #3340
2019-03-09 07:16:12 +01:00
Rhys Arkins
936fc76ea1 feat: raise issue for active repos without configs
Closes #3336
2019-03-08 18:16:21 +01:00
Rhys Arkins
89d4807c76 fix: use HEAD not master for subDirectory links 2019-03-08 17:23:43 +01:00
Gautier Pelloux-Prayer
12d4436484 fix: do not create onboarding branch on dry run (#3333)
This fixes the following scenario:

- on boarding branch is created
- on boarding branch is closed (merged or not) - branch is deleted. So renovate is not configured.
- you relaunch renovate with `--dry-run true`. Then it crashes with:
2019-03-08 15:43:33 +01:00
Rhys Arkins
2376ae40e3 fix: tree/master sourceDirectory
Closes #3096
2019-03-08 13:41:06 +01:00
Rhys Arkins
d78e6a0486 fix: copy through sourceDirectory
Closes #3096
2019-03-08 12:16:42 +01:00
Rhys Arkins
6ede22ab03 fix: lockfile-update => update-lockfile 2019-03-08 08:16:26 +01:00
Rhys Arkins
6417aba868 refactor: deepcopy 2019-03-07 10:56:06 +01:00
Rhys Arkins
f5c1ffb8fd fix(masterIssue): link to edited PRs
Closes #3259
2019-03-07 00:20:22 +01:00
Rhys Arkins
fae041b98d fix: dockerRepository typo
Closes https://github.com/renovatebot/config-help/issues/151
2019-03-06 17:13:02 +01:00
Rhys Arkins
de33fa0194 refactor: not-found is not disabled 2019-03-05 08:00:56 +01:00
Rhys Arkins
5746c53e43 refactor(bundler): warn unknown 2019-03-04 04:52:35 +01:00