Rhys Arkins
27ee7687d9
fix: skip branch creation if unpublishable pr not ready for creating
...
Don’t create a branch until its unpublishable.
Fixes #1580
2018-03-21 11:40:28 +01:00
Rhys Arkins
ee3240908b
feat: requireConfig ( #1695 )
...
Adds option to bot owners to require a renovate config be in place.
Closes #1694
2018-03-21 10:08:55 +01:00
Rhys Arkins
fa2bda45fe
fix: delete lockFileMaintenance branch if no longer necessary
...
If a lockFileMaintenance branch returns no updated lockfiles then we should delete it.
Closes #1655
2018-03-16 10:51:10 +01:00
Rhys Arkins
ef26aa7ea4
fix: rebase lock file maintenance PRs if configured
...
Fixes so we skip lock file generation for lock file maintenance branches only if it *doesn’t* need rebasing.
Helps #1655
2018-03-16 06:28:46 +01:00
Rhys Arkins
23d0290384
fix: raise PR immediately if there are lock file errors ( #1664 )
...
fix: raise PR immediately if there are lock file errors
2018-03-15 07:06:18 +01:00
Rhys Arkins
e62aa89a6c
feat: customisable prFooter ( #1648 )
2018-03-12 13:35:15 +01:00
ikisialeu
c0f87172fa
fix: validate timezones ( #1638 )
...
`Adds a config validation check for timezone, checking it against the list in moment-timezome.js`. Configs with invalid timezones will raise a configuration error.
Closes #1483
2018-03-12 04:24:45 +01:00
eMerzh
088279abbd
fix: return shrinkwrapdir to avoid crash ( #1621 )
2018-03-08 15:59:52 +01:00
Rhys Arkins
c2f0a46d9a
feat: npm shrinkwrap
...
Adds support for npm-shrinkwrap.json files.
Closes #67
2018-03-08 09:46:08 +01:00
Rhys Arkins
308ed432db
feat: upgradeInRange ( #1608 )
...
Upgrade ranges to latest version even if latest version satisfies existing range.
| name | value |
| ------- | ------- |
| type | boolean |
| default | false |
By default, Renovate assumes that if you are using ranges then it's because you want them to be wide/open. As such, Renovate won't deliberately "narrow" the range by increasing the semver value inside.
For example, if your `package.json` specifies a value for `left-pad` of `^1.0.0` and the latest version on npmjs is `1.2.0`, then Renovate won't change anything. If instead you'd prefer to be updated to `^1.2.0` in cases like this, then set `upgradeInRange` to `true` in your Renovate config.
This feature supports simple caret (`^`) and tilde (`~`) ranges only, like `^1.0.0` and `~1.0.0`. It is not compatible with `pinVersions=true`.
Closes #1607
2018-03-07 07:41:10 +01:00
Rhys Arkins
d237c6c670
feat: add comment to PRs if config validation fails
2018-03-06 20:00:10 +01:00
Rhys Arkins
96835410d8
feat: validate renovate config PRs ( #1602 )
...
feat: validate renovate config PRs
2018-03-06 15:21:17 +01:00
Rhys Arkins
886a3d05bf
refactor: rename ‘node’ manager to ‘travis’
2018-03-03 15:35:43 +01:00
Rhys Arkins
3c56f8aeb6
refactor: move manager-specific code under lib/manager ( #1573 )
...
Refactors all non-npm code to live inside lib/manager/*
2018-03-03 14:39:39 +01:00
Rhys Arkins
bb2fc1b7ca
refactor: move npm extract from workers to manager
2018-03-01 10:21:26 +01:00
Rhys Arkins
cf336a0b21
refactor: use manager not packageFile
2018-02-28 19:01:35 +01:00
Rhys Arkins
d0fa221ae3
fix: only rebase if pr is dirty (github)
2018-02-27 19:50:16 +01:00
Rhys Arkins
bc684c7b29
fix: implicit patch-only upgrade
...
Use type ‘patch’ only when patch automerge is true AND minor automerge is not true.
2018-02-27 14:50:09 +01:00
Rhys Arkins
f95058d66b
refactor: move npm registry to datasource
2018-02-27 10:49:24 +01:00
Rhys Arkins
9263fd36b3
fix: don’t overwrite edited onboarding configs
...
Before, we were attempting to rebase edited branches if renovate.json was the only modified file. This “lost” the committer information - which seemed ok - but it also meant that on the subsequent run it then assumed Renovate was the only committer. Now we don’t rebase edited onboarding branches anymore.
Closes #1360
2018-02-22 19:46:57 +01:00
Rhys Arkins
1fd83139ed
feat: configurable onboarding config ( #1543 )
...
Adds configuration option `onboardingConfig` that allows the default onboarding config to be extended or replaced via `config.js` or env configuration.
Closes #1521
2018-02-21 19:50:58 +01:00
Rhys Arkins
182d1c7348
fix: don't use --package-lock-only for npm install ( #1544 )
...
* Revert "fix: disable reusing existing package-lock.json when upgrading (#1530 )"
This reverts commit 2728e39963
.
* switch from —package-lock-only to —ignore-scripts
Removing `--package-lock-only` option from npm installs due to https://github.com/npm/npm/issues/19852
Pretty sure this fixes #1495
2018-02-21 08:12:25 +01:00
Rhys Arkins
2b8886f17b
tests: fix npm registry mock
...
Closes #1538
2018-02-21 07:47:48 +01:00
Rhys Arkins
2728e39963
fix: disable reusing existing package-lock.json when upgrading ( #1530 )
...
Skip writing package-lock.json locally before `npm install —package-lock-only` to work around https://github.com/npm/npm/issues/19852
Workaround to fix #1528
2018-02-18 21:16:04 +01:00
Rhys Arkins
576f38efdc
fix: use isUmergeable instead of mergeable
2018-02-16 16:19:26 +01:00
Rhys Arkins
b1da837da1
fix: create Pr if prNotPending hours exceeded for branch automerge
2018-02-09 13:29:47 +01:00
Rhys Arkins
b1ad1bb058
fix: detect renamed repositories and skip
2018-02-08 16:04:25 +01:00
Rhys Arkins
f07a7a33c0
fix: strip trailing #something from manual repository url
2018-02-08 13:22:39 +01:00
Rhys Arkins
5794e008ce
feat: look up missing dep repository manually if changelog fails
2018-02-08 13:00:22 +01:00
Rhys Arkins
c7efe253da
fix: massage changelog release note bodies
2018-02-07 11:01:43 +01:00
Rhys Arkins
545218468f
fix: Better summary/details substitution for gitlab pr bodies
2018-02-07 10:53:44 +01:00
Rhys Arkins
c97b1db1e6
tests: update snapshots
2018-02-07 10:36:11 +01:00
Rhys Arkins
4a7f493ec4
fix: delete branch if create pr returns “validation failed”
2018-02-07 08:05:32 +01:00
Rhys Arkins
f6e2627774
feat: parse CHANGELOG.md in source repositories ( #1491 )
...
Parses `CHANGELOG.md` for first or second-level markdown headings matching versions. Supports GitHub-only source repositories for now.
Closes #1470
2018-02-06 18:53:36 +01:00
Rhys Arkins
4663967379
fix: better lerna version detection
2018-02-06 15:49:21 +01:00
Rhys Arkins
a79222b777
fix: catch initRepo 403 (github)
2018-02-05 22:23:50 +01:00
Rhys Arkins
9c89629183
fix: re-enable lerna bootstrap ( #1487 )
...
* Revert "fix: Revert "feat: lerna bootstrap support (#1486 )""
This reverts commit 4e592d601d
.
* fix: fix lerna.json detection
2018-02-05 20:06:24 +01:00
Rhys Arkins
4e592d601d
fix: Revert "feat: lerna bootstrap support ( #1486 )"
...
This reverts commit 3cab59d2fe
.
2018-02-05 19:40:54 +01:00
Rhys Arkins
3cab59d2fe
feat: lerna bootstrap support ( #1486 )
...
Adds support for running `lerna bootstrap` instead of `npm install` or `yarn install` (without Workspaces), hence allowing support of internally-linked dependencies.
Closes #1441 , Closes #1443
2018-02-05 19:30:07 +01:00
Rhys Arkins
e306f707db
fix: abort renovation if repository has changed during run
...
If attempting to create a branch and it already exists, or attempting to update a branch and it no longer exists, then we abort.
2018-02-03 15:45:43 +01:00
Rhys Arkins
720b46696a
feat: gitlab branch cleanup ( #1475 )
...
Removes the GitHub-only check when cleaning/pruning branches.
2018-02-03 12:06:25 +01:00
Rhys Arkins
b184d3a217
fix: handle 403 blocked from github
2018-02-02 18:04:41 +01:00
Rhys Arkins
c70c72f14b
feat: release notes in pull requests (sourced from github releases) ( #1465 )
...
Detects and embeds release notes found on GitHub when an npm dependency specifies a GitHub repository as its source and that repository has made use of the "Releases" feature.
2018-02-02 12:37:16 +01:00
Rhys Arkins
7afb693151
fix: update all pr body templates to use h1 headings
2018-02-02 10:56:40 +01:00
Rhys Arkins
360a640e40
fix: use v prefix for versions in PR bodies
2018-02-02 10:55:52 +01:00
Rhys Arkins
a008b1f1cd
refactor: use h1 for pr headings
2018-02-02 10:49:27 +01:00
Rhys Arkins
9195adc58a
refactor: sort versions and commits from oldest to newest
...
List versions and their commits in PR bodies in the order they were made (oldest to newest).
2018-02-02 05:42:22 +01:00
Rhys Arkins
a708005886
fix: massage issues/pulls links in public repos to be non-linking
2018-02-01 11:36:30 +01:00
Rhys Arkins
cadb4b796f
fix: massage updated less than/greater than to match existing format
2018-02-01 08:25:52 +01:00
Rhys Arkins
6fc1f94936
feat: list package files in onboarding PR
...
Closes #1461
2018-01-31 13:20:55 +01:00