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

lando 2.3.2 new formula alias old lando-cli #196159

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

reynoldsalec
Copy link

This PR introduces a new lando formula to build Lando from source, removes the existing lando-cli formula, and aliases lando-cli to lando.

Noticed that a lando-cli formula got into brew, which is great! But...the Lando project is folding that repo (https://github.com/lando/cli) into lando/core, so releases won't be available there going forward from v3.23 (see https://github.com/lando/core/releases/tag/v3.23.0).

Let me know if I didn't do something right on the PR, first shot :)

BTW, I noticed brew audit --new lando fails on the requisite watch/fork numbers, since lando/core isn't the main "watched" repo for Lando... lando/lando is representative of the project's popularity.

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

Added a `lando` formula to build the canonical lando source from `lando/core`. Aliased old formula `lando-cli`; note that the `lando/cli` repo will stop receiving updates as it has now been integrated into `lando/core` as of https://github.com/lando/core/releases/tag/v3.23.0.
@github-actions github-actions bot added automerge-skip `brew pr-automerge` will skip this pull request new formula PR adds a new formula to Homebrew/homebrew-core labels Oct 30, 2024
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.

@SMillerDev
Copy link
Member

Please don't add merge commits, they break CI


def caveats
<<~EOS
To complete the installation:
Copy link
Member

Choose a reason for hiding this comment

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

Is this specific to homebrew? Otherwise it should not be a caveat


def install
system "npm", "install", "--production", *std_npm_args
system "npm", "add", "@yao-pkg/[email protected]"
Copy link
Member

Choose a reason for hiding this comment

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

It shouldn't download unchecksummed things as part of the build

def install
system "npm", "install", "--production", *std_npm_args
system "npm", "add", "@yao-pkg/[email protected]"
system "npx", "pkg", "--config", "package.json", "--targets", "node20",
Copy link
Member

Choose a reason for hiding this comment

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

The more formula is not node 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge-skip `brew pr-automerge` will skip this pull request new formula PR adds a new formula to Homebrew/homebrew-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants