Add additional dependencies support for conda#14203
Draft
AbhishekBhaskar wants to merge 44 commits intomainfrom
Draft
Add additional dependencies support for conda#14203AbhishekBhaskar wants to merge 44 commits intomainfrom
AbhishekBhaskar wants to merge 44 commits intomainfrom
Conversation
* 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 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 * 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 * add spec for no files changed error
* 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 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 * 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 * add spec for no files changed error
…cosystems (#14115) * add additional deps architecture * add additional deps architecture * add additional deps architecture
* add additional deps architecture * add additional deps architecture * add additional deps architecture * add additional support for python * fix sorbet and lint erros
* Removing additional depenency parsering, and using the python ecosystem's parsers * reverting gem * Refactor lower bound operator handling in version extraction
…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>
* 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
…ot-core into pre-commit-ecosystem
* 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
* 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>
…ot-core into pre-commit-ecosystem
* 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>
…ot-core into pre-commit-ecosystem
…ot-core into pre-commit-ecosystem
…ot-core into pre-commit-ecosystem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are you trying to accomplish?
Anything you want to highlight for special attention from reviewers?
How will you know you've accomplished your goal?
Checklist