Commit graph

1211 commits

Author SHA1 Message Date
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
Michael Kriese
b10d5339be refactor: convert workers/repository/finalise to ts (#5038) 2019-12-21 21:11:59 +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
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
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
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
Rhys Arkins
8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +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
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
Rhys Arkins
f6eb83ce86 fix: return one version for vulnerability alerts 2019-10-06 11:13:49 +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
Zach Willard
cb277ce44a feat(config): use onboardingConfig when rebasing onboarding PR (#4510) 2019-09-22 10:13:35 +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
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
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
praveshtora
cb9437f72d feat: configWarningReuseIssue (#4101) 2019-08-15 07:41:01 +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
Rhys Arkins
ee101648fa
refactor: remove versioning destructuring (#4284) 2019-08-13 22:02:06 +02:00
Rhys Arkins
b5a1f12f3b logs: trace branch generation 2019-08-09 09:16:17 +03: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
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
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
Rhys Arkins
4f627520a1 fix: don’t lowercase emoji semantic commits
Closes #3959
2019-06-24 19:14:16 +03: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
9a4f2b9eb7 fix(lock-file-maintenance): PR body Changes text 2019-06-11 12:29:14 +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
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
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
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +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
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
d72e55e789 fix: no bump if the value is unchanged
Closes #3648
2019-05-09 11:40:23 +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
mohd hassaan
eb936b4236 fix: autoclose resolved deprecated issues (#3611) 2019-05-01 09:28:30 +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
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
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
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
102a3a5e9e fix(maven): sort updates to same file from bottom up 2019-03-17 11:04:14 +01:00
Rhys Arkins
d8614aa785 fix(gitFs): gracefully handle git config failure 2019-03-16 07:55:39 +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
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
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
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
69cdf2d186 fix: deepcopy getPkgReleases results
Closes #3298
2019-03-03 09:41:18 +01:00
Rhys Arkins
80ca5d89cb fix: warn only if sourceUrl and toVersion 2019-03-02 22:57:27 +01:00
Rhys Arkins
bec847c379 feat: notify of possible groupings
Closes #3281
2019-03-02 10:45:10 +01:00
Rhys Arkins
36f2e0acd9 fix(lockFileMaintenance): don’t delete conflicted PRs
Closes #3018
2019-02-16 11:50:59 +01:00
Rhys Arkins
67b29f8a2c fix: copy dockerRegistry and dockerRepository
Closes https://github.com/renovatebot/config-help/issues/151
2019-02-14 06:05:08 -05:00
Rhys Arkins
703fa52d6c fix: bad-credentials 2019-02-13 16:33:58 -05:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource (#3154)
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.

Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
b5965c6285 fix(gitFs): gracefully handle authentication failure 2019-02-02 02:46:32 +01:00
Rhys Arkins
0246f6c201 refactor: getPkgReleases 2019-01-28 06:40:37 +01:00
Rhys Arkins
9d2e70775b refactor: better log allowedVersions problems 2019-01-25 09:10:17 +01:00
Rhys Arkins
396fb977c3 fix(allowed-versions): fallback to npm semver range syntax 2019-01-25 08:21:28 +01:00
Rhys Arkins
78d6d52a2e feat(pr): support displayFrom / displayTo for PR templating 2019-01-24 06:39:23 +01:00
Rhys Arkins
62d92660b2
feat: new 'lockfile-update' rangeStrategy (#3108)
Adds a new `rangeStrategy` value `lockfile-update'. Enabling this means you will get PRs that contain updates for the versions in your lock file (currently npm and yarn only) even if the range in the `package.json` file hasn't changed because the update is "in range".

Closes #1382
2019-01-24 06:23:08 +01:00
Rhys Arkins
e8a487a90f refactor: drop mirrorMode 2019-01-23 00:05:56 +01:00
Rhys Arkins
33b3308df6 refactor: log purl if lookup fails 2019-01-21 16:48:10 +01:00
Jan Sauer
1fb755c89c feat: gradle-wrapper (#3038)
Adds support for updating the gradle version used in a project via the gradle-wrapper.
See https://docs.gradle.org/current/userguide/gradle_wrapper.html
2019-01-09 12:50:53 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings (#3032) 2019-01-06 14:47:42 +01:00
Rhys Arkins
e19294e894
feat: centralise config file list (#3031) 2019-01-06 06:03:26 +01:00
Rhys Arkins
4b38793471 refactor: trustLevel 2019-01-05 09:16:32 +01:00
Rhys Arkins
67e3825f42 refactor: renovateFork -> includeForks 2018-12-31 07:46:00 +02:00
Rhys Arkins
5b43931aab fix(gitFs): use sha for non-master branches 2018-12-23 08:46:09 +02:00
Rhys Arkins
08b7752027 feat(github): ensure issue once 2018-12-19 06:05:43 +01:00
Rhys Arkins
4356d4c7d5 fix: recreateClosed if grouping multiple digests
Closes #2974
2018-12-18 22:22:19 +01:00
Rhys Arkins
6ef61c8608 Revert "feat: ensureIssue once"
This reverts commit 3988fb808a.
2018-12-16 17:18:00 +01:00
Rhys Arkins
6785cd54bd refactor: update deprecation message to allow closing 2018-12-14 12:09:13 +01:00
Rhys Arkins
3988fb808a feat: ensureIssue once
Closes #2936
2018-12-14 11:47:52 +01:00
Rhys Arkins
f3c339b2d6 fix: check packageFiles before length 2018-12-12 11:26:43 +01:00
Rhys Arkins
01ed8362db refactor: managers->enabledManagers 2018-12-11 12:30:23 +01:00
rtaum
3b74108e6c feat: suppressNotifications onboardingClose (#2934) 2018-12-11 07:22:07 +01:00
Rhys Arkins
a69376ab46 feat: printConfig
Adds an option to print the full, resolved config for a repo at INFO level. e.g.

renovate —print-config owner/repo

Closes https://github.com/renovatebot/config-help/issues/128
2018-12-10 08:53:55 +01:00
Rhys Arkins
772bc17603 refactor: repositoryUrl -> sourceUrl 2018-12-10 05:59:28 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue (#2922) 2018-12-10 04:26:14 +01:00
Rhys Arkins
42eb19bb91 fix(deprecation): reset list for each manager 2018-12-09 13:51:50 +01:00
Rhys Arkins
32e2140886 fix(deprecations): do not raise warnings for onboarding repos 2018-12-09 13:12:10 +01:00
Rhys Arkins
c742ac02ee refactor(deprecations): add info on how to disable 2018-12-09 13:11:41 +01:00
rtaum
90af9fc3ab feat: refactor raiseDeprecationWarnings into suppressNotifications (#2921) 2018-12-09 11:39:35 +01:00
Rhys Arkins
0f57f9a69a fix(onboarding): defensive warnings check 2018-12-09 10:42:38 +01:00
Rhys Arkins
6b12fc4ea4 refactor(versioning): use get function 2018-12-08 16:46:13 +01:00
Rhys Arkins
385c0531b8 feat(onboarding): warning about unresolvable dependencies
Closes #2303
2018-12-05 13:19:27 +01:00
Rhys Arkins
8f7a9e65f8 fix: escape master issue validation messages
Prevents auto @‘ing

Closes #2870
2018-12-05 09:04:27 +01:00
Rhys Arkins
fd6398ef69 fix(github): gracefully handle integration unauthorized 2018-12-03 12:03:46 +01:00
Rhys Arkins
8c79536101 feat(config): allow .github/renovate.json 2018-11-22 16:06:02 +01:00
Rhys Arkins
db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Ayoub Kaanich
33781c4d39 feat(docker): better versioning redo 2018-11-05 12:14:04 +01:00
Rhys Arkins
71b8fb0e72 fix: Revert "feat: better docker versioning (#2742)"
This reverts commit ea8bcbc9b2.
2018-11-05 11:35:06 +01:00
Ayoub Kaanich
ea8bcbc9b2 feat: better docker versioning (#2742)
Rewrite docker versioning to support versions of any size.

Closes #2357, Closes #2358
2018-11-05 09:32:34 +01:00
Rhys Arkins
9292833ecf
refactor: extractAllFiles (#2741) 2018-11-05 07:47:44 +01:00
Rhys Arkins
44d119823f refactor: rename extractDependencies -> extractPackageFile 2018-11-04 18:51:23 +01:00
Rhys Arkins
7603fda78e logs: log masterIssue events 2018-11-02 06:53:17 +01:00
Ayoub Kaanich
2622046147 feat: Add master issue link to closed PRs (#2730)
Closes #2665
2018-11-02 06:23:45 +01:00
FidoX
be65176dc4 feat: gradle support (#2610)
Closes #934
2018-10-29 17:32:31 +01:00
Rhys Arkins
4f7d4fbeae logs: deprecationMessage 2018-10-29 05:53:00 +01:00
Rhys Arkins
7fdef1d683 fix: dry run deprecation issues 2018-10-29 05:52:45 +01:00
Rhys Arkins
05fa91e9cd feat: dry run
Adds support to run Renovate like “renovate owner/repo —dry-run”. Instead of creating branches, PRs or comments, an INFO level dry run message will be logged each time instead.

Closes #1399
2018-10-26 09:48:49 +02:00
Rhys Arkins
727dccfecd fix(onboarding): don’t update modified title 2018-10-25 13:45:08 +02:00
Rhys Arkins
f82f26197c fix: skip null current values 2018-10-19 07:09:31 +02:00
Rhys Arkins
e9053fbe4a fix: abort rollback if null toVersion 2018-10-19 06:57:21 +02:00
Rhys Arkins
81d64bb884 feat: repo mem cache for packagist 2018-10-18 11:06:57 +02:00
Rhys Arkins
e23ab0ea07 refactor: don’t warn for prune failure repository-changed 2018-10-18 06:10:19 +02:00
Rhys Arkins
6a48c03b3d
fix: massage empty renovate config to {} (#2663) 2018-10-17 12:19:34 +02:00
Rhys Arkins
a64507ac52 fix: properly await all repository cleanups 2018-10-17 12:19:02 +02:00
Rhys Arkins
5533d371c5 refactor: delete gitPrivateKey after setting 2018-10-17 06:48:07 +02:00
Rhys Arkins
4eaf3f8266 fix: better catch pr validation errors 2018-10-16 21:02:16 +02:00
Rhys Arkins
aabb486129 fix(hostRules): allow to be set in config 2018-10-15 13:35:55 +02:00
Rhys Arkins
50ba8473f7 refactor: lower debug logging 2018-10-15 09:21:57 +02:00
Rhys Arkins
00346aba2e fix(master issue): check branch.res first 2018-10-08 12:53:49 +02:00
Rhys Arkins
084fc4536c fix(docker): fix commit message/pr title for digest groups
Fixes #2613
2018-10-08 11:50:17 +02:00
Rhys Arkins
2cabefef83 fix(github): gracefully handle fork error 2018-10-08 10:42:17 +02:00
Rhys Arkins
c0e8e51b5e fix(lookup): improve digest comparison 2018-10-05 15:49:24 +02:00
Rhys Arkins
3092c17ee2 fix(lookup): don’t return early if digests supported 2018-10-05 15:27:49 +02:00
Rhys Arkins
bdf1227bc0 fix: better group commit extra detection 2018-10-05 14:04:21 +02:00
Rhys Arkins
ad605423b3 refactor: newValue => toVersions 2018-10-05 13:48:32 +02:00
Rhys Arkins
2dad7bbcd1 logs: debug versions lookup failure 2018-10-05 12:58:18 +02:00
Rhys Arkins
69cf9d309f feat(schedule): default to “at any time”
Closes #2601
2018-10-05 10:50:21 +02:00
Rhys Arkins
4ec79bb018 fix: better detect common toVersion when grouping
Closes #2600
2018-10-05 06:39:53 +02:00
Rhys Arkins
68f33875be fix: edited PRs should not be “Open” in master list 2018-10-04 13:54:28 +02:00
Rhys Arkins
ec434aebc7 fix: unique packages in master issue 2018-10-04 10:38:16 +02:00
Rhys Arkins
95d01e7ab1 feat: master issue
Adds undocumented/experimental “master issue” feature.

Setting `config.masterIssue = true` will result in Renovate opening and maintaining an issue that contains a list of all PRs both pending and open, and allowing some control over them (e.g. bypass schedule, force retry, etc).

Setting `config.masterIssueApproval` in addition will mean that branches are not created automatically and instead await approval in that master issue.

Closes #2595
2018-10-04 10:08:20 +02:00
Rhys Arkins
1f128bbcc2 refactor: processBranch function interface 2018-10-03 15:57:01 +02:00
Rhys Arkins
b33a4014e7 chore: log managers 2018-10-02 14:53:22 +02:00
Rhys Arkins
8597f16ba9 fix(golang): skip digest updates if real versions exists 2018-10-02 14:20:24 +02:00
Rhys Arkins
99df4f0f31 feat(golang): digest updates
Adds support to update dependencies that have pseudo-versions like v0.0.0-20140422174119-9fd32a8b3d3d.
2018-10-02 10:34:37 +02:00
Rhys Arkins
56eb334789 fix(branchName): replace all forward slashes 2018-09-30 07:40:32 +02:00
Rhys Arkins
94123c0b04 fix(onboarding): add line break 2018-09-30 07:39:09 +02:00
renovate[bot]
9bf339a24b build(deps): update dependency @sindresorhus/is to v0.12.0 (#2570) 2018-09-28 15:20:46 +02:00
Rhys Arkins
29115ba38c fix: bump patch only if explicitly separating
Bump updates should only be separated into “patch” if users explicitly separate patch and minor.

Closes https://github.com/renovatebot/presets/issues/85
2018-09-27 14:57:28 +02:00
Rhys Arkins
0e2947aa3f fix(followTag): jump unstable
Fixes #2561
2018-09-26 15:52:06 +02:00
Rhys Arkins
e4db4a4a35 fix(github): handle ‘empty’ repository properly 2018-09-25 08:50:47 +02:00
Rhys Arkins
2aa9c3c83d fix: try/catch branch prune 2018-09-24 21:22:34 +02:00
Rhys Arkins
ffc04a0203 fix(github): catch 409 empty 2018-09-24 20:02:57 +02:00
Rhys Arkins
08cf55e81f logs: branch/branchName 2018-09-24 11:47:49 +02:00
Rhys Arkins
9d46ca6dbd refactor: lower log levels 2018-09-23 07:26:06 +02:00
Rhys Arkins
fc9037a270 logs: correct depName/dependency 2018-09-20 12:13:18 +02:00
Klaus Meinhardt
e9e71f4c1d feat: followTag (#2538)
If `followTag` is defined for a package, then Renovate will ignore all other available versions and instead stick strictly to whatever version is defined for the tag. npm-only for now.

Closes #2258
2018-09-19 09:59:33 +02:00
Rhys Arkins
4b3c2d23ac
feat: combine tmp storage (#2533)
Renovate will now put all its data in `path.join(os.tmpdir(), '/renovate’);` and will instruct npm and yarn to do the same. To force Renovate to use a specific folder, set `process.env.TMPDIR` when running. The previous variable `RENOVATE_TMPDIR` is now deprecated and will be rewritten to TMPDIR.

Closes #1794
2018-09-18 05:26:09 +02:00
Rhys Arkins
7599fc8380 fix: ensure directories exist 2018-09-17 15:08:45 +02:00
Rhys Arkins
1d39525749 fix: better digest skip detection 2018-09-17 14:35:44 +02:00
Rhys Arkins
968d166ae5 logs: log localDir 2018-09-17 14:28:58 +02:00