-
- Downloads
feat: reimplement findFilePaths using trees (#950)
* refactor: replace github code search with getTree/manual search (#944) Previously Renovate was using the GitHub code search API once for each filename we are looking for. Instead, we now retrieve a list of files in the repository and cache it so it can be reused for filename matches. Closes #939 * fix: use recursive=true * fix: reset fileList for every repo (github) * feat: implement findFilePaths on gitlab (#945) * refactor: do not check manually for root package.json * fix: reset fileList for every repo (gitlab) * fix tests
Showing
- lib/api/github.js 25 additions, 21 deletionslib/api/github.js
- lib/api/gitlab.js 21 additions, 4 deletionslib/api/gitlab.js
- lib/workers/repository/apis.js 1 addition, 10 deletionslib/workers/repository/apis.js
- test/api/__snapshots__/github.spec.js.snap 0 additions, 99 deletionstest/api/__snapshots__/github.spec.js.snap
- test/api/__snapshots__/gitlab.spec.js.snap 8 additions, 0 deletionstest/api/__snapshots__/gitlab.spec.js.snap
- test/api/github.spec.js 16 additions, 36 deletionstest/api/github.spec.js
- test/api/gitlab.spec.js 30 additions, 1 deletiontest/api/gitlab.spec.js
- test/workers/repository/__snapshots__/apis.spec.js.snap 0 additions, 6 deletionstest/workers/repository/__snapshots__/apis.spec.js.snap
- test/workers/repository/apis.spec.js 0 additions, 25 deletionstest/workers/repository/apis.spec.js
- test/workers/repository/onboarding.spec.js 4 additions, 0 deletionstest/workers/repository/onboarding.spec.js
Loading
Please register or sign in to comment