Rhys Arkins
e86725430e
Set remove_source_branch in gitlab MRs ( #131 )
...
Closes #126
2017-03-13 10:21:28 +01:00
singapore
a98bd9f476
Update config definition descriptions ( #129 )
...
* Update definitions.js
* Update docs
2017-03-13 10:07:57 +01:00
Rhys Arkins
54eaacebe3
Enhance logic for PR rebase check (GitHub) ( #130 )
...
* Enhance logic for PR rebase check (GitHub)
Closes #119
* don’t set false
* update snapshots
* Update tests
2017-03-13 10:05:19 +01:00
Rhys Arkins
88c600b85e
Fix yarn.lock detection ( #128 )
...
* Fix yarn.lock detection
Closes #110 , Closes #124
* Fix for tests :)
2017-03-13 06:33:28 +01:00
Rhys Arkins
ef30a73c3a
Refactor for more worker tests ( #104 )
2017-02-14 22:04:57 +01:00
Rhys Arkins
ed132014e5
Refactor worker code for testing ( #102 )
...
Major refactor of worker code in order to add tests. Closes #99
2017-02-14 08:08:40 +01:00
Rhys Arkins
5d42dbfd4f
Clean default config for initial PR
2017-02-13 18:25:28 +01:00
Rhys Arkins
eb9f508fef
Update gitlab API to match github change
2017-02-11 20:19:43 +01:00
Jon Bretman
56f6696abb
Add more tests ( #98 )
2017-02-11 20:18:54 +01:00
Rhys Arkins
53cc59a6bb
Fix false positive yarn.lock detection
2017-02-11 17:57:10 +01:00
Rhys Arkins
191ed70898
Add Gitlab support ( #83 )
...
Closes #65
2017-02-11 08:14:19 +01:00
Rhys Arkins
d2ba6f3a08
Drop commitFileToBranch
2017-02-09 06:14:19 +01:00
Rhys Arkins
7ec2502a42
Add yarn.lock support ( #93 )
...
* Updates existing yarn.lock whenever we update package.json
* Closes #66
2017-02-09 05:59:50 +01:00
Jon Bretman
3818e535ad
Move tests to Jest ( #94 )
...
* No need to run tests against compiled code
* Better support for reseting modules
* Will make writing tests for the github/npm apis easier
2017-02-09 05:30:00 +01:00
Rhys Arkins
4db3ce20e1
Add commitFilesToBranch to API
2017-02-08 08:43:45 +01:00
Rhys Arkins
8b0fb9939c
Fix createPr return properly
2017-02-08 08:34:19 +01:00
Rhys Arkins
88a81cc6b8
Revert "Fix createPr return value"
...
This reverts commit 46c55c64df
.
2017-02-08 08:33:54 +01:00
Rhys Arkins
46c55c64df
Fix createPr return value
2017-02-08 08:23:32 +01:00
Jon Bretman
541edb1807
Fix some small bugs ( #92 )
...
* Remove leading `/` from file paths returned from GitHub API search
* Return PR object from `createPr` function in api/github
* Set the logging level as soon as it's known
* Make sure endpoint is set at the repository level
2017-02-07 21:45:35 +01:00
Sébastien ELET
7829dfea96
Add option to rebase stalled PRs ( #89 )
...
Closes #54
* feat(rebaseStalePr): add option to rebase stalled PRs
* refactor(pr): rename isStalled to isStale
* docs(*): rebuild the docs
2017-02-06 07:56:33 +01:00
Rhys Arkins
76de590415
Support custom endpoints
2017-02-05 09:13:56 +01:00
Rhys Arkins
fc572b03dd
Use pr.displayNumber instead of pr.number
2017-02-02 18:34:48 +01:00
Rhys Arkins
edf8e496ea
Improve pr formatting
2017-02-02 16:08:35 +01:00
Rhys Arkins
12f4a4b034
Fix debug exception
2017-02-02 16:08:12 +01:00
Rhys Arkins
7ea382c065
Improve/fix changelog formatting
2017-02-02 16:07:55 +01:00
Rhys Arkins
c769ae2e82
Improve ensure PR error reporting
2017-02-02 16:07:39 +01:00
Rhys Arkins
c3999419b5
Fix configureRepository prNo return
2017-02-02 16:07:00 +01:00
Rhys Arkins
83f6f69fc6
Drop writeFile
2017-02-01 17:48:20 +01:00
Rhys Arkins
03a6e0a56d
Refactor github API ( #85 )
...
More refactoring of GitHub API in preparation for GitLab
2017-02-01 17:43:28 +01:00
Rhys Arkins
ee27fd5e1f
Refactor GitHub api ( #82 )
...
This refactors the GitHub API and related functions in preparation for GitLab support
2017-02-01 13:50:28 +01:00
Rhys Arkins
c3e96f1d2a
Optimise setNewValue if nothing has changed
2017-02-01 13:20:21 +01:00
Rhys Arkins
87a025c2d1
Refactor for multiple platforms ( #81 )
...
* Add gl-got
* Add platform config definition
* Refactor for multiple platforms
Preparing for #65
2017-01-31 18:16:33 +01:00
Sébastien ELET
7c6a891b73
Add option for Requested Reviewers ( #79 )
...
This feature allows for the addition of requested reviewers for Pull Requests.
2017-01-31 14:54:16 +01:00
Rhys Arkins
528112bc47
Use async await ( #78 )
...
All promise syntax has been replaced with async/await.
`renovate` is now transpiled with `babel` to a `dist/` folder, which is the target of `main` and `start` in `package.json` now.
`renovate` can be run in `node.js` v7 without transpilation using `npm run start-raw`
Closes #77
2017-01-31 12:19:06 +01:00
Rhys Arkins
3096550672
Add onboarding ( #76 )
...
* Check for closed PR
* Refactor
* Make onboarding configurable
2017-01-30 07:34:35 +01:00
Rhys Arkins
a80f6489d2
Support custom registries
...
Closes #69
2017-01-29 22:26:43 +01:00
Rhys Arkins
dfd86e3740
Remove recreateUnmergeable option and update docs
2017-01-29 21:53:12 +01:00
Rhys Arkins
e9dc4a8c60
Rebase PRs instead of recreate
...
Closes #75
2017-01-29 21:47:16 +01:00
Rhys Arkins
a08902fefc
Refactor branch creation & update ( #74 )
...
This commit refactors the way we create commits and branches to use the low-level GitHub "git data" API endpoints. in particular, it commits the file first and creates the branch second, rather than vice versa. This prevents unnecessary builds in CI due to the (empty) branch creation we had in previous versions. Closes #82 .
2017-01-29 21:25:12 +01:00
Rhys Arkins
09c8e57c21
Remove getRateLimit log
2017-01-29 05:14:46 +01:00
Rhys Arkins
732958c843
Refactor worker
2017-01-22 14:40:14 +01:00
Rhys Arkins
6b21df5ce3
Debug rate limit after execution
2017-01-22 12:50:15 +01:00
Rhys Arkins
00d6249711
Refactor config
...
Now generates CLI, env and docs
Makes config more testable
2017-01-20 14:03:18 +01:00
Rhys Arkins
b068ad6597
Move all templates into config root
2017-01-20 13:55:27 +01:00
Rhys Arkins
1c25eb7b4e
Support enabled boolean configuration
...
Closes #60
2017-01-19 10:27:31 +01:00
Rhys Arkins
bb5c144af3
Reorder defaults
2017-01-19 10:15:57 +01:00
Rhys Arkins
14fc4ebefa
Add assignees to logic
2017-01-18 21:17:07 +01:00
Rhys Arkins
6f19935a34
Add assignees to config
2017-01-18 21:16:53 +01:00
Rhys Arkins
aa4164b89e
Add renovate.json support
...
Closes #42
2017-01-18 19:55:03 +01:00
Rhys Arkins
9fc83cd171
Redact token in logs
...
commit e6ca456e63f9f42089275ceb14e42442d8cbe8eb
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Wed Jan 18 14:11:53 2017 +0100
Redact string
commit 154367927f60a895708ef0f83192342bbf7a4093
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Wed Jan 18 14:02:12 2017 +0100
Redact config
2017-01-18 14:14:07 +01:00
Rhys Arkins
26caf655a3
Fix changelog in pr body
2017-01-18 13:26:26 +01:00
Rhys Arkins
0356dd0eca
Refactor templates to use handlebars ( #57 )
2017-01-18 01:48:17 +01:00
Rhys Arkins
485e0eb7ce
Fix umergeable check
2017-01-17 16:07:17 +01:00
Rhys Arkins
1586627b64
Configurable ignore behaviour ( #56 )
2017-01-17 14:27:48 +01:00
Rhys Arkins
2e8721ebee
Don’t upgrade to future versions unnecessarily
...
Closes #55
commit 4914c5bbf401711b61d9a54330532175a51a167c
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 12:45:45 2017 +0100
Update debug
commit 55c8307381397399afda01038b6c50416cba27a3
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 12:44:08 2017 +0100
Ignore versions newer than “latest”
commit 8aa3e7daa937c0d86f89e1d704853ebee46a54a8
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 11:17:31 2017 +0100
Ignore futures if current is not future
2017-01-17 12:46:32 +01:00
Rhys Arkins
a53f906917
Refactor version filtering
2017-01-17 10:26:36 +01:00
Rhys Arkins
9a56bb96fb
Support package.json autodiscovery (default)
...
Closes #53
commit e80dbfd9caa56edc3c9980622e6ebffecbc6e104
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 09:11:03 2017 +0100
Update docs
commit 78830806efe35150e9ec4cb5416d43092ccf0fc7
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 08:52:23 2017 +0100
Refactor
commit c44979212f7c51d395a4b4dbffe831af5467b4fc
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 07:25:28 2017 +0100
Set default packageFiles to []
commit c830f0b37928460ed857260e6c4b4c3c23443f1e
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Tue Jan 17 07:14:33 2017 +0100
Add github.fileFile
2017-01-17 09:12:02 +01:00
Rhys Arkins
57a41cac04
Recreate unmergeable PRs
...
Closes #32
commit b9706b2e0de85d3c2953ddda16cfc15ec92279e3
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 18:09:36 2017 +0100
Fix lint
commit 04bb13b233609cba425b171ba529810b0ba614a1
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 18:08:33 2017 +0100
Defer changelog and prBody
commit 2f1501aeedf1a3a2fb61db7df8ee1c0424efebb2
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 18:08:15 2017 +0100
recreateClosed
commit 09cecdfcdd8a991c0d25bc7e27aef273c28595e0
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 13:24:58 2017 +0100
docs
commit f219c1165086409a806dff8370050ae7909d8176
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 12:40:46 2017 +0100
Recreate unmergeable PRs
commit c40b6bda284ddefccaddf1487a550d7c3d487a1a
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 12:19:15 2017 +0100
Delete unmergeable PRs
commit 58283ea70b2b844f02fd025fb11541405b6e3280
Author: Rhys Arkins <rhys@keylocation.sg>
Date: Mon Jan 16 12:19:03 2017 +0100
Add github deleteBranch, getBranchPr
2017-01-16 18:10:39 +01:00
Rhys Arkins
8f2e2d5715
Update changelog source ( #50 )
...
* Use dylang changelog
* Use v1.2.0
2017-01-16 09:50:45 +01:00
Rhys Arkins
8d6bad0909
Refactor helpers
...
Also deprecates RENOVATE_TOKEN for GITHUB_TOKEN
2017-01-15 23:56:09 +01:00
Rhys Arkins
18bd697dae
Add short versions to CLI
2017-01-15 17:24:13 +01:00
Rhys Arkins
ab585178bd
Refactor env parsing
2017-01-15 16:29:34 +01:00
Rhys Arkins
5fc82077b7
Refactor config parsing to pass tests
2017-01-15 16:12:56 +01:00
Rhys Arkins
0f13d75073
Rename renovate file to worker
2017-01-15 15:09:20 +01:00
Rhys Arkins
f7cf78431b
Add renovate.js to root
2017-01-15 15:05:25 +01:00
Rhys Arkins
7163700c7c
Rename app to lib
2017-01-15 13:13:08 +01:00