Rhys Arkins
775a93172f
Add yarn cache support ( #239 )
...
* Add yarn cache support
Closes #237
* Fix prettier
2017-06-03 15:25:13 +02:00
Rhys Arkins
1bd22611fd
Fix GitHub app merge ( #234 )
...
* Add installation debug
* Update initRepo merge detection
* mergePr tests
* guess squash
* Update tests
2017-06-03 09:40:13 +02:00
renovate[bot]
cfb692c0d0
Update dependency prettier to version 1.4.0 ( #231 )
...
* Update dependency prettier to version 1.4.0
* Update dependency prettier to version 1.4.0
* Run prettier autofixes
2017-06-02 22:40:00 +02:00
Rhys Arkins
07ad13337b
Add GitHub App support ( #230 )
...
* Add jsonwebtoken
* Add githubApp option
* Add id and key configs
* Add integer parsing to cli and env
* Remove boolean app enablement
* Drop got
* Add API functions for GitHub Apps
* debug not verbose in api
* Add GitHub App Helper
* Update redact function
* Add GitHub app logic
* Update logging
* Fix lint
* getInstallations tests
* getInstallationToken tests
* getInstallationRepositories tests
* Refactor ghGot structure
* Add github app tests
* Add config tests
* update lockfile
2017-06-02 22:06:15 +02:00
Troy Coutu
ba7f6b6e5c
Add support for v4 of Gitlab API ( #221 )
...
Closes #220
* add gitlab api v4 support
* switch to projects/owned route
2017-06-02 08:50:07 +02:00
Rhys Arkins
a663ecddef
Add npm5 package-lock.json support ( #224 )
...
* Add npm5 package-lock.json support
Closes #222
* Fix comment typo
* Add package-lock.json failure test cases
2017-06-02 08:29:36 +02:00
Rhys Arkins
d453f6cce7
Add try/catch around yarn.lock generation ( #225 )
...
* Add try/catch around yarn.lock calls
* Improve test structure
2017-06-02 08:06:44 +02:00
Renovate Bot
5ebff14931
Update dependency prettier to version 1.3.1 ( #199 )
...
* Update dependency prettier to version 1.3.1
* Run eslint-fix
2017-05-10 09:26:08 +02:00
Rhys Arkins
f2dd18fd5d
Fix yarnMaintenanceCommitMessage use ( #206 )
...
Closes #205
2017-05-09 21:22:18 +02:00
Renovate Bot
c56c6d9bbe
Update dependency prettier to version 1.3.0 ( #198 )
...
* Update dependency prettier to version 1.3.0
* Run eslint-fix
2017-05-03 06:42:24 +02:00
Rhys Arkins
6a0524edb7
Enable templates via env and update design decision doc ( #192 )
...
Closes #190
2017-04-29 04:42:17 +02:00
Rhys Arkins
8bb6c5cea2
Fix caret zero dot zero dot logic ( #191 )
...
Fixes #189
* Add @types/helmet as npm fixture
* Add zero dot zero tests for tilde and caret
* Fix caret zero dot zero logic
2017-04-28 21:55:14 +02:00
Rhys Arkins
e844388e48
Add description of list configuration to docs and CLI help
...
Closes #188
2017-04-26 21:51:14 +02:00
Rhys Arkins
44e7bbf512
Use es5 trailing commas ( #183 )
2017-04-21 10:25:49 +02:00
Rhys Arkins
06f8d50f5e
Use Prettier ( #181 )
2017-04-21 10:12:41 +02:00
Rhys Arkins
8d516e3491
Feature: Don't assign/review automerge PRs ( #180 )
...
* Skip assignees and reviewers if automerging
* Add tests
2017-04-21 07:23:36 +02:00
Rhys Arkins
97d2a54561
Add repository autodiscovery ( #156 )
...
Closes #146
2017-04-21 07:00:26 +02:00
Rhys Arkins
c1a561ebf7
Refactor platform check and api assignment ( #179 )
...
* Refactor platform check and api assignment
* Drop mock
* drop async
2017-04-21 06:43:26 +02:00
Rhys Arkins
aa3309ffe1
PR Automerging ( #173 )
...
Closes #109
* Add automerge definition
* Add mergeMethod
* add mergePr for GitHub
* update definitions
* autodetect merge type
* Check mergeable state
* Don’t split majors if automerging any
* Update mergePr api commands
* fix initRepo tests
* Add tests
* Fix mergePr call
* Fix description
* Revert branchWorker changes
* revert comment
* Add test
* Add major/minor separation tests
* Add status-success tests
* Add not-pending tests
* Add automerge tests
* Check branch status before merge
2017-04-20 13:01:23 +02:00
Rhys Arkins
5f8711da39
Refactor yarn helper and add tests ( #174 )
...
Refactor yarn helper and increase coverage
2017-04-20 12:15:46 +02:00
Rhys Arkins
4097b8291e
Fix versions groupName check ( #175 )
2017-04-20 11:59:02 +02:00
Rhys Arkins
4283fbf7f8
Improve prCreation description
2017-04-20 07:11:45 +02:00
Rhys Arkins
8113a19b1f
Fix GitHub branchExists check ( #170 )
...
* Fix: don’t check for closed PR if groupName is configured
* Fix GitHub branchExists check
* Revert "Fix GitHub branchExists check"
This reverts commit 775b3172f1
.
* Revert "Revert "Fix GitHub branchExists check""
This reverts commit 84e4a5dbbf
.
* Update tests
2017-04-17 08:39:11 +02:00
Rhys Arkins
d62345fc56
Fix GitHub branchExists check ( #169 )
...
* Fix: don’t check for closed PR if groupName is configured
* Fix GitHub branchExists check
* Revert "Fix GitHub branchExists check"
This reverts commit 775b3172f1
.
2017-04-17 07:19:22 +02:00
Rhys Arkins
ca7b25825d
Add PR Creation stage configuration ( #168 )
...
* Add prCreation config option
* Support ‘status-success’ configuration
* Add option ‘not-pending’
2017-04-17 06:46:24 +02:00
Rhys Arkins
adcd152c3f
Fix monorepo yarn maintenance ( #167 )
...
Closes #166
* Support multiple yarn.lock files for maintenance
Closes #166
* Refactor maintainYarnLock logic
2017-04-17 04:54:42 +02:00
Rhys Arkins
a117a1787e
Decrease ensureBranch logging level
2017-04-15 22:06:15 +02:00
Rhys Arkins
05be49757c
Dependency groups ( #164 )
...
Closes #10 , Closes #48
* Update configuration options
* Upgrade dependencies to latest if groupName is configured
* Update docs
* Add groupName logic
2017-04-15 22:04:14 +02:00
Rhys Arkins
c267e06e7f
Make package pattern explicit ( #165 )
2017-04-15 21:58:41 +02:00
Rhys Arkins
96b21ece41
Refactor branch batching ( #163 )
...
Closes #134
* Refactor to combine upgrades in the same branch
* Fixing tests
* Fix config
* Fix more tests
* Fix newContent
* drop verbose
* Fix package file logic
2017-04-15 20:32:01 +02:00
Rhys Arkins
f70c243804
Refactor upgrade loop logic ( #162 )
2017-04-15 18:03:11 +02:00
Rhys Arkins
cad086d242
Add separateMajorReleases config option ( #161 )
2017-04-15 12:44:50 +02:00
Rhys Arkins
c6cbc00b07
Support package-level configuration ( #160 )
...
Closes #133
* Add packages object
* Add first test
* Add override
* More package tests
* Update example config in docs
* Add regex test
2017-04-15 11:37:35 +02:00
Rhys Arkins
4856f22747
Support configuring per dependency-type ( #159 )
...
Related: #133
* Add getDepTypeConfig
* Add depTypeConfig
* Add depType config tests
* Fix depTypes list
2017-04-15 08:51:42 +02:00
Rhys Arkins
425ada41cf
Refactor per-dependency configs ( #158 )
...
* Assign configs to individual deps
* Fix
* Trim config object
2017-04-15 07:57:04 +02:00
Rhys Arkins
701aaef972
Support yarn.lock maintenance ( #105 )
...
Closes #96
* Improve yarn logs
* Add processYarnLock
* Update worker.js
* Update worker.js
* Fix and update docs
* Make Yarn Maintenance strings into templates
2017-04-13 22:39:46 +02:00
Rhys Arkins
8d289ac445
Support simple range upgrades ( #155 )
...
Closes #31
* Add config.pinVersions
* Check config.pinVersions before pinning
* Fix no pinning
* Add tests for existing functionality
* Add test for new feature
* Add semver-utils
* Supports tilde ranges
* Add tests for tilde and caret
* Add support for lesser than ranges
* Document range upgrade logic
* Support shorthand and .x ranges
* Refactor upgrade logic
* Simplify refactor
* revert test change
* Add isRange and update PR title template
* Refactor major/minor
* Refactor isRange
* Refactor newRange
* Use lodash for rejecting pin
* Revert "Use lodash for rejecting pin"
This reverts commit 7f0b704bbf
.
* Fix major check
* Use lodash for rejecting
* Use lodash map
* rename
* Refactor mapping
* Refactor test config
2017-04-13 21:22:24 +02:00
Rhys Arkins
e959c492b9
Refactor change log versions ( #154 )
...
* Rename workingVersion to changeLogFromVersion
* Add changeLogToVersion
2017-04-13 12:44:34 +02:00
Hutson Betts
f6421b0bb9
fix(file): use path.isAbsolute for Windows compatibility ( #142 )
...
Use Node's built-in `path.isAbsolute` for compatibility with
Window's file paths.
2017-03-26 06:08:34 +02:00
Hutson Betts
c257717ea0
refactor(versions): refactor versions helper ( #143 )
...
Refactor versions helper to use lodash filters, instead of
nested if statements.
2017-03-26 06:08:01 +02:00
Hutson Betts
63dae3d901
fix(yarn): remove call to tmp cleanup function ( #140 )
...
Remove the direct call to `tmp`'s manual cleanup function
as `tmp` adds a listener on process exit to call cleanup
on all created directories (that weren't created with the
`keep` option set to `true`).
This is considered a fix because under some conditions the cleanup
will fail on Windows, and because the cleanup is called manually
in the middle of a renovate cycle, any sporadic failure will fail
the entire renovate process.
Instead, defer the temporary directory cleanup until after renovate
has completed, where a failure won't de-rail the entire cycle.
(I have not been able to track down why `tmp` fails sometimes on
Windows with my various project setups.)
2017-03-24 12:38:19 +01:00
Hutson Betts
b94e5458c6
fix(yarn): spawn in shell on Windows ( #138 )
...
Must spawn `yarn` within a shell on Windows for the `yarn`
executable to be resolved correctly. Otherwise a ENOENT
error is received because the `yarn` command can't be found.
Spawning a comamnd in a shell on Linux should behave the same,
though there may be a small increase in time required to
spawn the process.
2017-03-21 05:40:52 +01:00
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