Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge case handleing #18621

Closed
wants to merge 2 commits into from
Closed

edge case handleing #18621

wants to merge 2 commits into from

Conversation

cameronaaron
Copy link

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew typecheck with your changes locally?
  • Have you successfully run brew tests with your changes locally?

* **Library/Homebrew/build.rb**
  - Add rescue block to handle errors during the installation of formula
* **Library/Homebrew/cmd/deps.rb**
  - Add rescue blocks to handle errors during dependency processing and dependents processing
* **Library/Homebrew/debrew.rb**
  - Add logging and retry options to the debugging tool
  - Add method to log exception details to a file
* **Library/Homebrew/formula_assertions.rb**
  - Add assert_raises and assert_nothing_raised methods for more exhaustive assertions
* **Library/Homebrew/formula_auditor.rb**
  - Add rescue block to handle errors during formula audits
* **dependency_collector.rb**
  - Add edge case handling for unsupported dependency specifications and URL extensions in `parse_spec` method
  - Improve error messages in `fetch` method

* **dependency.rb**
  - Add edge case handling for circular dependencies in `expand` method
  - Improve error messages in `installed?` method

* **formula_installer.rb**
  - Add edge case handling for failed installations in `install` method
  - Improve error messages in `check_install_sanity` method

* **cask_dependent.rb**
  - Add edge case handling for missing dependencies in `initialize` method
  - Improve error messages in `runtime_dependencies` method

* **exceptions.rb**
  - Improve error messages for dependency-related exceptions

* **formula_auditor.rb**
  - Add edge case handling for missing dependencies in `audit_deps` method

* **api.rb**
  - Add edge case handling for missing API responses in `fetch` method
  - Improve error messages in `fetch` method
@carlocab
Copy link
Member

Thanks for the PR! What kind of edge cases are you trying to catch here? How do I reproduce them?

@MikeMcQuaid
Copy link
Member

Closing until there's more explanation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants