Commit Graph

27161 Commits

Author SHA1 Message Date
Rhys Arkins 53b6848061 fix: don’t upgrade docker from unstable to new major unstable (#1126)
Before, if current node version was 7 then Renovate would propose upgrades to versions 8 and 9. However, like with npm we should allow upgrades to unstable only if it’s the same major version or if ignoreUnstable is explicitly set to false.
v10.6.1
2017-11-09 10:15:08 +01:00
Rhys Arkins 4cebc7ad64 feat: unstablePattern (#1125)
This adds a configuration option unstablePattern - used only by Docker currently - that can be used to define a regex patternt to identify “unstable” versions.

Closes #1035
v10.6.0
2017-11-08 21:57:34 +01:00
Rhys Arkins 0c882ce135 refactor: add logger master (#1124) v10.5.5 2017-11-08 15:43:09 +01:00
Rhys Arkins 0251fad68b fix: allow multiple whitespace in dockerfile from line (#1123) v10.5.4 2017-11-08 14:47:52 +01:00
Rhys Arkins 0bc2953113 fix: lock file stderr was not being included in pr comments (#1122) v10.5.3 2017-11-08 13:26:55 +01:00
Rhys Arkins f044aca321 refactor: streamline platform file operations (#1121)
Remove original getFile, getFileContent, and getFileJson and replace with getFile (which used to be getFileContent.. shortened now for convenience). Also remove unused getSubdirectories functions.
v10.5.2
2017-11-08 12:23:32 +01:00
Rhys Arkins 55307389a4 refactor: improve docker digest lookup logging (#1119) v10.5.1 2017-11-08 11:21:13 +01:00
Rhys Arkins 00e7821fcb feat: use mostly markdown for pr bodies (#1118)
Existing solution uses HTML bodies for PR descriptions, as that was the easiest way to get consistency between GitHub and GitLab. However, VSTS supports only markdown so we needed to refactor how this is done. Now, GitHub PR bodies uses only minimal HTML (for summary/details) while GitLab PR bodies are converted to HTML using GitHub flavoured markdown for maximum compatibility. VSTS will be able to strip out the minimal markdown.

Closes #1018
v10.5.0
2017-11-08 11:09:26 +01:00
Rhys Arkins 89e13d05fe fix: refactor logger addStream and depType logging (#1117)
* fix: refactor logger addstream

* remove depTyp setMeta
v10.4.8
2017-11-08 09:59:32 +01:00
Rhys Arkins 8c479071fd refactor: use global logger (#1116) v10.4.7 2017-11-08 06:44:03 +01:00
renovate[bot] 3ec34d1391 chore(deps): update dependency prettier to v1.8.1 2017-11-07 12:53:02 +00:00
Rhys Arkins 602752f9fe refactor: use platform global (#1115) v10.4.6 2017-11-07 13:31:34 +01:00
renovate[bot] c1df1b2cb8 chore(deps): update dependency prettier to v1.8.0 (#1113)
* chore(deps): update dependency prettier to v1.8.0

* reformat
2017-11-07 11:52:15 +01:00
Rhys Arkins f8be45055a refactor: remove config.api and use platform dispatcher (#1114) v10.4.5 2017-11-07 11:46:10 +01:00
renovate[bot] 0a53b0705d fix(deps): update dependency yarn to v1.3.2 (#1108) v10.4.4 2017-11-07 11:31:07 +01:00
renovate[bot] 6b15a009c3 fix(deps): update dependency tmp-promise to v1.0.4 v10.4.3 2017-11-06 15:28:57 +00:00
renovate[bot] 7411acea6a fix(deps): update dependency changelog to v1.4.1 v10.4.2 2017-11-06 14:33:06 +00:00
Rhys Arkins 35e83b2211 fix: split registry and namespace correctly (#1112) 2017-11-06 13:19:41 +01:00
Rhys Arkins 1af60f5158 feat: Support 'AS' names in Dockerfile from line (#1110)
This PR adds support for 'AS' names in Dockerfiles. e.g. `FROM node:8 AS base`. It also adds logic to detect and ignore - for now - any image sources from custom registries.
v10.4.0
2017-11-06 11:36:06 +01:00
Rhys Arkins 76a680b98d fix: add check for Dockerfile content before parsing (#1107) v10.3.5 2017-11-05 14:23:20 +01:00
Rhys Arkins bec66f4d40 refactor: add logging to detect/resolve code (#1106) v10.3.4 2017-11-05 13:51:29 +01:00
Rhys Arkins 7d0a4afd2a docs: remove platform-specific references (#1105) 2017-11-05 08:18:49 +01:00
Rhys Arkins edfca74ede refactor: make common platform public API (#1104)
Refactors file system of platforms and adds test to ensure GitHub and GitLab have same module.exports signatures.
v10.3.3
2017-11-05 08:18:20 +01:00
Rhys Arkins 5a852baa61 fix: do not clean uninitiated repository (#1102) v10.3.2 2017-11-05 06:27:46 +01:00
Rhys Arkins f4d0fea6ae fix: use colon not at when describing existing docker image:tag (#1103) v10.3.1 2017-11-05 06:17:16 +01:00
Rhys Arkins 80bed05146 feat: return result from renovateRepository
Repository logic code has been rearranged for better logic and file separation.

Closes #654
v10.3.0
2017-11-05 05:45:49 +01:00
Rhys Arkins 8c27d97d5d feat: rebase stale pin branches (#1099) v10.2.0 2017-11-03 20:15:44 +01:00
Rhys Arkins 7d5d330d8f fix: loosen docker digest replace regex (#1098)
By searching for the *original* value, this caused problems if a tag gets updated multiple times in the same PR.

Closes #1050 hopefully for the last time
v10.1.8
2017-11-03 14:48:14 +01:00
Rhys Arkins 14883f818b refactor: automerge npm pins (#1096) v10.1.7 2017-11-03 12:07:12 +01:00
Rhys Arkins d5462049a6 chore: implement require-await eslint rule (#1095) 2017-11-03 11:56:25 +01:00
Rhys Arkins dcdfc0d004 fix: refactor pin dependencies first using array.some (#1094) v10.1.6 2017-11-03 11:50:57 +01:00
Rhys Arkins 935a70e88c refactor: use plain markdown for onboarding pr body (#1093)
This PR refactors the onboarding PR logic into its own subdirectory and redesigns it to use plain markdown instead of html. Plain markdown in PR bodies is a requirement for adding VSTS Support ( #1049 ).
v10.1.5
2017-11-03 10:01:54 +01:00
Rhys Arkins 9769f5a5db refactor: detectPackageFiles returns packageFiles not config (#1092) 2017-11-03 09:25:18 +01:00
Rhys Arkins 9c1b7d78cd refactor: move monorepos logic to npm manager (#1091)
* refactor: move monorepos logic to npm manager

* fix test
v10.1.4
2017-11-03 09:06:42 +01:00
Rhys Arkins 543d93c520 refactor: move migrate-validate to config/ (#1090) v10.1.3 2017-11-03 08:25:51 +01:00
Rhys Arkins 11d7f26cc1 refactor: perform decrypt as part of merge renovate.json (#1086)
Also clarify docs that encrypted config must be contained in renovate.json (i.e. not package.json).
v10.1.2
2017-11-03 07:51:44 +01:00
Rhys Arkins 3665021270 docs: update configuration.md for docker pr title (#1087) 2017-11-03 07:43:48 +01:00
Rhys Arkins 1e5a5cab79 refactor: move config globals inside functions (#1088)
This was necessary when attempting to use jest mock all
v10.1.1
2017-11-03 07:43:26 +01:00
Rhys Arkins 9dd3fd968c feat: rename mistakenly closed PRs (#1085)
Renovate already detects PRs mistakenly closed during a certain time period when a bug was present. Now, it will rename those so that they are no longer detected and the ignore code does not have to remain indefinitely.
v10.1.0
2017-11-03 06:29:29 +01:00
Rhys Arkins 9c43d74162 fix: escape every @ in pr body with zero width space (#1084) v10.0.6 2017-11-03 05:29:46 +01:00
Rhys Arkins c157e747cf fix: use major version in pr title for docker tag updates (#1081) v10.0.5 2017-11-02 15:13:56 +01:00
Rhys Arkins 143044ed64 fix: set contentBranch to undefined instead of null (#1077)
This allows parameter substitution to work correctly (undefined is replace, null is not).

Closes #1076
v10.0.4
2017-11-02 04:59:31 +01:00
renovate[bot] 90b3d830fd fix(deps): update dependency showdown to v1.8.1 v10.0.3 2017-11-01 21:06:14 +00:00
renovate[bot] 7d2da869fb chore(deps): update dependency eslint-config-prettier to v2.7.0 2017-11-01 20:07:33 +00:00
singapore f18679e7bf fix: Heroku Procfile should use start and not start-raw v10.0.2 2017-11-01 15:28:07 +01:00
Rhys Arkins 90c3b1cdbd fix: add gitlab MR labels at time of creation (#1006)
This refactor means that createPr now takes `labels` as a new parameter so that the GitLab API can include them with the MR creation request, so save one API call. This also fixes #985 as a result.
v10.0.1
2017-11-01 13:55:36 +01:00
Rhys Arkins af8f11dbbf chore: semantic-release use tag next v10.0.0 2017-11-01 13:13:55 +01:00
Rhys Arkins 58784fc958 feat: add renovateFork option
99% of the time we should not Renovate forked repositories. Previously, we skipped onboarding them unless a renovate.json was present. However, that meant that if someone forked a repository where the source was using Renovate, then the fork gets renovated automatically too. After this change, forked repositories need to set renovateFork=true in their renovate.json

Closes #940

BREAKING CHANGE: Forked repositories now need to configure renovateFork=true in renovate.json
2017-11-01 13:13:55 +01:00
Rhys Arkins e90c5e55b5 docs: update ignorePaths doc 2017-11-01 13:13:55 +01:00
Rhys Arkins a08ad7ff28 feat: deprecate nodejs 6 support (#1061)
This commit drops support for nodejs 6 now that nodejs 8 has reached LTS. Renovate will now publish only the `lib/` directory and not `dist/`. Some babel is necessary to leave in-place because Jest otherwise crashes when encountering the spread operator.

BREAKING CHANGE: Node.js 6 is no longer supported
2017-11-01 13:13:55 +01:00