Commit graph

437 commits

Author SHA1 Message Date
Rhys Arkins
712f9f091a logs: Issue created 2020-02-24 13:56:04 +01:00
Rhys Arkins
ab9361a170 logs: Comment added info 2020-02-24 13:54:11 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions () 2020-02-24 12:27:10 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref 
2020-02-24 09:26:42 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates () 2020-02-24 05:33:51 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Rhys Arkins
c2f28bdd95 fix(github): try/catch getPrList 2020-02-11 12:22:48 +01:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types () 2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings () 2020-02-05 18:17:20 +00:00
Sergio Zharinov
514fdbddab fix(platform): Filter out non-Renovate PRs with same branch () 2020-01-27 13:45:52 +01:00
Sourav Das
9024eda2a0 feat(constants): Branch Status ()
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 ()
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
3a4c61ed03 refactor(constants) : Error constants () 2020-01-15 21:36:12 +01:00
Rhys Arkins
6d3966c7f6 logs: log 422 errors 2020-01-15 02:52:19 +01:00
Sourav Das
547dcd84a7 refactor(function): findPR function() () 2020-01-14 16:12:14 +01:00
Sourav Das
447b110a8c refactor(function): Ensure Comment Function () ()
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 () ()
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
8170aed064 logs: print renovate version as part of renovateRepository 2020-01-11 07:50:08 +01:00
Sourav Das
50c74d38c0 refactor: createPR function () ()
* refactor: createPR function ()
1. Interface created: createPRConfig

* refactor: Create PR function ()
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 ()
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
Sourav Das
e72bf85b1e refactor: setBranchStatus Function () () 2020-01-07 09:59:14 +00:00
Sourav Das
e7695bde9c refactor: convert commitFilesToBranch function params () 2020-01-02 09:03:46 +00:00
Sourav Das
a165d6b411 fix(github): Show warning when failed to add pr reviewer. () 2020-01-02 08:47:59 +00:00
Sergio Zharinov
3a7c67919f feat(github): graphql wrapper with query retry () 2019-12-13 12:24:11 +02:00
Rhys Arkins
8806148add fix(github): throw repository-changed if setBranchStatus fails 2019-12-11 09:00:47 +02:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName () 2019-12-05 11:55:14 +01:00
Rhys Arkins
1c33d1c101
fix: drop appSlug configurability () 2019-12-05 10:45:28 +01:00
Rhys Arkins
c7e129cdf6
feat: configurable product links () 2019-12-05 10:27:29 +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 () () 2019-12-03 18:21:40 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… () 2019-11-26 16:13:07 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Rhys Arkins
399873946a
fix(platform): encode branchName in URLs () 2019-10-22 10:47:59 +02:00
Rhys Arkins
d35b0df432 fix(github): handle 404 when attempting automerge 2019-10-13 14:19:58 +02:00
Michael Kriese
77a0291d4d fix(platform): smart truncate pr body () 2019-09-25 12:42:11 +02:00
Michael Kriese
49325143bd feat(sanitize): refactor () 2019-09-12 12:48:31 +02:00
Rhys Arkins
88d889a979 fix(github): try automerge even if push protection is enabled
Closes 
2019-09-10 09:29:20 +02:00
Rhys Arkins
7a05f8b6a0 fix: remove duplicate sanitize 2019-09-07 18:34:14 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation ()
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes 
2019-09-07 14:51:00 +02:00
Rhys Arkins
80069f285e fix(github): handle 404 status check gracefully 2019-09-05 09:26:53 +02:00
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified () 2019-08-29 10:30:17 +02:00
Rhys Arkins
f56c7701cd chore: drop unused setAppMode 2019-08-15 13:09:13 +02:00
Michael Kriese
4c485b727a feat(utils): convert to ts () 2019-08-15 08:26:21 +02:00
praveshtora
cb9437f72d feat: configWarningReuseIssue () 2019-08-15 07:41:01 +02:00
Rhys Arkins
2590f4eb1b logs: log comment title 2019-08-15 06:15:53 +02:00
Rhys Arkins
46a329b5f1 fix(github): platform-failure when fetching check runs 2019-08-14 19:24:51 +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