Rhys Arkins
b314a171c7
logs: don’t log full gitlab 404
2020-05-27 11:50:34 +02:00
Rhys Arkins
73694efd82
fix(cache): run cache init ( #6312 )
2020-05-24 07:13:55 +02:00
Rhys Arkins
2d8923054b
fix(gitlab): specify min_access_level=30 when autodiscovering
2020-05-22 14:47:37 +02:00
Rhys Arkins
54b2ae61ad
chore: remove unused test
2020-05-19 13:09:54 +02:00
Rhys Arkins
082cd4ee89
feat: remove third party pr validation
...
Renovate will no longer attempt to retrieve and validate the config of PRs created by other users or bots.
BREAKING CHANGE: Renovate will no longer create renovate/verify status checks on third party PRs.
2020-05-19 13:09:54 +02:00
Rhys Arkins
6c3eb3e321
chore: fix lint warnings
2020-05-19 09:34:13 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks ( #5986 )
2020-05-18 14:33:44 +02:00
Sergio Zharinov
d5aeb50004
refactor(gitlab): Use nock for tests ( #6267 )
2020-05-17 21:42:15 +02:00
Rhys Arkins
6a1dab6412
refactor(platform): commitFilesToBranch -> commitFiles
2020-05-14 14:13:08 +02:00
Rhys Arkins
5bd2d42d5a
fix(platform): don’t pass parentBranch to platform commitFilesToBranch ( #6227 )
2020-05-14 12:20:24 +02:00
Björn Brauer
c862677623
feat(platform): remove comments by content ( #6181 )
2020-05-12 23:21:58 +02:00
Rhys Arkins
6d79808b04
fix(gitlab): reduce maximum MR body size to 60k
2020-05-12 21:13:49 +02:00
Rhys Arkins
9f89157e17
fix(gitlab): reduce MR body size to 100k ( #6212 )
2020-05-12 19:05:46 +02:00
Rhys Arkins
8f12059cd4
fix(gitlab): log raw error for all platform errors
2020-05-12 14:31:19 +02:00
Rhys Arkins
82ca814747
refactor: remove unused branchName param in getFileList
2020-05-05 20:42:14 +02:00
Rhys Arkins
86ab028f97
fix: Revert "refactor(platform): optimize getFileList and remove branchName param ( #6127 )"
...
This reverts commit 7d1c937682
.
2020-05-05 16:02:29 +02:00
Rhys Arkins
7d1c937682
refactor(platform): optimize getFileList and remove branchName param ( #6127 )
2020-05-05 12:39:47 +02:00
Björn Brauer
228b933871
refactor: ensureCommentRemoval parameters to an object ( #6117 )
2020-05-03 21:03:55 +02:00
Rhys Arkins
f3c9efb060
refactor: return and store base branch SHA
2020-05-03 20:38:09 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
Rhys Arkins
efe102d7e3
logs: gitlab platform failure err
2020-04-28 10:38:59 +02:00
Rhys Arkins
ca2d9be0f6
fix(gitlab): handle ParseError
2020-04-23 10:06:42 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets ( #5814 )
2020-04-14 07:05:30 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Jamie Magee
d4f6aa4bc5
fix: add missing await statements ( #5918 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-09 12:47:48 +02:00
Michael Kriese
eafce83889
fix: binary file handling ( #5916 )
2020-04-09 07:43:47 +02:00
Michael Kriese
30fcff2194
feat(internal): dynamic platform imports ( #5898 )
2020-04-08 09:14:32 +02:00
Rhys Arkins
ebdda4ddf4
fix(gitlab): platform error for 429
2020-03-28 17:38:43 +01:00
Rhys Arkins
5f2ab635cf
fix(gitlab): add more status check mappings
2020-03-09 05:49:30 +01:00
Rhys Arkins
6605fe548d
fix(gitlab): add missing “created” branch status
2020-03-08 21:05:46 +01:00
Rhys Arkins
588616f669
feat: branch status unification ( #5658 )
2020-03-08 15:03:19 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants ( #5158 )
2020-03-05 07:03:47 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences ( #5570 )
2020-02-25 09:42:24 +01:00
Michael Kriese
d1a40c548c
fix(gitlab): add merge method fallback ( #5571 )
2020-02-25 09:12:56 +01:00
Michael Kriese
763e444962
feat(gitlab): add merge method check ( #5567 )
2020-02-25 06:34:06 +01:00
Rhys Arkins
712f9f091a
logs: Issue created
2020-02-24 13:56:04 +01:00
Rhys Arkins
432a0fa7c7
fix(logs): debug gitlab 406 err
2020-02-24 12:31:33 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates ( #5560 )
2020-02-24 05:33:51 +01:00
Rhys Arkins
ab166d7088
fix(gitlab): warn not error when failing to add assignees
2020-02-08 15:49:13 +01:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types ( #5171 )
2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings ( #5375 )
2020-02-05 18:17:20 +00:00
Rhys Arkins
e34900377c
fix(gitlab): GITLAB_IGNORE_REPO_URL
...
Adds unofficial (for now) env option to igore the http_url_to_repo value returned by GitLab.
2020-01-21 16:44:24 +01:00
Sourav Das
9024eda2a0
feat(constants): Branch Status ( #5166 )
...
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
renovate[bot]
36a37dada8
chore(deps): update dependency prettier to v1.19.1 ( #5169 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
3a4c61ed03
refactor(constants) : Error constants ( #5156 )
2020-01-15 21:36:12 +01:00
Sourav Das
547dcd84a7
refactor(function): findPR function( #4996 ) ( #5129 )
2020-01-14 16:12:14 +01:00
Sourav Das
447b110a8c
refactor(function): Ensure Comment Function ( #4996 ) ( #5128 )
...
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Sourav Das
ee153e560e
feat: use error constants ( #5088 ) ( #5100 )
...
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Sourav Das
50c74d38c0
refactor: createPR function ( #4996 ) ( #5108 )
...
* refactor: createPR function (#4996 )
1. Interface created: createPRConfig
* refactor: Create PR function (#4996 )
Remove label parameter from bitbucket and bitbucket server function call.
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sourav Das
be5679661a
refactor: EnsureIssue function ( #5107 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
Sourav Das
e72bf85b1e
refactor: setBranchStatus Function ( #4996 ) ( #5112 )
2020-01-07 09:59:14 +00:00
Sourav Das
e7695bde9c
refactor: convert commitFilesToBranch function params ( #5064 )
2020-01-02 09:03:46 +00:00
Adam Dehnel
e1ebe77781
feat: skip gitlab disabled and empty repos ( #5084 )
...
* skipping disabled repos in gitlab
* adding tests for gitlab disabled repo check
* fixing empty_repo test
* skip gitlab project if MRs are disabled
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-01-01 17:02:58 +01:00
Frank Liepert
5601f3dade
fix(gitlab): complete git author including name ( #4932 ) ( #4933 )
2019-12-05 16:25:37 +01:00
Rhys Arkins
5ad362fb21
fix: Revert "fix: refactor appStrings imports"
...
This reverts commit aec281840b
.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b
fix: refactor appStrings imports
2019-12-04 16:18:37 +01:00
Rhys Arkins
c8f49e71f5
refactor: remove Object.assign
2019-12-04 10:12:01 +01:00
Kirill Romanov
f223f5e007
fix: cache-bust branch status after updating a status ( #4884 ) ( #4885 )
2019-12-03 18:21:40 +01:00
Riccardo Padovani
d51bf30c82
feat(gitlab): do not discover projects without MR enabled. ( #4913 )
...
Skip fetching gitlab repos that have MRs disabled.
2019-12-02 20:40:13 +01:00
Satsuki Yanagi
f78e43e024
fix(gitlab): pass through gitPrivateKey ( #4904 )
...
GitLab's PlatformConfig doesn't implemented well as support GPG Commit Signing.
2019-11-29 08:56:10 +01:00
Michael Kriese
f0d4995fda
fix(eslint): '@typescript-eslint/explicit-function-return-… ( #4872 )
2019-11-26 16:13:07 +01:00
Gabriel Melillo
defac5d831
feat(gitlab) multiple assignees support ( #4851 )
2019-11-25 17:13:39 +01:00
Rhys Arkins
d46bd277c7
fix(gitlab): handle authentication-error retrieving PRs
2019-11-24 21:43:46 +01:00
Rhys Arkins
473b7e1f4b
refactor(eslint): enable @typescript-eslint/no-use-before-define
2019-11-24 05:09:13 +01:00
Rhys Arkins
da1f608588
fix(gitlab): Ignore setBranchStatus error
2019-10-13 07:46:12 +02:00
Florian Greinacher
53fc7d8a3e
feat(gitlab): add support for 'merge when pipeline succeeds' ( #4558 )
...
This commit adds (back) support for GitLab's 'merge when pipeline succeeds'
feature. This feature needs to be enabled by bot owners explicitely because
of an possible race condition in current GitLab versions.
Closes #3265
2019-10-05 10:00:32 +02:00
Michael Kriese
77a0291d4d
fix(platform): smart truncate pr body ( #4527 )
2019-09-25 12:42:11 +02:00
Michael Kriese
49325143bd
feat(sanitize): refactor ( #4479 )
2019-09-12 12:48:31 +02:00
Rhys Arkins
99f18b7dc3
fix(gitlab): EAI_AGAIN platform-failure
2019-09-11 09:33:08 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation ( #4446 )
...
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.
Closes #4444
2019-09-07 14:51:00 +02:00
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified ( #4385 )
2019-08-29 10:30:17 +02:00
Edd Armitage
e10f590c9a
fix(gitlab): follow pagination in getbranchstatus for gitlab ( #4342 )
...
There are cases where the first page of results is not representative of the entire branch's status, so we need to follow all pages in the result.
Closes #4340
2019-08-22 19:34:50 +02:00
Rhys Arkins
c42d6cb21d
fix(gitlab): handle ETIMEDOUT
2019-08-14 17:12:16 +02:00
Rhys Arkins
72404706ab
feat(platform): return PR targetBranch
2019-08-14 11:48:56 +02:00
Rhys Arkins
1864d4ebf3
refactor(platform): return baseBranch from initRepo
2019-08-14 11:38:13 +02:00
Rhys Arkins
e602c4553d
refactor(platform): use RepoConfig strictly
2019-08-14 10:51:12 +02:00
Rhys Arkins
f041d7d409
refactor: consolidate platform ts ( #4283 )
2019-08-14 06:04:09 +02:00
Sergio Zharinov
495e2f6217
fix: Allow for auto-merge of new PRs ( #4236 )
2019-08-02 15:10:26 +02:00
Jamie Magee
f334c568a5
feat(typescript): convert logger to typescript ( #3671 )
2019-07-15 11:04:05 +02:00
praveshtora
530e8cb036
feat: check for disabled renovate.json before cloning in platfo… ( #3965 )
2019-07-14 07:45:39 +02:00
Rhys Arkins
e3c46bb9a0
feat: gitlab optimization with caching fix ( #4033 )
...
Restores GitLab optimization but with caching and pagination fixes.
Co-authored-by: Lukas Eipert <leipert@users.noreply.github.com>
2019-07-10 13:18:51 +02:00
Michael Kriese
3ef1c95a66
chore(lint): optimize linting ( #4041 )
2019-07-10 10:41:12 +02:00
Rhys Arkins
cbf695bb39
fix: Revert "feat(gitlab): Improve performance for projects with a lot of branches ( #3936 )"
...
This reverts commit 9779d77eb1
.
2019-07-09 07:55:01 +02:00
Lukas Eipert
9779d77eb1
feat(gitlab): Improve performance for projects with a lot of branches ( #3936 )
...
1. `findPr` also includes the `source_branch` API parameter which
shortens execution time considerably
2. `getPrList` also filters `author_id` for the renovate's user
2019-07-08 16:43:39 +02:00
Rhys Arkins
e839e8043f
fix(gitlab): catch UNABLE_TO_VERIFY_LEAF_SIGNATURE
2019-06-29 07:44:38 +02:00
Rhys Arkins
4ea03ac0b4
feat(gitlab): detect gitAuthor as part of initPlatform
...
GitLab self-hosted users now no longer need to manually configure gitAuthor if it matches with the bot account they’re using.
2019-06-13 07:25:39 +02:00
Rhys Arkins
df0d79f7de
fix(gitlab): skip mirrored repositories
2019-06-13 06:05:58 +02:00
renovate[bot]
dab7b1c314
chore(deps): update dependency prettier to v1.18.0 ( #3905 )
2019-06-07 06:34:57 +02:00
Markus Heberling
c830f45484
feat(gitlab): use repository URL from API ( #3900 )
...
This allows to access gitlab servers running with a relative url root
* https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-a-relative-url-for-gitlab
2019-06-06 17:06:04 +02:00
Rhys Arkins
08ea666bd5
fix(gitlab): log initRepo err
2019-06-05 18:45:40 +02:00
Rhys Arkins
c6d61bf0b3
fix(gitlab): platform-error if ECONNRESET
2019-06-05 11:14:06 +02:00
Rhys Arkins
f6f7db8d6c
fix(gitlab): throw platform-failure if 5xx
2019-06-05 10:13:00 +02:00
Michael Kriese
cd0a3bd675
feat(gitlab): convert to typescript ( #3824 )
2019-05-29 14:00:56 +02:00
Michael Kriese
0b063aeaa1
feat(build): use babel ( #3825 )
2019-05-28 11:21:17 +02:00
Rhys Arkins
73f953ca94
refactor(gitlab): use util/got/auth
2019-05-27 09:29:22 +02:00
Rhys Arkins
02b5f2e4be
refactor(gitlab): use util/got ( #3814 )
2019-05-26 19:05:05 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references ( #3807 )
2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite ( #3801 )
...
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`
Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00