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

Delete unused code. #355

Merged
merged 1 commit into from Apr 19, 2020
Merged

Delete unused code. #355

merged 1 commit into from Apr 19, 2020

Conversation

MikeMcQuaid
Copy link
Member

Now that we've decommissioned jenkins.brew.sh we can delete all Jenkins related code. While doing this, audit remaining code to ensure that all methods, parameters, environment variables and configurations are those used and supported by Homebrew.

Now that we've decommissioned jenkins.brew.sh we can delete all Jenkins
related code. While doing this, audit remaining code to ensure that all
methods, parameters, environment variables and configurations are those
used and supported by Homebrew.
@MikeMcQuaid MikeMcQuaid merged commit c1e5b94 into Homebrew:master Apr 19, 2020
@MikeMcQuaid MikeMcQuaid deleted the cleanup branch April 19, 2020 13:47
@@ -1124,7 +994,6 @@ def run
ensure
cleanup_after
end
check_results
Copy link
Member

@Bo98 Bo98 Apr 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to stay (along with the implementation of check_results). run should return a boolean that indicates whether there were no failures.

Comment on lines -761 to +693
if !Homebrew.args.fast? || formula_bottled || formula.bottle_unneeded?
if formula.bottled? || formula.bottle_unneeded?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a logic change. Previously this would always be true if --fast wasn't set. With this change, that is no longer the case.

This condition now evaluates to false for new formulae - they don't have a bottle block.

@MikeMcQuaid MikeMcQuaid mentioned this pull request Apr 20, 2020
@lock lock bot added the outdated label May 20, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants