Commit Graph

2035 Commits

Author SHA1 Message Date
Rhys Arkins 1449e8324b feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins 852b340926 refactor: git.setBranch return 2020-07-22 19:41:11 +02:00
Rhys Arkins 67a7dd4a10 refactor: remove unnecessary if from git.setBranch (#6815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 16:13:24 +02:00
Michael Kriese 698a2ed962 fix: force optional options (#6817) 2020-07-22 13:24:51 +02:00
Michael Kriese 9b4bff0051 fix(internal): fix linting (#6803) 2020-07-22 07:45:57 +02:00
renovate[bot] 340f136448 build(deps): update dependency simple-git to v2 (#6783)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-21 14:52:24 +02:00
Jamie Magee 456245aabe chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Michael Kriese 76d8574581 chore(internal): fix http coverage (#6746) 2020-07-14 09:51:27 +02:00
Rhys Arkins 6d96d3d220 refactor: git.setBranch (#6739) 2020-07-13 07:31:22 +02:00
Sergio Zharinov 581844a085 fix(github): Fix accept headers for Github HTTP wrapper (#6736)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-12 15:29:26 +02:00
Sergio Zharinov e2af296c48 refactor: Rename GraphQL query methods (#6732) 2020-07-12 08:10:38 +02:00
Michael Kriese e11875e036 refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Rhys Arkins e95bd0ba3d feat(host-rules): add support for disabling hosts (#6715)
* feat(host-rules): support disabling hosts

Adds “enabled” to the list of recognized configuration options for hostRules. A host or domain can be disabled by setting `”enabled”: false` within the host rule. Also added presets :disabledHost() and :disableDomain().

* docs

* tests

* Update configuration-options.md

* fixes
2020-07-09 17:34:26 +02:00
Rhys Arkins 4665dbff6f refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins 4f48cd1a4e refactor: remove platform.getPrFiles (#6702) 2020-07-08 06:49:54 +02:00
Rhys Arkins 4459b11261 fix(cache): improve repository cache robustness (#6689) 2020-07-07 06:24:26 +02:00
Sergio Zharinov c3fc80a285 refactor: Call 'fs-extra' functions via proxies (#6683)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-06 11:17:06 +02:00
Sergio Zharinov 50e36a1f59 refactor: Add 'ensureCacheDir` function (#6681) 2020-07-05 21:22:13 +02:00
Rhys Arkins 723aa4cf25 logs: improve repository cache logging 2020-07-05 09:17:10 +02:00
Rhys Arkins 2cdd8f4b0c refactor: simplify sync state 2020-07-05 08:28:34 +02:00
Rhys Arkins 9bdd8b53c3 refactor(git): separate init from sync 2020-07-05 08:25:21 +02:00
Rhys Arkins 7d18476d74 refactor: args -> config 2020-07-05 08:23:14 +02:00
Rhys Arkins 09186488ac logs: log depName and scheme when failling to satisfy a constraint 2020-07-05 08:22:32 +02:00
Rhys Arkins 1e0c759f3d refactor: remove unnecessary cleanRepo() (#6671) 2020-07-04 12:48:09 +02:00
Rhys Arkins 807d48e07d refactor: simplify util/git state (#6670)
Removes unnecessary newConfig and cwd.
2020-07-04 11:43:19 +02:00
Rhys Arkins b60cc2c890 chore: clean up imports 2020-07-03 16:51:49 +02:00
Sergio Zharinov 1137112130 refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov 679176f26e test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Rhys Arkins a196db464b fix: deleteLocalFile join (#6654) 2020-07-02 20:16:48 +02:00
Etienne 45d7d40952 fix: remove authorization header from core.windows.net requests for Azure docker registries (#6641)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-01 15:48:22 +02:00
Sergio Zharinov d144013af1 refactor(platform): Make git to be class-less (#6635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-01 12:45:53 +02:00
Rhys Arkins a8caa9e3fa fix: cache validation (#6644) 2020-07-01 09:08:00 +02:00
Rhys Arkins 7af01c5ee2 fix: set empty cache if not found 2020-07-01 08:12:36 +02:00
Rhys Arkins d70b8c1f2f feat: repositoryCache (#6589)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-29 15:51:22 +02:00
Rhys Arkins a189f31b3d chore: move util/gitfs/fs 2020-06-28 12:01:57 +02:00
Rhys Arkins ec1598587c refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Cirno the Strongest 58f42b3273 fix(gitea): don't crash on empty body during pagination (#6598) 2020-06-27 10:25:20 +02:00
Jamie Magee 350a70f389 refactor: remove lodash, add fast-deep-equal (#6496) 2020-06-26 11:31:23 +02:00
Rhys Arkins 55625a893b refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Rhys Arkins be37109cf6 refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00
Rhys Arkins 013c63664b refactor: remove global.renovateCache (#6579) 2020-06-24 22:33:27 +02:00
Rhys Arkins 031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins daf2a485ab feat: abortOnError / abortIgnoreStatusCodes (#6556) 2020-06-23 09:25:03 +02:00
Rhys Arkins 52a074e041 refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins 735f6a595e refactor: util/exec use getPkgReleases 2020-06-19 10:26:07 +02:00
Rhys Arkins a6843734ca fix: global cache return undefined instead of null (#6530) 2020-06-17 11:09:46 +02:00
Rhys Arkins f5a588eb5a fix: Revert "fix(cache): distinguish between null and undefined (#6509)"
This reverts commit 0345b40a18.
2020-06-17 10:07:22 +02:00
Rhys Arkins 0345b40a18 fix(cache): distinguish between null and undefined (#6509)
null = this lookup returned nothing last time
undefined = no cached result found
2020-06-17 06:48:33 +02:00
Sergio Zharinov 2d6c12d55a refactor: Remove 'util/got' (#6523) 2020-06-16 14:11:02 +02:00
Sergio Zharinov 93eaeeab88 test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00