Commit Graph

464 Commits (v9.73.4)

Author SHA1 Message Date
Rhys Arkins c15cfb6406 fix: refactor package file detection to not modify deep state () 2017-10-12 20:02:04 +02:00
Rhys Arkins 19949f2604 fix: migrate automergeMajor automergeMinor automergePatch ()
This is a misconfiguration by a user but no harm in adding it to migrations.
2017-10-12 18:55:46 +02:00
Rhys Arkins ad3f8d945f fix: wrap meteor parsing in try/catch () 2017-10-12 18:25:26 +02:00
Rhys Arkins 393c24c652 fix: stop attempting branch merge if pr exists () 2017-10-12 17:39:10 +02:00
Rhys Arkins 8b99ce5294 feat: detect languages during onboarding ()
* refactor: simplify onboarding logic

* docker meteor tests

* handle no package files case

* fix coverage
2017-10-12 16:29:20 +02:00
Rhys Arkins 97ebf27382 refactor: getOnboardingStatus returns config object () 2017-10-12 10:58:16 +02:00
Rhys Arkins 0560506cd4 chore: downgrade npm getDependnecy ebug to log () 2017-10-12 10:16:33 +02:00
Rhys Arkins e9ee8002df fix: revert docker/meteor onboarding code ()
* Revert "feat: support docker and meteor onboarding without npm"

This reverts commit 437145b901.

# Conflicts:
#	test/workers/repository/onboarding.spec.js

* chore: downgrade npm cache message from debug to trace
2017-10-11 19:25:25 +02:00
Rhys Arkins 68bcb5e726 fix: convert for loop to for..of ()
* fix: convert for loop to for..of

* chore: lessen preset debugging

* chore: set detectPackageFiles to debug

* fix lint
2017-10-11 18:54:09 +02:00
Rhys Arkins bf2491bfc1 fix: don’t automerge pinned dependencies () 2017-10-11 16:20:17 +02:00
Rhys Arkins ba70f2a7c7 fix: log err headers if giving up on rate limit exceeded () 2017-10-11 15:18:50 +02:00
Rhys Arkins 1696244ca0 feat: warn in onboarding if package.json missing or failed to parse ()
* chore: downgrade json parsing warning from warn to debug

* feat: warn in onboarding if package.json missing or failed to parse

Closes 
2017-10-11 14:38:40 +02:00
Rhys Arkins 83ecc08541 fix: add commitMessage for pin groups ()
Fixes 
2017-10-11 13:10:12 +02:00
Rhys Arkins a60748c5ec feat: improve onboarding help
Adds mention of app author + how to recreate PR.
2017-10-11 12:46:30 +02:00
Rhys Arkins ce178f96bc chore: improve meteor and docker info log 2017-10-11 12:10:31 +02:00
Rhys Arkins 437145b901 feat: support docker and meteor onboarding without npm 2017-10-11 12:10:31 +02:00
Rhys Arkins ff906bd832 fix: rename javascript types to npm 2017-10-11 12:10:31 +02:00
Rhys Arkins a1941e309b fix: only check package.json file types for isPrivate 2017-10-11 12:10:31 +02:00
Rhys Arkins eacd2b258a refactor: check if npm enabled before detecting files 2017-10-11 12:10:31 +02:00
Rhys Arkins 7c17c666f4 fix: better pin description in oboarding 2017-10-11 12:10:31 +02:00
Rhys Arkins 039ff55b88 refactor: rename depType docker to Dockerfile 2017-10-11 12:10:31 +02:00
Rhys Arkins df52f68b3e chore: add npm config to definitions 2017-10-11 12:10:31 +02:00
Rhys Arkins 343814d467 fix: use presets js-app and js-lib () 2017-10-10 12:34:35 +02:00
renovate[bot] 8866603a46 fix(deps): update dependency get-installed-path to v4 ()
* fix(deps): update dependency get-installed-path to v4.0.3

* fix
2017-10-08 06:30:01 +02:00
Rhys Arkins 28a18b18da feat: write existing lockfile before regenerating ()
It appears that writing the existing lockfile before regenerating a new one can help speed some resolutions up.

Closes 
2017-10-08 05:52:58 +02:00
Rhys Arkins 5ad377655f fix: don’t group lockFileMaintenance update ()
Setting lockFileMaintenance.groupName =  null will prevent the case where the user configures a repository groupName like “all” and then that group inherits the schedule of lock file maintenance. Instead, there will be renovate/all and renovate/lock-file-maintenance.

Fixes 
2017-10-05 11:07:15 +02:00
Rhys Arkins 88f9bb40f7 fix: downgrade github branch merge api error to warn () 2017-10-05 10:45:08 +02:00
Rhys Arkins 913d0cf208 feat: create PRs if branch automerge failed () 2017-10-05 09:31:10 +02:00
Rhys Arkins bb263cca60 fix: catch error in checkForClosedPr and return false (github) () 2017-10-05 09:25:45 +02:00
Rhys Arkins 5dab080ef7 fix: info message if automerge branch fails ()
* fix: info message if automerge branch fails

* fix snapshot
2017-10-04 16:52:50 +02:00
Rhys Arkins 83ec9341de feat: npm cache expiry ()
* use keyv for cache

* set expiry to 5 minutes

Closes 
2017-10-03 10:39:03 +02:00
Rhys Arkins 88e6406e77 fix: dont log full upgrade object () 2017-10-02 20:34:51 +02:00
Rhys Arkins 853a43937a fix: check if depName exists before replacing () 2017-10-02 14:14:24 +02:00
Rhys Arkins e42b4034eb feat: sanitize branch names ()
Previously, you might see branch names like `renovate/@types/jquery-3.x`. Now, such branches will instead be like `renovate/types-jquery-3.x`.
2017-10-02 11:38:42 +02:00
Rhys Arkins 188f50ba5f fix: use preview header when requesting reviewers (github) () 2017-10-02 06:57:13 +02:00
Rhys Arkins d392efc36c chore: add filename to Renovating package.json log () 2017-10-01 15:25:05 +02:00
Rhys Arkins 1c42140475 fix: write npmrc to subdirectories with lock file ()
* fix: write npmrc to subdirectories with lock file

* fix lint
2017-09-29 10:42:16 +02:00
Rhys Arkins 6969ff3a36 fix: only massage package name if name exists () 2017-09-29 10:37:02 +02:00
Rhys Arkins b689509eb2 fix: don’t error if packageFile configured () 2017-09-29 09:36:14 +02:00
Rhys Arkins d5f11ad9bd feat: remove {} template strings from package.json name () 2017-09-29 09:18:59 +02:00
Rhys Arkins 4702f2ad95 fix: escape filename %2F (GitLab) ()
Fixes 
2017-09-29 09:05:36 +02:00
Rhys Arkins 8125c772ae feat: ignoreNpmrcFile ()
This feature adds support for ignoring .npmrc files in a repository. Set config option to true if you wish to ignore.

Closes 
2017-09-29 08:22:22 +02:00
Rhys Arkins 23f8467d1e feat: support non-root yarn workspaces ()
Previously, Renovate assumed that any yarn workspaces configuration would be in the root of the repository. Now, workspaces can be located within a subdirectory, e.g. `frontend/`. Note: Renovate still supports only one workspace per repository, please file an issue if you require more than one.

Closes 
2017-09-29 08:08:52 +02:00
Rhys Arkins 43bff1ee54 fix: improve every xday schedule migration ()
Fixes 
2017-09-28 19:42:33 +02:00
singapore 7ef9e65052 chore: downgrade rebase warning to info 2017-09-28 15:04:27 +02:00
singapore 97ee1d7588 chore: downgrade "all merge attempts failed" from warn to info 2017-09-28 15:03:21 +02:00
Rhys Arkins 636b5fd82a fix: log npm version when generating lockfile ()
Now adds `stdout` and `stderr` from `npm` and `yarn` installs to the "Generated lockfile" log message, so that the exact versions of npm and yarn can be known in the default logs.

Closes 
2017-09-24 16:53:47 +02:00
Rhys Arkins 7208488402 fix: log when automerging succeeds () 2017-09-24 16:34:34 +02:00
Rhys Arkins fe61fe2e7f fix: add —ignore-engines to yarn install () 2017-09-23 08:05:43 +02:00
Rhys Arkins bc18850e05 fix: use dummy time if missing from npm response () 2017-09-23 08:00:17 +02:00