Skip to content

sugarjar: add new dependency#287359

Open
jaymzh wants to merge 1 commit into
Homebrew:mainfrom
jaymzh:update_deps
Open

sugarjar: add new dependency#287359
jaymzh wants to merge 1 commit into
Homebrew:mainfrom
jaymzh:update_deps

Conversation

@jaymzh

@jaymzh jaymzh commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The bot bumped to 3.0.0, which is great, and works, but if glab is installed, sugarjar now has gitlab support, so we should add that to the dependencies.


  • 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>?
  • Is your test running fine brew test <formula>?
  • 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>?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

@jaymzh jaymzh changed the title Add new dependency for sugarjar sugarjar: add new dependency for sugarjar Jun 10, 2026
@github-actions github-actions Bot added the ruby Ruby use is a significant feature of the PR or issue label Jun 10, 2026
@jaymzh jaymzh changed the title sugarjar: add new dependency for sugarjar sugarjar: add new dependency Jun 10, 2026
Comment thread Formula/s/sugarjar.rb Outdated
Comment thread Formula/s/sugarjar.rb
end

depends_on "gh"
depends_on "glab"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If this could be optionally installed later, then maybe it is worth because of the dependency size is about ~50MB. Is this really needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

SJ isn't super useful without at least one of these. Technically, you might only need one or the other, but it's a suboptimal experience to only have it work with one kind of repo. And the go binary is a lot smaller than, say, ruby and the dozen libraries we depend on anyway :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My suggestion is remove both gh and glab if they don't need at the build time. Once user hit the command that require gh or glab, you could give them a message to install gh or glab separately. Then then could install what they required not just install both for all.

The bot bumped to 3.0.0, which is great, and works, but if `glab` is
installed, `sugarjar` now has gitlab support, so we should add that
to the dependencies.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
@jaymzh jaymzh requested a review from daeho-ro June 11, 2026 04:18
@jaymzh

jaymzh commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

That test failure seems to be an unrelated, transient, issue: curl: (28) Operation too slow. Less than 100 bytes/sec transferred the last 5 seconds

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

Labels

ruby Ruby use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants