Commit Graph

27161 Commits

Author SHA1 Message Date
Rhys Arkins 93b13b55db feat(onboarding): Allow branch cleanup after onboarding (#477)
Refactored location of branch cleanup so that it can be run even if onboarding is enabled.
This means someone can “undo” a closed Configure Renovate and all other PRs would get cleaned up.
v9.17.0
2017-07-09 05:35:41 +02:00
renovate[bot] 58d66a212a fix(deps): Update dependency changelog to version 1.4.0 (#476) v9.16.1 2017-07-08 07:35:12 +02:00
Rhys Arkins b55ba07b47 feat(repository): Ignore package files discovered inside node_modules
Renovate will now ignore any package.json files found within node_modules folders, with the option to disable this functionality by setting config.ignoreNodeModules=false.
v9.16.0
2017-07-08 07:00:58 +02:00
Rhys Arkins 7a841de7e6 feat(onboarding): dependencies.pinVersions=true for private repos (#475)
Closes #369
v9.15.0
2017-07-08 06:01:02 +02:00
Rhys Arkins 8161446ff2 chore(release): Drop custom analyzeCommits 2017-07-07 19:46:56 +02:00
Rhys Arkins 3fa4d9236e refactor(workers): Rename core function names for readability 2017-07-07 19:44:49 +02:00
renovate[bot] 4f84d2a63f fix(deps): Update dependency changelog to version 1.3.1 (#472) v9.14.1 2017-07-07 14:37:50 +02:00
Rhys Arkins 1395187ccc feat(npm): Support packagelock.json maintenance (#471)
Renovate will now "maintain" npm@5's `package-lock.json` files on the same schedule as existing `yarn.lock` maintenance.

Closes #470
v9.14.0
2017-07-07 13:57:43 +02:00
Rhys Arkins 4897d2721f fix(onboarding): fix typo in description v9.13.1 2017-07-07 12:53:24 +02:00
Rhys Arkins 6bd74c979d refactor: send config to ensurePr 2017-07-07 12:37:33 +02:00
Rhys Arkins 0e00dc3f83 fix(templates): Set semanticPrefix for Pin Dependencies 2017-07-07 11:16:03 +02:00
Rhys Arkins d8a054410b feat(onboarding): Allow update of renovate.json if it’s unmodified (#469)
This allows for improvements to renovate’s default renovate.json to be passed on to users who haven’t merged or modified their Configure Renovate PR.

Closes #465
v9.13.0
2017-07-07 11:09:52 +02:00
Rhys Arkins fd33996f0f refactor(onboarding): Update onboarding description (#468)
Better describe renovate.json and if/when it needs to be added.
v9.12.1
2017-07-07 09:53:22 +02:00
Rhys Arkins 06504b4abe feat(onboarding): conventional commits detection (#463)
When onboarding, retrieve the most recent commits from the repository and use https://github.com/conventional-changelog/conventional-commits-detector to parse the commit messages to detect if any conventional commit approach is being used.

Closes #462
v9.12.0
2017-07-07 07:54:09 +02:00
Rhys Arkins 04e20dce8e feat: Prune all orphan branches (#461)
Schedule logic has been refactored to enable the pruning of all orphan branches. 
Now, schedules aren't checked at package-time, instead package upgrades are queued regardless of schedule. 
At branch time, it is checked whether the *branch* is scheduled and then the branch is not created/updated if it's off-schedule.
This enables the repository worker to know all possible branches and hence be able to determine which remaining branches in the repository are "orphans" to be deleted.

Closes #428, Closes #426
v9.11.0
2017-07-07 06:25:38 +02:00
Rhys Arkins eb468341c4 fix: Don’t stringify options body for PR labels (#460)
This has been broken since the upgrade to got 7.x

Closes #456
v9.10.3
2017-07-06 19:24:09 +02:00
renovate[bot] df0e3317eb chore(deps): Update dependency eslint-plugin-import to version 2.7.0 v9.10.2 2017-07-06 13:01:58 +00:00
Rhys Arkins 0ee24ebadf refactor: Use (deps) in semantic prefix defaults (#458)
Closes #417
v9.10.1
2017-07-06 14:39:50 +02:00
Rhys Arkins 44de0886a0 feat: Skip schedules when onboarding (#456)
All PRs/branches will be shown in onboarding even if they have been scheduled for another day or time, providing a "full view" in the onboarding.

Closes #429
v9.10.0
2017-07-06 14:31:39 +02:00
Rhys Arkins 997c4efac2 feat: baseBranch onboarding (#453)
baseBranch is now used when computing the onboarding description in 'Configure Renovate' PR.
v9.9.0
2017-07-06 14:12:52 +02:00
Rhys Arkins 3f35ba73d0 feat: Detect duplicate keys in renovate.json (#455)
Closes #450
v9.8.0
2017-07-06 14:09:35 +02:00
Rhys Arkins ff8d7f23d5 fix: update repositoryWorker tests v9.7.3 2017-07-06 12:31:02 +02:00
Rhys Arkins 80e4fd91fc fix: Use res.upgrades when returning from branchify 2017-07-06 11:05:03 +02:00
Rhys Arkins 1122f76e98 fix: branchifyUpgrades should return an object (#451) v9.7.2 2017-07-06 10:59:25 +02:00
Rhys Arkins 48c960b841 refactor: Move generateConfig code from branchWorker to repositoryWorker (#449)
This allows the onboarding PR to share the grouping logic and not have to duplicate it.
v9.7.1
2017-07-06 10:35:27 +02:00
Rhys Arkins dc5773c2e5 feat: Configurable base branch for PRs (#448)
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 #443
v9.7.0
2017-07-06 10:26:18 +02:00
Rhys Arkins cd54997d08 fix: Remove yarn version from package.json (#446)
This pinned yarn version prevents newer or older versions of yarn from installing renovate.
v9.6.2
2017-07-05 18:12:58 +02:00
Rhys Arkins 8c0c5233a6 fix: Install npm@5 in CI (#447)
Might help #445
v9.6.1
2017-07-05 18:11:27 +02:00
Rhys Arkins ea4e370d3f feat: Prune stale branches (#441)
A separate routine is run after branch creation to detect any branches that should be deleted. A branch will be removed if:
- It was not created by renovate in the last run, AND
- It has no PR, or its corresponding PR is not mergeable

Closes #426, Closes #428
v9.6.0
2017-07-05 11:57:22 +02:00
Rhys Arkins 5c34b74b08 feat: Show schedules in PRs (#439)
Closes #425
v9.5.0
2017-07-05 08:09:35 +02:00
Rhys Arkins 1716e122cd feat: expand PR errors (#437)
Errors in PRs are expanded to include:
- If renovate.json parsing fails
- If an empty or unparseable package.json was found

Closes #435
v9.4.0
2017-07-05 07:12:25 +02:00
Rhys Arkins c30472dd43 feat: Add ability to skip status checks for automerge (#438)
This starts off [#359](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.
v9.3.0
2017-07-05 07:02:25 +02:00
Rhys Arkins 6034159909 Fix: add extra check for commit author (#436)
* fix: Detect undefined commit.author

Closes #409

* refactor author check

* Add debug

* Update test
2017-07-04 19:22:09 +02:00
Rhys Arkins 48fa9bb923 fix: format json in config table correctly (#434)
Closes #427
v9.2.2
2017-07-04 14:29:45 +02:00
Rhys Arkins 116a330eef fix: close if tag in group.prBody template v9.2.1 2017-07-04 14:29:18 +02:00
Rhys Arkins e0e0b259c3 feat: Show warnings and errors in regular PRs (#433)
If errors or warnings are present, they will be displayed in the PR body of all PRs now (not just onboarding).

Closes #431
v9.2.0
2017-07-04 13:52:23 +02:00
Rhys Arkins 2f987a4037 feat: Show warnings and errors in Onboarding PR (#432)
Warnings and Errors are bubbled up when renovating a repository, together with the existing upgrades. The Onboarding PR ("Configure Renovate") now displays them and encourages the user to fix before merging/closing the PR.

Closes #414
v9.1.0
2017-07-04 12:39:28 +02:00
renovate[bot] 4d362e8eba fix: Update dependency commander to version 2.11.0 v9.0.13 2017-07-03 11:31:11 +00:00
Rhys Arkins 4272b113d2 refactor: configuration options and update docs (#423) v9.0.12 2017-07-03 11:34:46 +02:00
Rhys Arkins f2833c8275 refactor: Add 'package' stage to config definitions (#421)
* Add package phase

* Rename phase to stage
v9.0.11
2017-07-03 10:31:36 +02:00
renovate[bot] a17536bff5 chore: Lock file maintenance (#419) v9.0.10 2017-07-03 09:56:21 +02:00
The Gitter Badger f9e08c49d7 chore: Add a Gitter chat badge to readme.md (#420)
* Add Gitter badge

* Update readme.md
v9.0.9
2017-07-03 09:55:49 +02:00
Rhys Arkins 6dc143e76c fix: delete token before npm api tests (#418) v9.0.8 2017-07-02 21:29:09 +02:00
Rhys Arkins faa754d136 Use NPM_TOKEN for registry lookup 2017-07-02 20:52:31 +02:00
Rhys Arkins b67b3087e5 refactor: rename option.level to option.phase v9.0.7 2017-07-02 09:15:33 +02:00
Rhys Arkins 992df5075e Remove “next” tag for v9 publish 2017-07-02 08:14:24 +02:00
Rhys Arkins 1cf8330125 fix: group branchName handlebars error
Closes #410
v9.0.5
2017-07-02 07:50:46 +02:00
Rhys Arkins c608ac2e46 refactor: rename branchWorker.updateBranch -> processBranchUpgrades v9.0.4 2017-07-02 06:44:49 +02:00
Rhys Arkins b58452620a refactor: rename groupUpgradesByBranch to branchifyUpgrades 2017-07-02 06:40:40 +02:00
Rhys Arkins 3ec668225a fix: use new config for pin.group.prTitle 2017-07-02 06:38:59 +02:00