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

Undeprecate formulae with dependents #106848

Closed
wants to merge 22 commits into from
Closed

Conversation

carlocab
Copy link
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

Needed for Homebrew/brew#12770. I've left the existing deprecation lines in a comment to make it easier to find them without digging up Git logs, so they're easier to action later on.

These formulae being deprecated also violate our policy about formulae with dependents not being deprecated (unless the dependents themselves are deprecated). We can uncomment the deprecation lines when we're able to sort out the dependents.

This should help make sure we're not disabling formulae with dependents in #103904.

See also:

@carlocab carlocab added the CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. label Jul 29, 2022
@carlocab
Copy link
Member Author

It'd be nice to be able to work out which of these have dependents that can be deprecated as well, but there are a lot of them (~55), and I don't have the time to look into that many formulae for deprecation at the moment.

@SMillerDev
Copy link
Member

I'm going to deprecate phplint so you can drop the [email protected] commit.

@carlocab
Copy link
Member Author

I'm going to deprecate phplint so you can drop the [email protected] commit.

Dropped.

Comment on lines 19 to 20
deprecate! date: "2021-08-19", because: "is not supported. Check out `breezy` instead"
# Commented out while this formula still has dependents.
# deprecate! date: "2021-08-19", because: "is not supported. Check out `breezy` instead"
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this has any non-deprecated dependents.

Copy link
Member Author

Choose a reason for hiding this comment

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

brew seems to think schroedinger depends on bazaar:

schroedinger:
  * Dependency 'bazaar' is deprecated but has un-deprecated dependents. Either
    un-deprecate 'bazaar' or deprecate all of its dependents.

Copy link
Member

@cho-m cho-m Jul 29, 2022

Choose a reason for hiding this comment

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

I guess from head build (url "lp:schroedinger", using: :bzr). Can we switch brew code to use breezy?

Copy link
Member Author

Choose a reason for hiding this comment

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

breezy is supposed to be a drop-in replacement, right? If so we probably should. Let me look at it. But I'd rather do it as a follow-up.

Copy link
Member Author

Choose a reason for hiding this comment

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

Homebrew/brew#13617

We probably need it to land in a tagged release before properly deprecating bazaar, though.

Formula/[email protected] Outdated Show resolved Hide resolved
Let's change this to match the deprecation date of
`[email protected]`.
@carlocab
Copy link
Member Author

@SMillerDev, @cho-m, let me know if you have more thoughts here. I'd like to merge this so I can get back to Homebrew/brew#12770.

This formula is still needed for formulae that do `using: :bzr`.

Since the deprecation message won't be shown in the meantime, let's
replace it with a caveat.
@MikeMcQuaid
Copy link
Member

These formulae being deprecated also violate our policy about formulae with dependents not being deprecated (unless the dependents themselves are deprecated). We can uncomment the deprecation lines when we're able to sort out the dependents.

Should ideally turn this policy into a brew audit or brew test-bot check at some point.

@carlocab
Copy link
Member Author

carlocab commented Jul 29, 2022

Should ideally turn this policy into a brew audit or brew test-bot check at some point.

That's the idea of Homebrew/brew#12770! I need this PR to be able to finish off Homebrew/brew#12770.

Or were you looking for something more than that?

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@BrewTestBot
Copy link
Member

:shipit: @carlocab has triggered a merge.

@carlocab carlocab deleted the undeprecate branch July 29, 2022 12:07
@MikeMcQuaid
Copy link
Member

That's the idea of Homebrew/brew#12770! I need this PR to be able to finish off Homebrew/brew#12770.

Or were you looking for something more than that?

No, that's perfect, I forgot it existed 😂

carlocab added a commit to carlocab/homebrew-core that referenced this pull request Jul 29, 2022
@carlocab carlocab mentioned this pull request Jul 29, 2022
6 tasks
@carlocab
Copy link
Member Author

Missed one 😞 #106860

No, that's perfect, I forgot it existed 😂

No worries; I did too...

BrewTestBot pushed a commit that referenced this pull request Jul 30, 2022
Needed for Homebrew/brew#12770.

Missed from #106848.

Closes #106860.

Signed-off-by: BrewTestBot <[email protected]>
@cho-m cho-m mentioned this pull request Jul 30, 2022
6 tasks
ipatch pushed a commit to ipatch/brew that referenced this pull request Aug 3, 2022
Bazaar is no longer maintained, and Breezy seems to be a drop-in
replacement.

I've tested the commands used in the download strategy and they seem to
work.

We need this in order to properly deprecate the `bazaar` formula.

See Homebrew/homebrew-core#106848.
@github-actions github-actions bot added the outdated PR was locked due to age label Aug 29, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants