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
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks ( #5986 )
2020-05-18 14:33:44 +02:00
Rhys Arkins
6a8ceab688
refactor: move changelog retrieval to renovateRepository
2020-05-08 12:20:24 +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
258c675a54
logs: don’t log empty depNames in flattened updates
2020-05-06 09:56:52 +02:00
Rhys Arkins
2ff90b2396
fix: packageFiles per baseBranch ( #6136 )
2020-05-05 19:46:35 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
Rhys Arkins
ec8b89b887
logs: lower branchConfig debugs to trace
2020-04-27 21:57:21 +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
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
79608dffaa
fix: allow parentDir/baseDir in branchName ( #5967 )
2020-04-15 10:33:00 +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
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces ( #5730 )
2020-03-17 12:15:22 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types ( #5615 )
2020-03-02 12:06:16 +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
c10d22940b
feat: autoreplace ( #5529 )
2020-02-22 06:06:10 +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
Rhys Arkins
0dab3f4067
refactor: logs meta
2020-01-11 09:16:22 +01:00
Michael Kriese
62b18dee78
fix(ts): convert worker/repository/process to ts ( #5046 )
2020-01-06 08:16:15 +00: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
Michael Kriese
4f0d87e3a3
feat(worker): convert parts to typescript ( #4388 )
2019-09-03 07:25:32 +02:00
Rhys Arkins
676b15f457
fix: updateType typo
...
Closes #4290
2019-08-14 19:02:33 +02:00
Rhys Arkins
b5a1f12f3b
logs: trace branch generation
2019-08-09 09:16:17 +03: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
praveshtora
64ee44f0d1
feat: Add prcreation == approval ( #4032 )
2019-07-11 13:48:41 +02:00
Rhys Arkins
4f627520a1
fix: don’t lowercase emoji semantic commits
...
Closes #3959
2019-06-24 19:14:16 +03:00
Rhys Arkins
9a4f2b9eb7
fix(lock-file-maintenance): PR body Changes text
2019-06-11 12:29:14 +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
Michael Kriese
5f213255d0
test: fix coverage ( #3794 )
2019-05-24 15:01:07 +02:00
Rhys Arkins
9c62b945a9
logs: lower branch logging
2019-04-28 21:42:59 +02:00
Rhys Arkins
6015a49494
refactor: branchifyUpgrades key value
2019-04-06 18:00:36 +02:00
Rhys Arkins
c52ac258e8
refactor: generateBranchConfig -> ifTypesGroup
2019-04-06 18:00:35 +02:00
Rhys Arkins
102a3a5e9e
fix(maven): sort updates to same file from bottom up
2019-03-17 11:04:14 +01:00
Rishabh Jain
940d3c4721
feat: add parentDir, baseDir metadata ( #3383 )
2019-03-15 05:36:56 +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
4356d4c7d5
fix: recreateClosed if grouping multiple digests
...
Closes #2974
2018-12-18 22:22:19 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue ( #2922 )
2018-12-10 04:26:14 +01:00
Rhys Arkins
50ba8473f7
refactor: lower debug logging
2018-10-15 09:21:57 +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
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
4ec79bb018
fix: better detect common toVersion when grouping
...
Closes #2600
2018-10-05 06:39:53 +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
56eb334789
fix(branchName): replace all forward slashes
2018-09-30 07:40:32 +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
81818195b7
refactor: separate lockFileMaintenance per-package file
...
Closes #2464
2018-09-07 09:26:43 +02:00
Rhys Arkins
74b34cda93
chore: move updateTypes def
2018-09-07 08:44:58 +02:00
Rhys Arkins
2e78f515d1
logs: lower debug
2018-09-05 14:45:52 +02:00
Rhys Arkins
ef70c48d4b
fix: sort dependencies by name in PRs
...
Remove randomness
2018-09-04 06:30:47 +02:00
Rhys Arkins
5fb9d77bba
feat: separate groups into major/minor/patch ( #2426 )
...
Previously if grouping, all major/minor updates within that group were combined into one. Instead, we now honour the “separateMajorMinor”, "separateMinorPatch", and "separateMultipleMajor" settings and keep the groups separate if necessary.
For maximum compatibility with existing PRs, we name branches like `renovate/group-name` whenever possible and only name them like `renovate/major-group-name` or `renovate/patch-group-name` if major or patch are found.
Closes #2425
2018-08-27 06:25:17 +02:00
Maximilian Gaß
7a1418ad6f
fix(docker): exclude calico/node from being marked as Node.js ( #2397 )
...
fix(docker): exclude calico/node from being marked as Node.js
2018-08-16 15:46:19 +02:00
Rhys Arkins
103d8fbf68
feat: prettyDepType ( #2376 )
...
Adds field prettyDepType available for templates, currently used for npm only. Allows for PR titles like “Update devDependency left-pad to v1.3.0” instead of default “Update dependency left-pad to v1.3.0”.
To enable in PR titles: add this configuration: `"commitMessageTopic": "{{prettyDepType}} {{depName}}”`
This is not enabled by default as otherwise it could lead to the reopening of previously manually-closed PRs.
Closes #2371 , Closes #1863
2018-08-11 11:24:38 +02:00
Rhys Arkins
6f868c83f2
refactor(lookup): return warnings object
2018-07-22 11:43:47 +02:00
Rhys Arkins
b77fbeaec9
fix: replace vv in commitMessage
2018-07-17 08:24:43 +02:00
Rhys Arkins
e83cb0a9c2
feat: skip schedule for pin dependencies PRs
...
Pin dependencies PRs can hold up other PRs, so should not be restricted by configured schedules.
Relevant to https://github.com/renovatebot/config-help/issues/64
2018-07-13 06:58:39 +02:00
Rhys Arkins
ca23927735
feat: pin PRs should only block necessary PRs
...
Previously if there were any “pin” updates then that would block all non-pin updates until the pin one was merged. However, this doesn’t make sense if the other PR is for an unrelated dependency.
Closes https://github.com/renovatebot/config-help/issues/64
2018-07-13 06:48:52 +02:00
Rhys Arkins
11c4741271
refactor: fix import order
2018-07-09 11:15:06 +02:00
Rhys Arkins
9616fab1af
fix: delete bloat from updateConfig
2018-07-06 07:14:26 +02:00
Rhys Arkins
80c6ca1e72
fix: don’t discard updateTypes rules before they’re applied
2018-07-06 06:43:02 +02:00
Rhys Arkins
2d4aa131a3
fix: empty packageRules after applying to update
2018-07-05 22:23:48 +02:00
Rhys Arkins
5ea6955aac
fix: don’t reuse lock files in branch if any updates are lock file maintenance
2018-07-05 12:06:55 +02:00
Rhys Arkins
fb6271e4f7
refactor: rename update.type -> update.updateType
2018-07-04 10:11:53 +02:00
Rhys Arkins
83bf162949
fix: automerge only if every upgrade in branch is automerge
...
When generating a branch’s config, iterate through all upgrades and set automerge=true for the branch only if all upgrades have automerge=true. Similarly, set canBeUnpublished=true if ANY upgrade can be unPublished.
Closes #1999
2018-07-02 07:43:21 +02:00
Rhys Arkins
01ccb03b94
feat: massage docker Node.js branches
...
Manually finds and massages node updates in Docker, Docker Compose and Circle CI so that they should take on the same “renovate/node-8.x” style branch naming. The goal is to unify all node updates into a single branch.
2018-06-29 06:55:42 +02:00
Rhys Arkins
edb67e6083
refactor: add latest releaseTimestamp to config
2018-06-28 09:54:31 +02:00
Rhys Arkins
74d567897c
fix: apply packageRules after merging upgrade type settings
...
Fixes #2180
2018-06-27 07:14:41 +02:00
Rhys Arkins
4ccbc20bc1
fix: match current version ( #2135 )
...
fix: match current version
2018-06-16 09:28:11 +02:00
Rhys Arkins
d8cb261ecb
refactor: rename version -> value ( #2076 )
...
Renames currentVersion to currentValue, newVersion to newValue, newVersionMajor to newMajor, and newVersionMinor to newMinor.
2018-06-04 05:48:20 +02:00
Rhys Arkins
dd09707c20
refactor: default versionScheme to ‘semver’
2018-06-03 07:43:09 +02:00
Rhys Arkins
d6132ff634
fix: flatten only if updates are present
2018-05-31 20:53:29 +02:00
Rhys Arkins
d45f957cfd
refactor: defer isX upgrade classifications
2018-05-21 17:20:41 +02:00
Rhys Arkins
3989d47f76
fix: re-enable semantic commit detection
2018-05-09 14:38:17 +02:00
Rhys Arkins
43ac21778f
logs: decrease debugging
2018-05-09 13:31:04 +02:00
Rhys Arkins
66804bf211
logs: drop excessive debug
2018-05-09 13:26:16 +02:00
Rhys Arkins
d75a220008
fix: filter out disabled updates
2018-05-09 11:37:35 +02:00
Rhys Arkins
9fe651bca9
logs: drop unnecessary flatten debugs
2018-05-09 10:14:35 +02:00
Rhys Arkins
ecdcd9df4f
feat: refactor dependency extraction ( #1912 )
...
Rewrite of dependency extraction, particularly for npm. Paves way for easier addition of new package managers.
Closes #1882
2018-05-09 08:03:59 +02:00
Rhys Arkins
2517c9f1d9
refactor: renovateRepository split ( #1928 )
2018-05-07 12:59:32 +02:00
Rhys Arkins
ac2bc0decb
refactor: rename upgrades to updates in branchify
2018-05-06 20:12:01 +02:00
Rhys Arkins
1564150d9f
refactor: streamline debug logging
2018-04-18 21:19:00 +02:00
Rhys Arkins
4bec798521
fix: lower case only if the commitType has no uppercase
2018-04-17 14:28:04 +02:00
Rhys Arkins
8fc005b15e
fix: group based on commitMessageExtra
2018-04-17 11:47:22 +02:00
Rhys Arkins
f042c8dbe0
fix: keep version in commitMessage/prTitle when grouping with types
2018-04-17 10:06:02 +02:00
Rhys Arkins
9753f9dcba
feat: modular branchName/prTitle/commitMessage templating ( #1760 )
...
This PR refactors `branchName`, `commitMessage` and `prTitle` so that they are more easily editable and hopefully more understandable. By breaking each up into subsections, users can modify one part without needing to copy/paste the entire string.
Directly editing any of these fields will now be deprecated and a warning issued.
2018-04-17 08:39:26 +02:00
Rhys Arkins
d9bfa0cd28
fix: await platform.ensureIssueClosing
2018-04-02 18:47:04 +02:00
Rhys Arkins
3b2d8d2dd4
fix: consider newFrom when evaluating group logic
2018-03-28 19:54:42 +02:00