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

Use versioned Perl shebangs on macOS and support replacing shebangs during relocation #11286

Merged
merged 8 commits into from
May 10, 2021

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Apr 29, 2021

  • 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?

See #11227 and #11275.

Commits are split to make it easier to review.

@BrewTestBot
Copy link
Member

Review period will end on 2021-04-30 at 16:56:45 UTC.

@BrewTestBot BrewTestBot added the waiting for feedback Merging is blocked until sufficient time has passed for review label Apr 29, 2021
Library/Homebrew/os/mac.rb Outdated Show resolved Hide resolved
@Bo98
Copy link
Member Author

Bo98 commented Apr 29, 2021

Due to the nature of changing relocation, there is a window between this potentially being merged and a new brew tag being released where bottles will be created in our CI with @@HOMEBREW_PERL@@, but old users on the stable release channel won't be able to use such bottles.

MikeMcQuaid
MikeMcQuaid previously approved these changes Apr 29, 2021
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Makes sense. Suggestion: when we're ready to go with this we run a single test PR through homebrew/core and then make a tag before publishing any bottles.

Library/Homebrew/os/mac.rb Outdated Show resolved Hide resolved
@MikeMcQuaid
Copy link
Member

Great work @Bo98!

@BrewTestBot BrewTestBot removed the waiting for feedback Merging is blocked until sufficient time has passed for review label Apr 30, 2021
@BrewTestBot
Copy link
Member

Review period ended.

BrewTestBot
BrewTestBot previously approved these changes Apr 30, 2021
BrewTestBot
BrewTestBot previously approved these changes May 4, 2021
@Bo98
Copy link
Member Author

Bo98 commented May 4, 2021

Added a tweak to address #11108.

MikeMcQuaid
MikeMcQuaid previously approved these changes May 4, 2021
# Use keyword args instead of positional args for initialization.
def initialize(**kwargs)
super(*members.map { |k| kwargs[k] })
class Relocation
Copy link
Member

Choose a reason for hiding this comment

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

Worth having any basic unit tests for this class?

@carlocab
Copy link
Member

carlocab commented May 6, 2021

Note to self: follow up on cleanup comments from #11331 (comment) when this is merged.

BrewTestBot
BrewTestBot previously approved these changes May 10, 2021
BrewTestBot
BrewTestBot previously approved these changes May 10, 2021
@Bo98 Bo98 merged commit c09e48e into Homebrew:master May 10, 2021
@Bo98 Bo98 deleted the perl branch May 10, 2021 13:27
carlocab added a commit to carlocab/homebrew-core that referenced this pull request May 14, 2021
Fixes CI failure seen in Homebrew#76444 and various other PRs. Also, update the
license. There are no "or later" references in the source repository.

See Homebrew/brew#11286.
carlocab added a commit to carlocab/homebrew-core that referenced this pull request May 14, 2021
Fixes CI failure seen in Homebrew#77228 and various other PRs. Also, update the
license, and use `https` in homepage.

See Homebrew/brew#11286.

License ref:

    https://metadata.ftp-master.debian.org/changelogs//main/m/monkeysphere/monkeysphere_0.44-1_copyright
BrewTestBot pushed a commit to Homebrew/homebrew-core that referenced this pull request May 14, 2021
Fixes CI failure seen in #76444 and various other PRs. Also, update the
license. There are no "or later" references in the source repository.

See Homebrew/brew#11286.

Closes #77243.

Signed-off-by: Sean Molenaar <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
@github-actions github-actions bot added the outdated PR was locked due to age label Jun 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants