Skip to content

Conversation

@jarodwilson
Copy link

Initial homebrew packaging.

This is software developed by some folks at Red Hat, looking to improve
the patch backporting experience, even for those using macOS. It's a
rust-based frontend that can be run entirely without the backend, but can
also hook into a python-based backend AI server that helps provide AI
assistance with backporting patches from a development branch to an older
stable maintenance branch, such as, say, from the upstream Linux kernel
branch to an old Red Hat Enterprise Linux kernel branch.

  • 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 HOMEBREW_NO_INSTALL_FROM_API=1 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 HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added new formula PR adds a new formula to Homebrew/homebrew-core rust Rust use is a significant feature of the PR or issue labels Nov 11, 2025
@github-actions
Copy link
Contributor

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@chenrui333 chenrui333 changed the title patchpal v0.4.0: (new formula) patchpal 0.4.0 (new formula) Nov 11, 2025
@chenrui333 chenrui333 added the CI-skip-new-formulae Pass --skip-new to brew test-bot. label Nov 11, 2025
@jarodwilson
Copy link
Author

The CI failure here appears to be "this fork isn't popular", which makes sense, given that I literally just created it today. Is that really a requirement to get a package included?

@jarodwilson
Copy link
Author

The CI failure here appears to be "this fork isn't popular", which makes sense, given that I literally just created it today. Is that really a requirement to get a package included?

That was for the first push, and appears to have gone away when I fixed another issue.

@jarodwilson
Copy link
Author

jarodwilson commented Nov 12, 2025

The CI failure here appears to be "this fork isn't popular", which makes sense, given that I literally just created it today. Is that really a requirement to get a package included?

That was for the first push, and appears to have gone away when I fixed another issue.

Just noticed that there's a bit about new formula passing brew audit --new <formula> checks, which this actually does NOT, but... really?!? Here's the "failure":

patchpal
  * GitLab repository not notable enough (<30 forks and <75 stars)
Error: 1 problem in 1 formula detected.

Also amusing that it says GitLab there, when we're working on GitHub here.

@jarodwilson jarodwilson force-pushed the patchpal branch 6 times, most recently from 1d75148 to 94eae93 Compare November 12, 2025 16:08
@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 12, 2025
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 12, 2025
Initial homebrew packaging.

This is software developed by some folks at Red Hat, looking to improve
the patch backporting experience, even for those using macOS. It's a
rust-based frontend that can be run entirely without the backend, but can
also hook into a python-based backend AI server that helps provide AI
assistance with backporting patches from a development branch to an older
stable maintenance branch, such as, say, from the upstream Linux kernel
branch to an old Red Hat Enterprise Linux kernel branch.

Signed-off-by: Jarod Wilson <[email protected]>
@jarodwilson
Copy link
Author

Okay, self-tests now executing and passing on all platforms after jumping through some hoops to get a functioning X server for the linux case.

Comment on lines +28 to +32
inreplace "tests/run.sh", "readlink -e", "echo"
inreplace "tests/run.sh", "target/release/patchpal", "bin/patchpal"
inreplace "tests/run.sh", "awk", "gawk"
inreplace "tests/run.sh", "not ok $count", "fail $count"
inreplace "tests/run.sh", "ok $count", "pass $count"
Copy link
Member

@bevanjkay bevanjkay Nov 13, 2025

Choose a reason for hiding this comment

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

Can we test the functionality of the binary directly in some other way instead of editing the tests here? It would also mean we don't need to install the tests to the prefix.

https://docs.brew.sh/Formula-Cookbook#add-a-test-to-the-formula

@SMillerDev
Copy link
Member

Also amusing that it says GitLab there, when we're working on GitHub here.

The download url is on GitLab though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-skip-new-formulae Pass --skip-new to brew test-bot. new formula PR adds a new formula to Homebrew/homebrew-core rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants