Commit Graph

3688 Commits

Author SHA1 Message Date
Rhys Arkins 8a2818db8e fix(automerge): default to pr, not pr-comment 2018-05-13 08:01:58 +02:00
Rhys Arkins 8ca30e5b92 fix: use getBranchPr not findPr for onboarding
This allows for the case where the user renames the PR.
2018-05-11 17:59:30 +02:00
Rhys Arkins 6f583ab0e6 fix(presets): set npmrc after first decrypt
In case the renovate config has a npmrc in it that is used to decrypt a preset.
2018-05-11 15:43:14 +02:00
Rhys Arkins 680a0bc193 fix: don’t fetch .npmrc in initApis
It will be fetched if there is a package.json anyway
2018-05-10 21:03:25 +02:00
Rhys Arkins 916e258bbd fix: spoil github autolinking even for private repos
Closes #1931
2018-05-09 20:09:34 +02:00
Rhys Arkins 4babdd989e fix: delete branch if PR fails with 502 error 2018-05-09 19:53:46 +02:00
Rhys Arkins 16de6a2912 logs: less changelog 2018-05-09 18:42:47 +02:00
Rhys Arkins e7a9c0fe44 logs: don’t log changelog headings 2018-05-09 18:38:32 +02:00
Rhys Arkins eccef72b52 fix(npm): restore autodetect pinVersions 2018-05-09 18:17:11 +02:00
Rhys Arkins 4791742060 fix: close configuration issue 2018-05-09 18:03:48 +02:00
Rhys Arkins 3989d47f76 fix: re-enable semantic commit detection 2018-05-09 14:38:17 +02:00
Rhys Arkins 407f8fc576 refactor: drop key after decrypt 2018-05-09 13:43:23 +02:00
Rhys Arkins 43ac21778f logs: decrease debugging 2018-05-09 13:31:04 +02:00
Rhys Arkins 66804bf211 logs: drop excessive debug 2018-05-09 13:26:16 +02:00
Rhys Arkins d4de9108af feat: skip PR generation if lock file generation fails 2018-05-09 12:10:45 +02:00
Rhys Arkins d75a220008 fix: filter out disabled updates 2018-05-09 11:37:35 +02:00
Rhys Arkins 9fe651bca9 logs: drop unnecessary flatten debugs 2018-05-09 10:14:35 +02:00
Rhys Arkins ecdcd9df4f feat: refactor dependency extraction (#1912)
Rewrite of dependency extraction, particularly for npm. Paves way for easier addition of new package managers.

Closes #1882
2018-05-09 08:03:59 +02:00
Ayoub Kaanich 38a4397feb feat: changelog for pip (#1927)
This PR adds support for pip changelog,
unlike npm, I couldn't find a mapping between github and pip other than github being used as the homepage of some projects, if there are other ways of mapping it would be helpful.

Closes #1911
2018-05-08 04:55:16 +02:00
Rhys Arkins 9ffd0abda1 refactor: replace stringify/parse with fast-clone 2018-05-07 21:50:40 +02:00
Rhys Arkins 812fe227b8 fix(onboarding): adjust packageFiles check when filtering 2018-05-07 20:14:00 +02:00
Rhys Arkins ad16528fa0 fix: don’t debug branches when sorting 2018-05-07 13:21:46 +02:00
Rhys Arkins 2517c9f1d9 refactor: renovateRepository split (#1928) 2018-05-07 12:59:32 +02:00
Rhys Arkins 6431cf6861 refactor: move sortBranches 2018-05-07 07:59:53 +02:00
Rhys Arkins c0c935963e refactor: remove null onboarding case 2018-05-07 07:55:49 +02:00
Rhys Arkins 4a4feb35ab refactor: pass branches explicitly to repo onboarding 2018-05-07 07:02:08 +02:00
Rhys Arkins 7189f4682f refactor: simplify repo init 2018-05-07 06:47:17 +02:00
Rhys Arkins 3dbd470f61 refactor: move repo processResult 2018-05-07 06:33:49 +02:00
Rhys Arkins 1eb37c4373 refactor: move repo finalise logic to own directory 2018-05-07 06:26:07 +02:00
Ayoub Kaanich edfcfc3838 feat: decouple npm and github logic in changelog (#1926)
This PR splits the logic behind changelog into manager (npm) and source (github)
the manager provides the repo url + versions
the source consumes the manager info and generates changelog info

Closes #1911
2018-05-07 04:49:26 +02:00
Rhys Arkins ac2bc0decb refactor: rename upgrades to updates in branchify 2018-05-06 20:12:01 +02:00
teppeis abebabb91d fix: remove a useless param 2018-05-06 18:02:54 +02:00
Rhys Arkins 4c72978e29 fix: strip git suffix from changelog repository 2018-05-06 12:33:58 +02:00
Rhys Arkins 93547f12df refactor: simplify stale lock file maintenance deletion 2018-05-06 12:28:37 +02:00
Rhys Arkins 1762ee68a0 feat: automergeComment (#1906)
Adds new option “pr-comment” for `automergeType` and a new option `automergeComment` to use in such a case.
2018-05-04 06:55:01 +02:00
Rhys Arkins 7a6bcfcf0e fix: handle undefined depType in onboarding PR 2018-05-03 18:35:57 +02:00
Rhys Arkins 19e35ffee0 refactor: return object from extract (#1914) 2018-05-03 18:09:18 +02:00
Rhys Arkins 45f3c4c765 refactor: move package rules logic to separate file 2018-05-03 14:41:04 +02:00
Rhys Arkins 16c1fe85a4 refactor: remove unused dep type merge config 2018-05-01 20:04:44 +02:00
Rhys Arkins 89b4401b5f chore: log source repo with tag failure 2018-05-01 17:55:05 +02:00
Rhys Arkins a20376d336 refactor: info not warn when missing tags 2018-05-01 17:27:53 +02:00
Rhys Arkins 6199b88ac5 fix: rename cachePath for changelog commits 2018-05-01 12:39:46 +02:00
Ayoub Kaanich 0b64cfac3e feat: refactor commits retrieval (#1886)
Refactor changelog (commits) logic to separate sources, and remove the `changelog` dependency. Instead of a full copy/paste of commits, a link is now provided to the source repo.

Closes #381
2018-05-01 11:55:40 +02:00
Rhys Arkins 2606219485 fix(packageRules): get packageFile from depTypeConfig 2018-04-28 15:47:09 +02:00
Rhys Arkins 757154ded4 feat: add paths selector to packageRules (#1879) 2018-04-28 08:56:15 +02:00
Rhys Arkins 3257bf73df refactor: simplify packageRule logic 2018-04-28 08:16:35 +02:00
Țurcanu Dragomir 305f094bd4 Added matchCurrentVersion selector to packageRules (#1835)
The matchCurrentVersion option sets a range of versions that a package update can be in. If the package's current version doesn't satisfy the matchCurrentVersion range, it won't match the rule.

Closes #1771
2018-04-27 05:45:22 +02:00
Rhys Arkins 5e3339aacb feat: support commit prefix in onboarding commit (#1868)
This PR adds the capability so that the onboarding commit message (“Add renovate.json”) will have a prefix if semanticCommits is explicitly set to true by the bot administrator.

e.g. “renovate a/b —semantic-commits=true —semantic-commit-type=foo” will result in the onboarding commit being “foobar: add renovate.json”.

Closes #1867
2018-04-26 14:06:36 +02:00
Rhys Arkins 6415833a4b refactor: renovateapp.com -> renovatebot.com 2018-04-24 13:59:42 +02:00
Rhys Arkins 1564150d9f refactor: streamline debug logging 2018-04-18 21:19:00 +02:00