Commit 2b94ccf
Add the Pre-Commit Ecosystem (#13977)
* pre-commit scaffold
* removing bazel example
* Update file_parser_spec to use PreCommit::FileParser
* Pre commit file fetcher (#13982)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser (#13991)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser
* Add PreCommit ecosystem support with package manager and requirement classes
* Set typed: true for spec files to enable type checking
* add pre-commit to docker-dev-shell
* Change type annotation from strict to strong in multiple files
* lint
* Add pre commit fixtures to yaml linting ignore list
* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule
* Refactor PackageManager and FileParser initialization for improved clarity
* lint
* Add pre commit update checker functionality (#14019)
* add pre commit update checker functionality
* fix lint errors
* add more specs
* fix lint errors and failing specs
* add test for package details fetcher and latest version finder
* fix lint errors
* fix lint errors
* Add pre commit file updater functionality (#14020)
* add pre commit file updater
* fix same version in different repo issue
* fix lint errors
* update specs
* remove unecessary comments in code
* Fix no files changed error (#14053)
* fix no files changed error
* add spec for no files changed error
* pre-commit scaffold
* removing bazel example
* Update file_parser_spec to use PreCommit::FileParser
* Pre commit file fetcher (#13982)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser (#13991)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser
* Add PreCommit ecosystem support with package manager and requirement classes
* Set typed: true for spec files to enable type checking
* add pre-commit to docker-dev-shell
* Change type annotation from strict to strong in multiple files
* lint
* Add pre commit fixtures to yaml linting ignore list
* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule
* Refactor PackageManager and FileParser initialization for improved clarity
* lint
* Add pre commit update checker functionality (#14019)
* add pre commit update checker functionality
* fix lint errors
* add more specs
* fix lint errors and failing specs
* add test for package details fetcher and latest version finder
* fix lint errors
* fix lint errors
* Add pre commit file updater functionality (#14020)
* add pre commit file updater
* fix same version in different repo issue
* fix lint errors
* update specs
* remove unecessary comments in code
* Fix no files changed error (#14053)
* fix no files changed error
* add spec for no files changed error
* Implement base architecture for additional dependencies support for ecosystems (#14115)
* add additional deps architecture
* add additional deps architecture
* add additional deps architecture
* Add additional dependencies support for python (#14117)
* add additional deps architecture
* add additional deps architecture
* add additional deps architecture
* add additional support for python
* fix sorbet and lint erros
* Refactor Ecosystem Parsing in Pre-Commit (#14123)
* Removing additional depenency parsering, and using the python ecosystem's parsers
* reverting gem
* Refactor lower bound operator handling in version extraction
* Fix edge case failures in pre-commit additional dependencies support (#14135)
* pre-commit scaffold
* removing bazel example
* Update file_parser_spec to use PreCommit::FileParser
* Pre commit file fetcher (#13982)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser (#13991)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser
* Add PreCommit ecosystem support with package manager and requirement classes
* Set typed: true for spec files to enable type checking
* add pre-commit to docker-dev-shell
* Change type annotation from strict to strong in multiple files
* lint
* Add pre commit fixtures to yaml linting ignore list
* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule
* Refactor PackageManager and FileParser initialization for improved clarity
* lint
* Add pre commit update checker functionality (#14019)
* add pre commit update checker functionality
* fix lint errors
* add more specs
* fix lint errors and failing specs
* add test for package details fetcher and latest version finder
* fix lint errors
* fix lint errors
* Add pre commit file updater functionality (#14020)
* add pre commit file updater
* fix same version in different repo issue
* fix lint errors
* update specs
* remove unecessary comments in code
* Fix no files changed error (#14053)
* fix no files changed error
* add spec for no files changed error
* add additional deps architecture
* add additional deps architecture
* add additional deps architecture
* add additional support for python
* Removing additional depenency parsering, and using the python ecosystem's parsers
* Implement base architecture for additional dependencies support for ecosystems (#14115)
* add additional deps architecture
* add additional deps architecture
* add additional deps architecture
* Add additional dependencies support for python (#14117)
* add additional deps architecture
* add additional deps architecture
* add additional deps architecture
* add additional support for python
* fix sorbet and lint erros
* restore updater gemfile and lockfile
* call python requirements updater for update process
* call python requirements updater for update process
* Update pre_commit/lib/dependabot/pre_commit/additional_dependency_checkers/python.rb
Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* fix merge conflicts
---------
Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* Add support for Node.js additional dependencies (#14138)
* feat: add support for Node.js additional dependencies in pre-commit hooks
- Implemented `parse_dep_string` method in `Dependabot::NpmAndYarn::Requirement` to parse package names and versions.
- Created `Node` class in `Dependabot::PreCommit::AdditionalDependencyCheckers` to handle Node.js additional dependencies.
- Updated `FileParser` to recognize Node.js additional dependencies and parse them correctly.
- Added integration tests for Node.js additional dependencies in pre-commit hooks.
- Updated Dockerfile and gemspec to include necessary dependencies for Node.js support.
- Created fixtures for testing Node.js additional dependencies in pre-commit configurations.
* replace StanderdError with specific errors
* Add support for Rust additional dependencies (#14147)
* Add Rust support for additional dependencies in pre-commit hooks
* Add Rust support for additional dependencies in pre-commit hooks
* adding back comments
* Fixing specs
* Add additional dependencies support for go modules (#14144)
* pre-commit scaffold
* removing bazel example
* Update file_parser_spec to use PreCommit::FileParser
* Pre commit file fetcher (#13982)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser (#13991)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser
* Add PreCommit ecosystem support with package manager and requirement classes
* Set typed: true for spec files to enable type checking
* add pre-commit to docker-dev-shell
* Change type annotation from strict to strong in multiple files
* lint
* Add pre commit fixtures to yaml linting ignore list
* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule
* Refactor PackageManager and FileParser initialization for improved clarity
* lint
* Add pre commit update checker functionality (#14019)
* add pre commit update checker functionality
* fix lint errors
* add more specs
* fix lint errors and failing specs
* add test for package details fetcher and latest version finder
* fix lint errors
* fix lint errors
* Add pre commit file updater functionality (#14020)
* add pre commit file updater
* fix same version in different repo issue
* fix lint errors
* update specs
* remove unecessary comments in code
* Fix no files changed error (#14053)
* fix no files changed error
* add spec for no files changed error
* add additional dependencies support for go modules
* remove comments and fix lint erros
* fix sorbet errors
* remove comments
* fix merge conflicts
---------
Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* Add additional dependencies support for Ruby (#14160)
* pre-commit scaffold
* removing bazel example
* Update file_parser_spec to use PreCommit::FileParser
* Pre commit file fetcher (#13982)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser (#13991)
* Implement pre-commit file fetching
* Add exclude path
* Refactor file fetcher specs to use experiment registration for beta ecosystems and enhance file fetching tests for various pre-commit config formats
* Implement PreCommit file parser
* Add PreCommit ecosystem support with package manager and requirement classes
* Set typed: true for spec files to enable type checking
* add pre-commit to docker-dev-shell
* Change type annotation from strict to strong in multiple files
* lint
* Add pre commit fixtures to yaml linting ignore list
* Fix newline at end of file in .yamllint.yaml for pre_commit_configs ignore rule
* Refactor PackageManager and FileParser initialization for improved clarity
* lint
* Add pre commit update checker functionality (#14019)
* add pre commit update checker functionality
* fix lint errors
* add more specs
* fix lint errors and failing specs
* add test for package details fetcher and latest version finder
* fix lint errors
* fix lint errors
* Add pre commit file updater functionality (#14020)
* add pre commit file updater
* fix same version in different repo issue
* fix lint errors
* update specs
* remove unecessary comments in code
* Fix no files changed error (#14053)
* fix no files changed error
* add spec for no files changed error
* add additional deps support for ruby
* fix merge conflicts
* revert removed comment
---------
Co-authored-by: Rob Aiken <6567647+robaiken@users.noreply.github.com>
* Adding pre_commit gem in gem
* Bump dependabot-pre_commit and related dependencies to version 0.361.1
* Add dependabot-pre_commit gem and update Gemfile.lock
* Add pre_commit ecosystem to Dockerfile for source management
* Add pre_commit volume mappings to devcontainer configuration
* revert incorrect gem lock file changes
* add dependabot-bundler in gemspec
* add dependabot-bundler in gemspec
* add comment in dockerfile updater core to invalidate cache from ghcr registry
* fix lint error
* add arg in dockerfile updater core to force cache invalidation
* add pre_commit dependency to setup
* fix order of COPY commands in Dockerfile for consistency
* remove pre_commit volume mapping from dependabot script
* revert updater gemfile and lockfile changes b1546fe
* revert changes in updater setup file
---------
Co-authored-by: Abhishek <abhishekbhaskar@github.com>1 parent 47e7666 commit 2b94ccf
File tree
88 files changed
+7718
-9
lines changed- .devcontainer/core-dev
- .github
- workflows
- bin
- bundler
- lib/dependabot/bundler
- spec/dependabot/bundler
- cargo
- lib/dependabot/cargo
- spec/dependabot/cargo
- common/lib/dependabot/config
- go_modules
- lib/dependabot/go_modules
- spec/dependabot/go_modules
- npm_and_yarn
- lib/dependabot/npm_and_yarn
- spec/dependabot/npm_and_yarn
- omnibus/lib/dependabot
- pre_commit
- .bundle
- lib/dependabot
- pre_commit
- additional_dependency_checkers
- package
- update_checker
- script
- spec
- dependabot/pre_commit
- additional_dependency_checkers
- fixtures
- package
- update_checker
- fixtures
- github
- git/upload_packs
- pre_commit_configs
- python
- lib/dependabot/python
- spec/dependabot/python
- rakelib/support
- script
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
88 files changed
+7718
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
97 | 107 | | |
98 | 108 | | |
99 | 109 | | |
| |||
119 | 129 | | |
120 | 130 | | |
121 | 131 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | | - | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
0 commit comments