Commit graph

2180 commits

Author SHA1 Message Date
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
HonkingGoose
86affcd4a7
chore: fix capitalization of nouns in comment (#7678) 2020-11-11 11:19:08 +01:00
renovate[bot]
da6e3da17c
chore(deps): update linters (#7245)
* chore(deps): update linters

* chore: fix lint

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-30 07:35:12 +02:00
Florian Greinacher
71cf56eaf9
feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
renovate[bot]
907b2b054e
chore(deps): update linters (major) (#7185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-07 09:54:07 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Maxim Danilov
db717a7767
feat(jenkins-plugins): Add Jenkins Plugins datasource (#6848)
* feat(jenkins-plugins): Add a datasource for Jenkins plugins

* feat(jenkins-plugins): Improve tests of caching

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-27 11:24:41 +02:00
Michael Kriese
e3da371a0e
feat(pip_setup): copy extract.py to repo (#6768)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-18 10:03:05 +02:00
Michael Kriese
e11875e036
refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Rhys Arkins
02e6817fb9
test: move e2e tests (#6567) 2020-06-22 21:57:17 +02:00
Michael Kriese
4d7c109a6b
test: use nock for preset tests (#6449) 2020-06-07 13:00:49 +02:00
Michael Kriese
df96e52417
test: cleanup mocking (#6322) 2020-05-25 16:26:09 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Michael Kriese
ca71eddbdb
test(gradle-wrapper): add mock test (#6233) 2020-05-15 13:30:36 +02:00
Rhys Arkins
c5ee8abfc2 refactor: global cache 2020-05-11 22:26:47 +02:00
Rhys Arkins
cc980cfd23
refactor: platform.getFile -> fs.readLocalFile (#6131) 2020-05-11 15:36:09 +02:00
Michael Kriese
00c56d8bde
chore: fix types (#5904)
* chore: fix types

* fix more types

* chore: mote fixes

* fix frmat

* chore: fix tests

* chore: fix type

* chore: cleanup

* chore: cleanup

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Sergio Zharinov
aa38ddf428
test: Better GraphQL snapshots (#6128) 2020-05-05 14:57:05 +02:00
Sergio Zharinov
9c6f56da22
test(github): Snapshot all HTTP requests in test (#6059) 2020-05-02 10:16:03 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Michael Kriese
da0181e074
fix: do not coerce gradle version (#5991) 2020-04-17 14:10:08 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Jamie Magee
d4f6aa4bc5
fix: add missing await statements (#5918)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-09 12:47:48 +02:00
Michael Kriese
30fcff2194
feat(internal): dynamic platform imports (#5898) 2020-04-08 09:14:32 +02:00
Michael Kriese
4c0699c74c
fix(internal): fix http api (#5890) 2020-04-06 17:31:13 +02:00
Joshua Gleitze
a323cf03b3
test(gradle): stop mocking the file system (#5826) 2020-04-03 09:44:32 +02:00
Michael Kriese
e779d895f7
test(coverage): lib/config (#5656) 2020-03-07 11:27:10 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants (#5158) 2020-03-05 07:03:47 +01:00
Jamie Magee
16962a989f
chore: better types for azure (#5633) 2020-03-03 23:08:45 +01:00
Michael Kriese
69c8dcafe5
fix: do nothing if new commit and check required (#5594) 2020-03-03 11:52:18 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
6f46153e09 fix(auto-replace): use regex replace to avoid infinite loops 2020-03-01 21:28:07 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
aaa7728264 test: rename _fixtures to __fixtures__ 2020-03-01 07:42:52 +01:00
kroonprins
1088efde49
fix: bugfix for hourly limit for azure & bugfix for ignorePrefi… (#5600) 2020-02-29 23:04:59 +01:00
Nejc Habjan
0b5ee0b400
feat: allow config files in .gitlab directory (#5584) 2020-02-28 12:07:38 +01:00
Rhys Arkins
286ab6dc40 refactor: rename getReleases -> getInRangeReleases 2020-02-27 22:13:45 +01:00
Rhys Arkins
b610cf4dae
feat: rename github/gitlab datasources (#5581) 2020-02-27 21:36:31 +01:00
Rhys Arkins
8dc52c7f30
refactor: move getPreset into lib/config/preset/ (#5578) 2020-02-27 14:19:58 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences (#5570) 2020-02-25 09:42:24 +01:00
Rhys Arkins
cb5da82acc
docs: move manager docs out of config options (#5410) 2020-02-25 06:45:00 +01:00
Michael Kriese
763e444962
feat(gitlab): add merge method check (#5567) 2020-02-25 06:34:06 +01:00
Rhys Arkins
b097fb8f0a fix(pr): condense rebase description 2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates (#5560) 2020-02-24 05:33:51 +01:00
Rhys Arkins
8c8f7a23f0 test: refactor datasource tests to not use index 2020-02-23 09:16:25 +01:00
Rhys Arkins
adde436df0
feat(logger): logContext (#5553)
Adds a new concept `logContext`, to be added to each log entry when in JSON format.

Closes #5551
2020-02-23 07:31:13 +01:00
Rhys Arkins
55b1cd0e37
feat: rebaseWhen (#5547)
New config option `rebaseWhen` replaces existing options `rebaseStalePrs` and `rebaseConflctedPrs`. Migration code added.
2020-02-22 16:31:49 +01:00
Rhys Arkins
c10d22940b
feat: autoreplace (#5529) 2020-02-22 06:06:10 +01:00
Pascal Mathis
c9357cc340
feat: add support for gitea platform (#5509) 2020-02-19 11:19:25 +01:00
Luke Page
b484272238
feat: Azure - update comments (#5503)
* fix ensure comment

* Fix comment update mechanism

* Fix snapshots

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-02-18 22:12:15 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning (#5504) 2020-02-18 08:34:10 +01:00
Rhys Arkins
5d88d3badf docs: improve versioning docs 2020-02-17 23:02:00 +01:00
Luke Page
e179c7d948
feat(azure): calculate isModified (#5482) 2020-02-17 21:34:54 +01:00
Jamie Magee
a7d1bd4b08
feat: add $schema to default onboarding configuration (#5496)
fixes #5427
2020-02-17 16:20:21 +01:00
Rhys Arkins
562f3d7696 fix(schedule): use consistent error messages 2020-02-14 13:44:40 +01:00
Rhys Arkins
12166f5540 fix(datasource): better DatasourceError handling 2020-02-14 09:19:45 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Ricky Patel
d93036b8ab feat: hostRules findAll function 2020-02-11 14:46:31 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Rhys Arkins
8e7eec6362 chore: remove json schema from source control (#5420) 2020-02-10 10:20:31 +00:00
Sergio Zharinov
d650427319
fix(composer): Remove leading v in comparison (#5396) 2020-02-06 15:29:50 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Michael Kriese
4004f46c0b
refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
Joe
4c258e27b6
fix: Remove authorization header from core.windows.net requests… (#5274) 2020-02-04 20:14:31 +01:00
Rhys Arkins
58fd6569db fix: Revert "feat: helm-values manager (#5134)"
This reverts commit edf85d42bf.
2020-02-04 18:06:06 +01:00
Dominik Horb
edf85d42bf
feat: helm-values manager (#5134) 2020-02-04 15:11:08 +01:00
Sergio Zharinov
7dc04f77fa
feat: Dynamic manager loading from directories (#5287)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-02-04 10:37:24 +01:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Carlin St Pierre
5b0c431dce
feat: post-upgrade tasks (#5202) 2020-02-04 06:59:13 +01:00
Michael Kriese
eed923076f
chore(test): fix gitlab tests (#5292) 2020-02-03 21:19:42 +01:00
Rhys Arkins
0ea636209c fix(onboarding): remove docker-only rule 2020-02-03 14:25:09 +01:00
Rhys Arkins
e12d8f0437 refactor: remove unnecessary manager literals 2020-02-03 14:16:23 +01:00
Rhys Arkins
a253e9d638 test: remove noisy snapshots
Ref #5277
2020-02-02 08:59:58 +01:00
Gabriel Melillo
30f0c4230f
feat: helmfile manager (#5257) 2020-02-02 08:35:26 +01:00
Martín Fernández
2880682246
fix(bundler): Fix support for source block with new lines (#5270) 2020-02-01 09:01:20 +01:00
Sergio Zharinov
12d1b13703
fix(release-notes): Warning message for missing token (#5245) 2020-02-01 08:50:24 +01:00
Sergio Zharinov
ff9332486c
feat(cdnurl): Add CDNJS support (#5254) 2020-01-30 20:52:15 +01:00
Sergio Zharinov
86543938fb
feat(cdnjs): Add caching for CDNJS datasource (#5259) 2020-01-30 09:51:51 +01:00
Jamie Magee
d2f59b83b3
chore: convert fixtures to typescript (#5229) 2020-01-30 07:07:56 +01:00
Sergio Zharinov
a36f889220
feat(cdnjs): Create cdnjs datasource (#5252) 2020-01-29 13:19:13 +01:00
Sergio Zharinov
8c62f43647
feat(bundler): Use centralized docker execution (#5058)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-29 13:05:36 +01:00
Sergio Zharinov
6bf18be2bf
fix: Don't modify git-tags datasource results (#5251)
Co-authored-by: Jared Kauppila <Jared@Kauppi.la>
2020-01-29 12:23:19 +01:00
Sergio Zharinov
aa49a21e54
fix(exec): Whitelist LC_ALL and LANG (#5239) 2020-01-29 06:29:53 +01:00
Sergio Zharinov
f286aa3920 feat(composer): Use centralized docker execution (#5060) 2020-01-27 14:18:50 +01:00
Sergio Zharinov
514fdbddab fix(platform): Filter out non-Renovate PRs with same branch (#5211) 2020-01-27 13:45:52 +01:00
Sergio Zharinov
a761e95f48 feat(cargo): Use centralized docker execution (#5059)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-27 12:53:39 +01:00
Rhys Arkins
da6164f8d4 fix: validate handlebars templates and throw config error 2020-01-27 12:48:08 +01:00
Joshua Gleitze
5928562064 feat(gradle): Support any Order in Gradle’s Map Syntax (#5196) 2020-01-26 08:18:29 +01:00
Martín Fernández
8da8d7a072 feat: Add DOCKER_HOST to child env (#5222)
Currently the DOCKER_HOST env variable is not passed to the child
environment making it impossible to use a non default docker host.
2020-01-25 19:30:43 +01:00
Sergio Zharinov
e9bc152308 fix(cargo): Fix nested directories in artifacts.ts (#5221) 2020-01-25 09:21:33 +01:00
Sergio Zharinov
0c7f95f0a7 fix(maven): Additional support for Service Release (SR) versions (#5194) 2020-01-24 14:23:41 +01:00
Sergio Zharinov
6b2ef2822c refactor(exec): Explicit extraEnv defaults and nullable docke… (#5219) 2020-01-24 10:42:09 +01:00
Jennifer Wilcox
5b1cd403ab fix(pypi): detect pypi releases with underscores (#5218)
If a pypi package:
 - Has only src releases
 - Has an index name with hyphens
 - Has src tarballs with underscores
Then releases of the package weren't being detected.
2020-01-24 08:27:26 +01:00
Sergio Zharinov
8b6d280741 feat(exec): Allow for extra docker commands (#5208) 2020-01-22 11:45:21 +01:00
Sergio Zharinov
60d895bd5c feat(exec): Cache Docker image prefetch info (#5205) 2020-01-22 09:19:29 +01:00
Rhys Arkins
a56e0de4c7
feat: move localDir awareness to util/exec (#5207) 2020-01-21 18:04:50 +01:00
Sourav Das
520429f1bd feat(constants): Version Scheme Constants (#5159) 2020-01-21 17:11:25 +01:00
Sourav Das
d671f2b8c4 refactor(constant): Refactor Platform File (#5206) 2020-01-21 11:13:19 +01:00
Joshua Gleitze
c1ee1ef32f feat(gradle): Support template expression for version variables… (#5195) 2020-01-21 10:04:31 +01:00
Rhys Arkins
4b29858768
fix(pr): better rebase/retry description in PRs (#5203) 2020-01-21 09:44:38 +01:00
Sergio Zharinov
ef7357d022 fix(exec): Refactor binarySource out to global setting (#5190)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-20 16:50:32 +01:00
Jamie Magee
1e2c30a96a fix: warn if force push commit has no diff (#5099)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 18:11:02 +01:00
Sourav Das
982d5e9d4d refactor(function): Update Artifact Function (#5139)
1. Create interface UpdateArtifact
2. Update function call
3. Update Test
2020-01-17 12:18:34 +01:00
Sourav Das
9024eda2a0 feat(constants): Branch Status (#5166)
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
Sourav Das
6dc76f2e46 feat(constants): Language list constants (#5167)
1. All languages are moved to constants/languages.ts
2. Updated all the references
2020-01-17 10:14:20 +01:00
Sourav Das
c7c5dfd30f feat(constants): Platform Constants (#5179) 2020-01-17 08:26:42 +01:00
Sergio Zharinov
ad0708d88d fix(exec): Don't call bash for non-docker commands (#5175) 2020-01-16 22:05:50 +01:00
Sourav Das
4e7c938ec7 feat(constants): Manager Constants (#5168) 2020-01-16 16:22:33 +01:00
renovate[bot]
36a37dada8 chore(deps): update dependency prettier to v1.19.1 (#5169)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
ab9c666328 refactor(function): getNewValue Function (#5137) 2020-01-16 13:43:58 +01:00
Sourav Das
58c444cb7e feat(constants): Data Source and Binary Source Constants (#5157) 2020-01-16 12:14:35 +01:00
Rhys Arkins
585131a254 fix(maven): loosen check for correct pom.xml
Previously Renovate checked for xmlns="http://maven.apache.org/POM/4.0.0" and if not found then did not attempt to parse the file. Instead, now it checks for `<modelVersion>4.0.0</modelVersion>` as an alternative. Reference: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Closes #5160
2020-01-15 21:39:52 +01:00
Sourav Das
3a4c61ed03 refactor(constants) : Error constants (#5156) 2020-01-15 21:36:12 +01:00
Rhys Arkins
eb082ea4bf fix(config): generate config warning issue when decryption fails 2020-01-15 13:14:21 +01:00
Sergio Zharinov
db3d544387 fix(poetry): Use docker options (#5144)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-15 11:37:52 +01:00
Rhys Arkins
6459775738
fix(sbt): normalize scala versions (#5154) 2020-01-15 07:24:57 +01:00
Rhys Arkins
856eb33b25 fix: Revert "fix(sbt): normalize scala version"
This reverts commit ff0ffd2e90.
2020-01-15 06:26:49 +01:00
Rhys Arkins
b9fe459fae test: fix poetry snapshot 2020-01-15 06:24:35 +01:00
Rhys Arkins
9dc7b867f3 fix(bundler): handle explicit equals replace 2020-01-15 04:45:00 +01:00
David Straub
7b5485edaa feat(workers): implement additionalReviewers option (#5152)
Closes #5121
2020-01-15 04:32:31 +01:00
Rhys Arkins
91c23e91b1 fix(bundler): handle major range update 2020-01-14 17:37:19 +01:00
Sourav Das
547dcd84a7 refactor(function): findPR function(#4996) (#5129) 2020-01-14 16:12:14 +01:00
Rhys Arkins
234dd4ee37 fix(bundler): handle precision changes 2020-01-14 16:03:07 +01:00
Rhys Arkins
ba1806fd8f
fix(bundler): update common complex ranges correctly (#5143)
Fixes #5050
2020-01-14 14:16:58 +01:00
Vladislav Dolbilov
04a26722f3 feat(sbt): enhanced extract capabilities (#5126) 2020-01-14 12:45:17 +01:00
Vladislav Dolbilov
ff0ffd2e90 fix(sbt): normalize scala version 2020-01-14 12:28:17 +01:00
Vladislav Dolbilov
dbe1a02b06 fix(sbt): ensure trailing slashes in urls 2020-01-14 12:23:18 +01:00
Sourav Das
447b110a8c refactor(function): Ensure Comment Function (#4996) (#5128)
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Sergio Zharinov
69dabac278 feat: improved exec wrapper (#5131) 2020-01-14 12:12:03 +01:00
Rhys Arkins
56d94e259f
refactor: centralized docker volumes (#5132) 2020-01-12 19:47:39 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
0dab3f4067 refactor: logs meta 2020-01-11 09:16:22 +01:00
Rhys Arkins
2715603ad3 refactor: centralize dockerUser logic
Closes #5124
2020-01-10 17:38:27 +01:00
Rhys Arkins
1617a193c0
refactor: move util/exec to own folder (#5125)
Also moves related docker and env files
2020-01-10 16:39:15 +01:00
Sergio Zharinov
5fd6361c56 refactor: add env awareness to util/exec (#5095) 2020-01-10 15:18:41 +01:00
Sourav Das
1fbb51af36 feat(bundler): Support parsing gemfile.lock for "lockedVersion" (#5094) 2020-01-10 15:05:29 +01:00
Jamie Magee
45474d63d5 fix(ts): convert lib/workers/repository to typescript (#5105)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-10 11:35:49 +01:00
Sourav Das
50c74d38c0 refactor: createPR function (#4996) (#5108)
* refactor: createPR function (#4996)
1. Interface created: createPRConfig

* refactor: Create PR function (#4996)
Remove label parameter from bitbucket and bitbucket server function call.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sourav Das
be5679661a refactor: EnsureIssue function (#5107)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
renovate[bot]
e327fa9af6 build(deps): update dependency semver to v7 (#5056)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:09:59 +00:00
Sergio Zharinov
2cba82f6f4 fix(maven): Default group ID for plugins (#5102)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:09:09 +00:00
Sourav Das
e72bf85b1e refactor: setBranchStatus Function (#4996) (#5112) 2020-01-07 09:59:14 +00:00
Sergio Zharinov
f1d703272c refactor(docker): Use pre/post commands instead of wrapping (#5103)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 07:47:12 +00:00