- Nov 03, 2017
-
-
Rhys Arkins authored
This PR refactors the onboarding PR logic into its own subdirectory and redesigns it to use plain markdown instead of html. Plain markdown in PR bodies is a requirement for adding VSTS Support ( #1049 ).
-
Rhys Arkins authored
-
Rhys Arkins authored
* refactor: move monorepos logic to npm manager * fix test
-
Rhys Arkins authored
Also clarify docs that encrypted config must be contained in renovate.json (i.e. not package.json).
- Nov 01, 2017
-
-
Rhys Arkins authored
99% of the time we should not Renovate forked repositories. Previously, we skipped onboarding them unless a renovate.json was present. However, that meant that if someone forked a repository where the source was using Renovate, then the fork gets renovated automatically too. After this change, forked repositories need to set renovateFork=true in their renovate.json Closes #940 BREAKING CHANGE: Forked repositories now need to configure renovateFork=true in renovate.json
-
- Oct 25, 2017
-
-
Rhys Arkins authored
* refactor platform * refactor detect package files * fix * refactor npm detect * refactor meteor detect * refactor: move detect package files completely to manager * update snapshots
-
- Oct 23, 2017
-
- Oct 18, 2017
-
-
Rhys Arkins authored
* refactor: await fs.readFile instead of sync version * fix: replace fs and tmpDir sync with promises
-
Rhys Arkins authored
This solves the missing config.api problem introduced when moving to recursion
-
- Oct 16, 2017
-
-
Rhys Arkins authored
-
- Oct 12, 2017
-
-
Rhys Arkins authored
* refactor: simplify onboarding logic * docker meteor tests * handle no package files case * fix coverage
-
Rhys Arkins authored
-
- Oct 11, 2017
-
-
Rhys Arkins authored
* Revert "feat: support docker and meteor onboarding without npm" This reverts commit 437145b9. # Conflicts: # test/workers/repository/onboarding.spec.js * chore: downgrade npm cache message from debug to trace
-
Rhys Arkins authored
-
- Sep 22, 2017
-
-
Rhys Arkins authored
* fix: add upgrade and branch timings to log Adds timing logs for upgrade detection + branch updating stages. Closes #821 * improve request retry logging
-
- Sep 14, 2017
-
-
Rhys Arkins authored
This feature adds initial support for renovating Dockerfiles. Renovate now: - Detects all `Dockerfile`s in repo - Searches for `FROM x` in first non-comment line, breaks x into image, tag, digest - Queries public Docker registry for image:tag combination to find latest digest - Patches Dockerfile if necessary - Creates branches/PRs as like with npm Closes #795
-
- Sep 12, 2017
-
-
Rhys Arkins authored
* add minimatch * feat: use package names for ignoring when lerna or workspaces Renovate will now: - Find all package.json files matching lerna or yarn workspaces glob pattern - Retrieve package names from within those package.json files - Implicitly ignore (not renvoate) any of those names Closes #781
-
- Sep 02, 2017
-
-
Rhys Arkins authored
If a repository has a lock file error (e.g. can’t look up a private module) then it will no longer attempt to create every branch. Instead, it will error/exit after the first branch. Additionally, “Pin Dependencies” has been sorted to be first and further branches won’t be added or updated until Pin Dependencies has been merged.
-
- Sep 01, 2017
-
-
Rhys Arkins authored
A new config object `encrypted` can be defined at any level and contain encrypted configuration strings. Initial use is for encrypting an npm token for use with the hosted renovate app. Closes #650
-
- Aug 28, 2017
-
-
Rhys Arkins authored
Previously, the automerge feature was causing some undesirable behaviour when multiple branches were open at the same time. Example: #707. The main problem is that other branches will still be calculated based on the original `package.json` contents and not the post-merge contents. The simplest solution seems to be: - Stop all subsequent branch processing after any automerge - Restart repository renovation This continues until no branch has automerged in a cycle. Closes #750
-
- Aug 26, 2017
-
-
Rhys Arkins authored
This is a major refactor of branch code to prepare for Yarn workspaces plus creating PRs for branches with failing lockfiles. Marked as "feature" to cause a minor version bump due to the moderate chance of accidentally breaking something.
-
- Aug 22, 2017
-
-
Rhys Arkins authored
tmpDir is now created once per-repository and package.json files are written and lockfiles generated based on the repo's directory structure. This way node_modules can be reused between branches in same run. Closes #501
-
- Aug 21, 2017
-
-
Rhys Arkins authored
Previously, preset resolution was being done last, after merges of renoate.json or package.json config. This caused wrong ordering of config in cases where both presets + regular config was in use. Instead, resolving of presets is now done at each stage before merging. Fixes #708
-
- Aug 18, 2017
-
-
Rhys Arkins authored
This PR implements eslint-inspired shareable configs. With this feature, we: - Add new config option "extends" * This is an array of preset config names that the current config or preset extends/inherits from - Add new config option "description" * Each preset config should include a description of its functionality that is human-readable - Provide a set of commonly use configs called "preset defaults" - Provide two "full" preset configs: "app" and "library" * Almost the same but app pins *all* version numbers while library only pins devdependencies - Replace regular config in onboarding with one of these two presets - Generate human-readable description of config in Onboarding PR - Support npm for hosting configs (both scoped and non-scoped) Closes #657, Closes #671, Closes #647
-
- Aug 17, 2017
-
-
Rhys Arkins authored
-
- Aug 08, 2017
-
-
Rhys Arkins authored
Repository initialisation is refactored so that all package files and their content is retrieved up-front before an renovating begins. This allows us to know both how many package files as well as determine if there is renovate json in a package.json before triggering the onboarding PR. Closes #634
-
- Aug 04, 2017
-
-
Rhys Arkins authored
This allows for the easy overriding of our default `renovate/` branch naming. Closes #586
-
- Aug 03, 2017
-
-
Rhys Arkins authored
Closes #226
-
- Jul 30, 2017
-
-
Rhys Arkins authored
This feature is particularly useful in the case that renovate is enabled on all repositories a user/account has. Many of those might be forks, and it makes no sense to renovate those by default. Instead, Renovate will skip over forked repositories unless a renovate.json has been added to their root. Also, Renovate will now prune branches after deciding to skip a repository, whether because of a fork or disablement. Closes #541
-
- Jul 19, 2017
-
-
Rhys Arkins authored
-
- Jul 18, 2017
-
-
Rhys Arkins authored
Closes #379
-
Rhys Arkins authored
-
- Jul 17, 2017
-
-
Rhys Arkins authored
-
- Jul 09, 2017
-
-
Rhys Arkins authored
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.
-
- Jul 07, 2017
-
-
Rhys Arkins authored
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
-
- Jul 06, 2017
-
-
Rhys Arkins authored
baseBranch is now used when computing the onboarding description in 'Configure Renovate' PR.
-