Commit graph

1342 commits

Author SHA1 Message Date
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
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00: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
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
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
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
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
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
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
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
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
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
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
mofleury
732fcfd484
fix: upgrade sorting by file replacement position (#7827) 2020-11-26 16:15:31 +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
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Michael Kriese
7c53050fe5
feat(worker): pass platform options to onboarding pr (#7614) 2020-11-04 15:18:20 +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
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
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
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
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
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
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
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
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
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
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
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
c1245b2d4b
feat(internal): lazy git initialization (#7006)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 10:08:39 +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
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
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
Rhys Arkins
7505292116 fix: update git submodules only if version found 2020-08-14 08:18:20 +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
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
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
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
76eab4d766
fix: remove greenkeeper migration (#6685)
Service discontinued June 3
2020-07-06 13:06:44 +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
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
Rhys Arkins
abfdae3c88
refactor(npm): skip internal packages earlier (#6639) 2020-06-30 12:05:44 +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
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +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
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
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
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +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
5dafa051ff refactor(npm): extract node compatibility 2020-06-02 22:14:04 +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
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
73694efd82
fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +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
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
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
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
cc980cfd23
refactor: platform.getFile -> fs.readLocalFile (#6131) 2020-05-11 15:36:09 +02:00
Rhys Arkins
04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +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
Rhys Arkins
258c675a54 logs: don’t log empty depNames in flattened updates 2020-05-06 09:56:52 +02:00
Rhys Arkins
dde7d31975 fix: ensure baseBranchSha is set 2020-05-06 09:05:29 +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
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
Michael Kriese
29b701ab97
fix(internal): respect dry-run (#6071) 2020-04-28 08:30:42 +02:00
Rhys Arkins
ec8b89b887 logs: lower branchConfig debugs to trace 2020-04-27 21:57:21 +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
f61c416f8a fix: don’t deduplicate updates if same current and newvalue 2020-04-23 17:11:10 +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
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
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
Rhys Arkins
866cedd3d3
refactor: fetchDepUpdates no-param-reassign (#5957) 2020-04-13 10:29:48 +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
Rhys Arkins
57b073a76b chore: remove depNameEscaped 2020-04-07 10:08:39 +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
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
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
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
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
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +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
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +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
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
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
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Rhys Arkins
0ea636209c fix(onboarding): remove docker-only rule 2020-02-03 14:25:09 +01:00
Sourav Das
520429f1bd feat(constants): Version Scheme Constants (#5159) 2020-01-21 17:11:25 +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
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
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
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
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
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