Commit graph

17182 commits

Author SHA1 Message Date
Rhys Arkins
1dcc3e4bca docs: regenerate docs () 2017-11-22 04:51:43 +01:00
Rhys Arkins
77dbef5cf0
feat: add back keyv-based memory cache for npm ()
Disk-based caching for npm responses was overkill and actually started hurting performance after a while as the cache grew.
2017-11-22 04:45:40 +01:00
renovate[bot]
4b167467a2 fix(deps): update dependency ini to v1.3.5 2017-11-21 22:29:53 +00:00
JYC
4bce262a14 fix: VSTS - Fix reading big file ()
Closes  

* deleteBranch like gitlab

* changes in single commit

* prettier lint and tests

* read big file

* challenging linting!
2017-11-21 06:08:54 +01:00
Hutson Betts
ca3a1c9f9d fix(github): paginate repo get requests ()
Enable pagainate for requests made to the `user/repos` endpoint
for fetching all repositories the configured user has access to.
2017-11-20 20:36:40 +01:00
JYC
dbe68efdc7 fix: VSTS - RepoName & ProjectName ()
* deleteBranch like gitlab

* changes in single commit

* prettier lint and tests

* add project and repo feature

* add case insensitive string compare
2017-11-20 19:47:49 +01:00
Rhys Arkins
0f80e7d501 fix: use RENOVATE_TMPDIR () 2017-11-20 07:08:30 +01:00
renovate[bot]
14031f0f81 chore(deps): update dependency eslint-config-prettier to v2.8.0 2017-11-19 12:24:31 +00:00
JYC
b272b4aab7 fix: VSTS - canRebase ()
* deleteBranch like gitlab

* changes in single commit

* prettier lint and tests
2017-11-19 11:23:30 +01:00
Rhys Arkins
4a308a5825
fix(deps): update node.js engine to >= 8.8.0 ()
Closes 
2017-11-19 09:21:22 +01:00
Rhys Arkins
8ea800dce0
fix: drop “fix devDependencies” customisation () 2017-11-19 06:32:06 +01:00
Rhys Arkins
d3d9b2be02
refactor: packageFile log debug -> trace () 2017-11-17 15:10:59 +01:00
Rhys Arkins
804d7ba955 refactor: don't cache lock files ()
* refactor: don’t store yarn.lock content in packageFile

* chore: don’t log full lockfile

* refactor: don’t save package-lock.json

* update tests
2017-11-17 14:53:29 +01:00
Rhys Arkins
46f8dd751d
refactor: resolve package files in parallel ()
Speeds up monorepos substantially
2017-11-17 06:06:06 +01:00
Rhys Arkins
0e81a88a54 fix: drop branchExists check after create () 2017-11-16 23:51:47 +01:00
Rhys Arkins
e27a1b486c
refactor: use simpler api for branchExists ()
simpler api + cacheable
2017-11-16 22:40:07 +01:00
Rhys Arkins
4c4d5cfdac
refactor: check unpublishsafe only if configured () 2017-11-16 22:34:49 +01:00
Rhys Arkins
fd10299a71
feat: cache github get requests in memory ()
The existing github wrapper is now extended to cache any get request. The existing pr cache is removed as it is now redundant.
2017-11-16 22:13:54 +01:00
Rhys Arkins
d3955f1a32
fix: only remove lock file warning comment when successfully updating… () 2017-11-16 21:54:13 +01:00
Rhys Arkins
319b790c9c
refactor: debug github api calls () 2017-11-16 19:27:59 +01:00
renovate[bot]
1747b5d632 fix(deps): update dependency cacache to v10.0.1 2017-11-16 14:58:19 +00:00
Rhys Arkins
e89ef0ddb8 chore: add debugging to findPr and getPrList 2017-11-16 14:16:24 +01:00
Rhys Arkins
414fb7d4d7 chore: add debugging to checkOnboardingBranch 2017-11-16 14:16:24 +01:00
Rhys Arkins
bf0cbd38cb refactor: reset platform config to {} during initRepo 2017-11-16 14:16:24 +01:00
Rhys Arkins
d9db675b68 fix: reset base commit during init () 2017-11-16 13:51:26 +01:00
Rhys Arkins
6dfeebba32
refactor: base commit sha logic and logging () 2017-11-16 13:37:36 +01:00
Rhys Arkins
d5f58fcb6e
feat: allow configurable tmpdir for caching () 2017-11-16 10:26:04 +01:00
renovate[bot]
5d47160e37 fix(deps): update dependency make-fetch-happen to v2.6.0 () 2017-11-16 09:15:20 +01:00
Rhys Arkins
15c3a9a8be
refactor: use fileList to speed up getFile 404s () 2017-11-16 07:13:50 +01:00
Rhys Arkins
3921c4007d
refactor: cache pull requests (github) () 2017-11-15 15:39:39 +01:00
Rhys Arkins
c89b957b8a
refactor: defer branch protection check () 2017-11-15 15:31:20 +01:00
Rhys Arkins
feb1f4e3fd
fix: move github 409 catch after refactor () 2017-11-15 14:41:36 +01:00
Rhys Arkins
0e68e4aa50
refactor: defer getBaseCommitSHA until needed () 2017-11-15 14:20:17 +01:00
Rhys Arkins
7c72156562
refactor: move semantic commit detection from init to later updates () 2017-11-15 13:39:44 +01:00
Rhys Arkins
b3ec1c0156
fix: set npmrc at repository level () 2017-11-15 12:30:39 +01:00
Rhys Arkins
59d3be4d1c
fix: replace h4 with ** (gitlab) ()
Helps 
2017-11-14 20:44:32 +01:00
Manuel Rueda
a19421fff6 fix: normalize GitLab findPr with GitHub and add PR cache ()
Closes 
2017-11-14 09:55:05 +01:00
Rhys Arkins
d9974a8994
refactor: drop unused isClosed from github and gitlab () 2017-11-14 09:24:19 +01:00
Rhys Arkins
d2cd755f37
feat: persistent disk cache for changelog data ()
Use `cacache` to persist changelog results between runs.
2017-11-13 17:44:09 +01:00
Rhys Arkins
cfb0347d2a
fix: add back publish config to package.json () 2017-11-13 15:36:10 +01:00
Rhys Arkins
f0b094b006
feat: use persistent cache for npm registry queries ()
This PR refactors the npm registry code to use `make-fetch-happen` instead of got. Additionally, it will use `cacache` for a disk-based caching solution.
2017-11-13 15:08:30 +01:00
Rhys Arkins
3b154c24c3
refactor: publish master with tag latest ()
Closes 
2017-11-13 11:32:46 +01:00
JYC
e16e2ff6f2 chore: fix dev environment for Windows ()
- use cross-env for jest
- escape `prettier` script
- remove snapshots that include `path.join()`

Closes 
2017-11-12 14:44:10 +01:00
singapore
203d419578
chore: fix dependency order 2017-11-12 14:29:23 +01:00
Rhys Arkins
ed3234caa5 feat: vsts () 2017-11-12 10:33:41 +01:00
JYC
c9335d5bf6 Add VSTS support ()
This PR adds support for Microsoft's [Visual Studio Team Services](https://www.visualstudio.com/team-services/) platform (in addition to existing GitHub and GitLab support). 

Closes 
2017-11-12 10:26:53 +01:00
Rhys Arkins
6d17d4a58d
fix: only ignore monorepo packages if matching glob ()
Previously, packages within a workspace or lerna project were ignores across the entire repo. Now, they are only ignored within package files that exist in the same lerna project or yarn workspace.

Closes 
2017-11-12 10:16:46 +01:00
Rhys Arkins
47d9cabfda chore: regenerate docs () 2017-11-12 07:28:17 +01:00
Rhys Arkins
9c086703c6 fix: strip windows line returns from templates () 2017-11-12 07:23:09 +01:00
Rhys Arkins
ce88c32f94
refactor: drop {{#if isGitHub}} from templates ()
Pull Request and PR are already search/replaced in JS code for GitLab.
2017-11-12 07:22:13 +01:00