Commit Graph

666 Commits (v10.21.12)

Author SHA1 Message Date
Rhys Arkins 4a57cfd3cd
fix: only return no-work if branch doesn’t exist () 2017-11-28 09:00:59 +01:00
Rhys Arkins eabff37a15
fix: exit gracefully if no files to commit ()
This handles case where checking for lock file maintenance but lock file is up-to-date.
2017-11-27 08:25:07 +01:00
Rhys Arkins e54eafcbd1
chore: log info messages when creating and updating PRs () 2017-11-26 07:27:33 +01:00
Rhys Arkins 57eb471afa
fix: escaping @ mentions should be replace all ()
Fixes 
2017-11-26 07:09:10 +01:00
Rhys Arkins 72d46c20e2
refactor: remove label and assignees description from onboarding pr ()
These can now be described via presets instead
2017-11-24 12:03:57 +01:00
Rhys Arkins 779ca36bc1
refactor: use semanticCommitType chore for pin/digest () 2017-11-24 10:58:44 +01:00
JYC 7a63342ddd fix: path joins on windows ()
Use `upath` for windows-friendly path joins.

Closes 
2017-11-24 07:50:49 +01:00
Rhys Arkins 7e6befe4a8
fix: merged PRs should not block new PRs in monorepos ()
Only block if it was closed unmerged.

Fixes 

* check for closed only for monorepos
2017-11-24 07:31:20 +01:00
Rhys Arkins 65a5e90bb7
feat: split semanticPrefix into type and scope 2017-11-24 07:14:58 +01:00
Rhys Arkins d0a08734e5
fix: remove semanticPrefix override from pin.group to pin () 2017-11-23 19:49:14 +01:00
Rhys Arkins 7675f3a9f1
fix: replace singapore/renovate references with renovateapp/renovate () 2017-11-23 14:08:31 +01:00
Rhys Arkins 67bb02e725
fix: Revert "feat: docker registry cache ()" ()
This reverts commit 371f1cbf3d.
2017-11-22 15:07:53 +01:00
Rhys Arkins 371f1cbf3d
feat: docker registry cache ()
Use got’s built-in caching with in-memory map.

Closes 
2017-11-22 13:25:07 +01:00
Rhys Arkins 4e7830e831
refactor: use internal got cache ()
Replace explicit keyv-based memory cache for npm with implicit keyv-based memory cache built into got v8.
2017-11-22 10:24:34 +01:00
JYC 8e1dfa111c feat: VSTS - Add Reviewers & Assignees () 2017-11-22 05:12:19 +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
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
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 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
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
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 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
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