Commit Graph

57 Commits (v9.10.2)

Author SHA1 Message Date
Rhys Arkins dc5773c2e5 feat: Configurable base branch for PRs ()
Collaborator
rarkins commented 14 hours ago
Base branch for Pull Requests is now configurable via a new baseBranch configuration option. To take effect, this much be present in the default branch (e.g. master in most cases) so that it can be discovered and used. See FAQ for more details.

Closes 
2017-07-06 10:26:18 +02:00
Rhys Arkins c30472dd43 feat: Add ability to skip status checks for automerge ()
This starts off [](https://github.com/singapore/renovate/issues/359) (configurable status checks) but only implements one sub-feature of it: disabling status checks to allow automerge if tests fail or if no tests are present.
2017-07-05 07:02:25 +02:00
Rhys Arkins 48fa9bb923 fix: format json in config table correctly ()
Closes 
2017-07-04 14:29:45 +02:00
Rhys Arkins 4272b113d2 refactor: configuration options and update docs () 2017-07-03 11:34:46 +02:00
Rhys Arkins faa754d136 Use NPM_TOKEN for registry lookup 2017-07-02 20:52:31 +02:00
Rhys Arkins 3d9cd11611 refactor: change group config structure
This changes how group are configured to align with the new lock file configuration.

BREAKING CHANGE: old group* template options are no longer supported but can be migrated into group object
2017-07-01 06:49:32 +02:00
Rhys Arkins 6f49927a45 feat: schedule support for lock file maintenance
This feature now allows a custom schedule to be defined for lock file maintenance. It is now enabled by default but runs only before 5m on Sundays. Closes 

BREAKING CHANGE: lock file maintenance is enabled by default.
Rules will apply to both yarn and npm (npm is yet to be implemented however). Existing mainainYarn* variables are removed and replaced by new lockFileMaintenance object.
2017-07-01 06:46:11 +02:00
Rhys Arkins 6664110c29 feat: schedules ()
This PR adds a scheduling feature, including timezone support.
It's described in detail in the FAQ, but the summary is:

*   Timezones can be defined so that schedules are written in timezone of target repository
*   Schedules can be written in "plain english"
*   Multiple schedules allowed
*   Schedules can be defined all the way down to package level

Closes 
2017-06-30 14:04:46 +02:00
Rhys Arkins 01df41086b fix: semanticCommitsEnabled -> semanticCommits 2017-06-30 06:01:50 +02:00
Rhys Arkins 46a4d8ba9d Refactor pin groups ()
* Group together pins

* Install github-url-from-git

* Get repositoryUrl from npm

* Don’t delete excess pins

* Update configuration.md

* Update tests
2017-06-27 17:46:11 +02:00
Rhys Arkins 6e12c35da5 Update docs 2017-06-27 15:36:53 +02:00
Rhys Arkins 19f4b3b0bc Refactor repository worker ()
* Move to subdir

* Downgrade eslint to 3

* Refactor api and config usage

* Refactor mergeRenovateJson

* Test mergeRenovateJson

* getOnboardingStatus tests

* Refactor repository structure

* Refactor config.logger

* Revert "Refactor config.logger"

This reverts commit 6d7f81af6e.

* Refactor repository logging

* Refactor try/catch

* Refactor platform and onboarding

* Refactor setNpmrc

* Fix github logger

* npm api use config.logger

* Refactor repo worker logger

* Refactor repo worker

* Refactor branched upgrades

* Repository refactoring

* Move some debug logging to trace

* Deprecate fileName

* Refactor upgrades

* Refactor repository logs

* More repository log refactoring

* Refactor repository location

* Revert "Refactor repository location"

This reverts commit faecbf2951.

* Fix tests

* mergeRenovateJson

* Recombine repository worker

* Add initApis tests

* add detectPackageFiles tests

* Add determineRepoUpgrades tests

* start groupUpgradesByBranch tests

* add test

* add test

* Finish groupUpgradesByBranch coverage

* Test updateBranchesSequentially

* Finish repo coverage

* Finish branch worker coverage

* Finish workers coverage

* Fix isPin

* Complete workers coverage

* Finish helpers coverage

* Add gitlab api tests

* getBranchStatus tests

* test createPr

* start getPr testing

* getPr

* update and merge PR tests

* getFile

* getFileContent tests

* getFileJson tests

* createFile

* updateFile

* createBranch

* commitFilesToBranch

* update yarn

* Update yarn
2017-06-25 07:36:13 +02:00
Rhys Arkins 06cd61e704 Add log to file capability () 2017-06-20 21:34:25 +02:00
Rhys Arkins 112ff0b410 Support branch automerging ()
Add support for automerging without PR, Closes  

* update definitions and docs


* Add mergeBranch api

* support merge commit

* set automergeType

* Update API

* Refactor merge commit

* branch-push working

* Refactor branch

* Add back base tree

* Fix failing tests

* Update definitions and docs

* Fix automerge logic

* Test isBranchStale

* start mergeBranch test

* test mergeBranch branch-push throws

* more tests

* test unknown commit type

* pr tests

* Detect automerge in versions helper

* update tests for new automergeEnabled flag

* refactor pr logic

* complete pr worker tests

* branch automerge tests

* Update docs

* refactor branch automerge check
2017-06-08 06:18:21 +02:00
Rhys Arkins 9be60b461f Add configuration faq/guide ()
Closes 
2017-06-05 23:00:01 +02:00
Rhys Arkins 3c1ae808a8 Fix master branch tests ()
* Update docs

* Update yarn.lock
2017-06-03 15:49:34 +02:00
Rhys Arkins 775a93172f Add yarn cache support ()
* Add yarn cache support

Closes 

* Fix prettier
2017-06-03 15:25:13 +02:00
Rhys Arkins 07ad13337b Add GitHub App support ()
* Add jsonwebtoken

* Add githubApp option

* Add id and key configs

* Add integer parsing to cli and env

* Remove boolean app enablement

* Drop got

* Add API functions for GitHub Apps

* debug not verbose in api

* Add GitHub App Helper

* Update redact function

* Add GitHub app logic

* Update logging

* Fix lint

* getInstallations tests

* getInstallationToken tests

* getInstallationRepositories tests

* Refactor ghGot structure

* Add github app tests

* Add config tests

* update lockfile
2017-06-02 22:06:15 +02:00
Rhys Arkins 6a0524edb7 Enable templates via env and update design decision doc ()
Closes 
2017-04-29 04:42:17 +02:00
Rhys Arkins e844388e48 Add description of list configuration to docs and CLI help
Closes 
2017-04-26 21:51:14 +02:00
Rhys Arkins 97d2a54561 Add repository autodiscovery ()
Closes 
2017-04-21 07:00:26 +02:00
Rhys Arkins aa3309ffe1 PR Automerging ()
Closes 

* Add automerge definition

* Add mergeMethod

* add mergePr for GitHub

* update definitions

* autodetect merge type

* Check mergeable state

* Don’t split majors if automerging any

* Update mergePr api commands

* fix initRepo tests

* Add tests

* Fix mergePr call

* Fix description

* Revert branchWorker changes

* revert comment

* Add test

* Add major/minor separation tests

* Add status-success tests

* Add not-pending tests

* Add automerge tests

* Check branch status before merge
2017-04-20 13:01:23 +02:00
Rhys Arkins 4283fbf7f8 Improve prCreation description 2017-04-20 07:11:45 +02:00
Rhys Arkins ca7b25825d Add PR Creation stage configuration ()
* Add prCreation config option

* Support ‘status-success’ configuration

* Add option ‘not-pending’
2017-04-17 06:46:24 +02:00
Rhys Arkins adcd152c3f Fix monorepo yarn maintenance ()
Closes  

* Support multiple yarn.lock files for maintenance

Closes 

* Refactor maintainYarnLock logic
2017-04-17 04:54:42 +02:00
Rhys Arkins 05be49757c Dependency groups ()
Closes , Closes 

* Update configuration options

* Upgrade dependencies to latest if groupName is configured

* Update docs

* Add groupName logic
2017-04-15 22:04:14 +02:00
Rhys Arkins cad086d242 Add separateMajorReleases config option () 2017-04-15 12:44:50 +02:00
Rhys Arkins c6cbc00b07 Support package-level configuration ()
Closes  

* Add packages object

* Add first test

* Add override

* More package tests

* Update example config in docs

* Add regex test
2017-04-15 11:37:35 +02:00
Rhys Arkins 701aaef972 Support yarn.lock maintenance ()
Closes  

* Improve yarn logs

* Add processYarnLock

* Update worker.js

* Update worker.js

* Fix and update docs

* Make Yarn Maintenance strings into templates
2017-04-13 22:39:46 +02:00
Rhys Arkins c1a0366f11 Update docs 2017-04-13 21:25:00 +02:00
singapore a98bd9f476 Update config definition descriptions ()
* Update definitions.js

* Update docs
2017-03-13 10:07:57 +01:00
Gustavo 919dac992a fix link to default definitions () 2017-03-13 07:04:36 +01:00
Rhys Arkins 6e2c6e1da0 Add backticks to versions in prBody 2017-02-11 08:15:47 +01:00
Rhys Arkins 191ed70898 Add Gitlab support ()
Closes 
2017-02-11 08:14:19 +01:00
Sébastien ELET 7829dfea96 Add option to rebase stalled PRs ()
Closes  

* feat(rebaseStalePr): add option to rebase stalled PRs

* refactor(pr): rename isStalled to isStale

* docs(*): rebuild the docs
2017-02-06 07:56:33 +01:00
Rhys Arkins 76de590415 Support custom endpoints 2017-02-05 09:13:56 +01:00
Rhys Arkins 87a025c2d1 Refactor for multiple platforms ()
* Add gl-got

* Add platform config definition

* Refactor for multiple platforms

Preparing for 
2017-01-31 18:16:33 +01:00
Sébastien ELET 7c6a891b73 Add option for Requested Reviewers ()
This feature allows for the addition of requested reviewers for Pull Requests.
2017-01-31 14:54:16 +01:00
Rhys Arkins d1f67e8877 Update docs 2017-01-30 07:37:43 +01:00
Rhys Arkins dfd86e3740 Remove recreateUnmergeable option and update docs 2017-01-29 21:53:12 +01:00
Rhys Arkins 00d6249711 Refactor config
Now generates CLI, env and docs
Makes config more testable
2017-01-20 14:03:18 +01:00
Rhys Arkins 1c25eb7b4e Support enabled boolean configuration
Closes 
2017-01-19 10:27:31 +01:00
Rhys Arkins 4af808e4ef Update docs 2017-01-18 21:17:13 +01:00
Rhys Arkins aa4164b89e Add renovate.json support
Closes 
2017-01-18 19:55:03 +01:00
Rhys Arkins 0356dd0eca Refactor templates to use handlebars () 2017-01-18 01:48:17 +01:00
Rhys Arkins 00e96582fa Add state and api to design decisions doc 2017-01-17 18:00:50 +01:00
Rhys Arkins 1586627b64 Configurable ignore behaviour () 2017-01-17 14:27:48 +01:00
Rhys Arkins 9a56bb96fb Support package.json autodiscovery (default)
Closes 

commit e80dbfd9caa56edc3c9980622e6ebffecbc6e104
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Tue Jan 17 09:11:03 2017 +0100

    Update docs

commit 78830806efe35150e9ec4cb5416d43092ccf0fc7
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Tue Jan 17 08:52:23 2017 +0100

    Refactor

commit c44979212f7c51d395a4b4dbffe831af5467b4fc
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Tue Jan 17 07:25:28 2017 +0100

    Set default packageFiles to []

commit c830f0b37928460ed857260e6c4b4c3c23443f1e
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Tue Jan 17 07:14:33 2017 +0100

    Add github.fileFile
2017-01-17 09:12:02 +01:00
Rhys Arkins ea13049899 Document "Recreating Unmergeable Pull Requests" 2017-01-17 09:09:31 +01:00
Rhys Arkins 57a41cac04 Recreate unmergeable PRs
Closes 

commit b9706b2e0de85d3c2953ddda16cfc15ec92279e3
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 18:09:36 2017 +0100

    Fix lint

commit 04bb13b233609cba425b171ba529810b0ba614a1
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 18:08:33 2017 +0100

    Defer changelog and prBody

commit 2f1501aeedf1a3a2fb61db7df8ee1c0424efebb2
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 18:08:15 2017 +0100

    recreateClosed

commit 09cecdfcdd8a991c0d25bc7e27aef273c28595e0
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 13:24:58 2017 +0100

    docs

commit f219c1165086409a806dff8370050ae7909d8176
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 12:40:46 2017 +0100

    Recreate unmergeable PRs

commit c40b6bda284ddefccaddf1487a550d7c3d487a1a
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 12:19:15 2017 +0100

    Delete unmergeable PRs

commit 58283ea70b2b844f02fd025fb11541405b6e3280
Author: Rhys Arkins <rhys@keylocation.sg>
Date:   Mon Jan 16 12:19:03 2017 +0100

    Add github deleteBranch, getBranchPr
2017-01-16 18:10:39 +01:00