Commit graph

5327 commits

Author SHA1 Message Date
Rhys Arkins
e0844661e6 Make install-yarn.sh executable 2017-06-25 07:16:28 +02:00
Rhys Arkins
887efe2ac8 Unit test gitlab api (#343)
Closes #228
2017-06-25 07:11:24 +02:00
renovate[bot]
896f9464ec Update dependency eslint to version 4.1.0 2017-06-24 02:31:40 +00:00
renovate[bot]
4237862b84 Update dependency commander to version 2.10.0 2017-06-23 12:31:39 +00:00
renovate[bot]
8a39daa9df Update dependency eslint-plugin-import to version 2.6.0 2017-06-23 11:32:08 +00:00
Rhys Arkins
53a316d1c3 Improve test coverage (#338)
* Fix github api coverage

* Fix npm api coverage

* Fix renovate init function coverage

* Start gitlab tests

* gitlab initRepo tests

* findFilePaths

* Add branchExists tests

* Fix branch worker coverage

* pr worker

* Refactor repository functions

* Refactor gitlab getRepos
2017-06-22 21:35:32 +02:00
Rhys Arkins
68e7a48800 v8.38.1 2017-06-22 15:15:56 +02:00
Rhys Arkins
a3a3f88091 Fix gitlab markdown/html (#337)
* Add showdown

* Use showdown to convert pr body to html

Closes #334

* Update test
2017-06-22 15:14:42 +02:00
renovate[bot]
acceee4e11 Update dependency eslint-plugin-import to version 2.5.0 2017-06-22 12:31:26 +00:00
Rhys Arkins
feda312574 v8.38.0 2017-06-22 11:58:31 +02:00
Rhys Arkins
24955fab77 Support GitLab merge conflict rebasing (#335)
Closes #132 

* Add gitlab deleteBranch

* Add GitLab rebasing logic to branch worker

* Add GitLab getBranch

* Record user email during initRepo

* Add canRebase logic

* lint fix

* Add test
2017-06-22 11:56:23 +02:00
Rhys Arkins
10622a1811 Refactor to enable log context (#331)
Closes #317 

* Install traverse

* Scrub api and logger in stringify config

* Use stringifyConfig

* Ignore logs

* Add meta to CLI logs

* Refactor repo structure

* rename repoWorker

* renamed worker

* Refactor logger location

* Refactor main worker

* Refactor getRepoConfig

* Refactor err

* Refactor repo logger

* Add config serializer and logger

* Refactor redact

* Remove stringifyConfig

* Refactor onboarding

* Set packageFile logger

* Refactor package file logic

* branch and pr logging

* Improve log context

* Fix tests part 1

* more test fixes

* Fix github init

* All tests passing

* Rename cli helper

* Refactor logger

* Add logger tests

* Add config serializer tests

* Add configParser tests

* Fix package file tests

* Expand package-file tests

* Use defaultConfig

* Add package-file tests

* Refactor

* Finish package-file tests
2017-06-22 09:03:36 +02:00
Rhys Arkins
f6d15b62d6 v8.37.1 2017-06-22 09:02:49 +02:00
Troy Coutu
e3d2ba1d3e Use iid when setting up harmonized github PR object in getPr (#332) 2017-06-22 09:00:26 +02:00
Rhys Arkins
4ccc5614da v8.37.0 2017-06-20 21:35:56 +02:00
Rhys Arkins
06cd61e704 Add log to file capability (#330) 2017-06-20 21:34:25 +02:00
Rhys Arkins
19f13b10ee Fix repository redaction (#329) 2017-06-20 21:34:08 +02:00
Rhys Arkins
86bdc51e08 v8.36.1 2017-06-20 20:07:12 +02:00
Rhys Arkins
c96b21a9a2 Refactor bunyan CLI stream (#328)
* Install chalk

* Use chalk for colours

* Strip back code

* Refactor

* remove end
2017-06-20 20:05:59 +02:00
Rhys Arkins
7b39f1e115 v8.36.0 2017-06-20 17:58:22 +02:00
Rhys Arkins
34421a3837 Replace winston logging with bunyan (#326)
Closes #325 

* Install bunyan

* Set log level for jest

* Replace winston requires with relative logger require

* Add cliHelper

* Strip unused

* Trim unused and update colors

* Update log messages

* Enable dynamic log level

* Update cli.js
2017-06-20 17:57:04 +02:00
Rhys Arkins
be5e4db38f v8.35.2 2017-06-20 08:03:24 +02:00
Rhys Arkins
b9542217f8 Remove log-level verbose (#324)
Closes #318
2017-06-20 08:02:17 +02:00
renovate[bot]
8ab77cce62 Update dependency eslint-config-prettier to version 2.2.0 2017-06-17 19:31:08 +00:00
Rhys Arkins
4c7c9182f4 v8.35.1 2017-06-16 15:26:01 +02:00
Rhys Arkins
d477aa80e9 Fix branch push failure PR (#316)
* Fix GitLab branch status failed - failure

* Fix PR creation when branch automerge fails

Fixes #310
2017-06-16 15:24:59 +02:00
Rhys Arkins
ad7355db29 v8.35.0 2017-06-16 12:16:33 +02:00
Rhys Arkins
d35347da44 Use .npmrc from repository for registry lookups (#309)
* Add ini

* Use repo npmrc

* Fix json

* Fix npmrc nesting

Closes #291
2017-06-16 12:14:38 +02:00
Rhys Arkins
658b57de51 v8.34.6 2017-06-16 11:58:38 +02:00
Rhys Arkins
c596673da1 Fix check for yarn.lock maintenance existing (#314)
* Fix check for yarn.lock maintenance existing

Closes #313

* Fix test

* Fix lint
2017-06-16 11:57:04 +02:00
Rhys Arkins
b58a66edeb v8.34.5 2017-06-16 10:19:41 +02:00
Rhys Arkins
4cf5ed6174 Trim currentVersion in package.json (#312) 2017-06-16 10:18:28 +02:00
Rhys Arkins
6b1e94b3f4 v8.34.4 2017-06-16 09:49:28 +02:00
Rhys Arkins
439367e223 Don’t show commit details when none present (#311)
Fixes #308
2017-06-16 09:46:57 +02:00
Rhys Arkins
345cf3e159 v8.34.3 2017-06-15 21:43:27 +02:00
Rhys Arkins
8f53ae4855 Fix check for string packageFiles config (#307) 2017-06-15 21:42:31 +02:00
Rhys Arkins
cef9595cec v8.34.2 2017-06-15 20:58:20 +02:00
Rhys Arkins
7e43fce47b Add check for logJSON (#306)
Fixes #305
2017-06-15 20:57:18 +02:00
renovate[bot]
5befcc58f4 Update dependency eslint-plugin-prettier to version 2.1.2 2017-06-14 11:33:09 +00:00
Rhys Arkins
3aede2c898 v8.34.1 2017-06-13 16:53:58 +02:00
Rhys Arkins
299016918a Change autogenerate PR message (#301) 2017-06-13 16:52:33 +02:00
Rhys Arkins
f36305da19 Suppress duplicates in PR changelogs (#302)
Closes #300
2017-06-13 16:49:27 +02:00
Rhys Arkins
fbce505adc Lower upgrades print to debug 2017-06-13 13:09:14 +02:00
Rhys Arkins
8ae626cd7c v8.34.0 2017-06-13 12:23:16 +02:00
Rhys Arkins
03063f30b6 Hyperlink issue numbers in commit messages (#299)
* Add regex for hyperlinking issue numbers in commit messages

Closes #185

* Extend test
2017-06-13 12:22:21 +02:00
Rhys Arkins
64a35915a2 v8.33.0 2017-06-13 11:09:48 +02:00
Rhys Arkins
91856cec7a Refactor changelog logic to directly use JSON (#296)
Closes #264 

* Basic refactor

* Refactor into module

* Further refactor

* Use json for group pr body

* Add commit links

* improve body

* Refactor names

* Add signature

* Refactor config

* Simplify non-group pr body template

* Fix Pull/Merge terminology

* Fix test

* Fix pr test

* Fix prettier
2017-06-13 11:08:37 +02:00
Rhys Arkins
531ac31825 v8.32.3 2017-06-12 21:07:39 +02:00
Troy Coutu
ed8a20b5b5 Add gitlab api v4 support to getPr (#295) 2017-06-12 21:05:09 +02:00
renovate[bot]
eaaaa23247 Update dependency changelog to version 1.3.0 2017-06-12 15:31:34 +00:00