Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.76k stars 10.64k forks source link

Convert scripts in `developer/bin` to Homebrew commands #174192

Open bevanjkay opened 3 months ago

bevanjkay commented 3 months ago

This is a proposal for how deal with the scripts in developer/bin. Below is what I think we can keep / remove.

Migrate to a Homebrew Command

Potentially Remove

Requires Python for Protobuf handling so may be complicated to convert to Ruby

Re-add font_casker script from homebrew-cask-fonts

bevanjkay commented 3 months ago

@Homebrew/cask Interested in some feedback here to see what is used often.

I am not sure how many of the helpers we need to keep for building casks, as it seems most "ids" and "loaded items" are discovered on CI anyway, which I personally don't have a problem with.

p-linnane commented 3 months ago

@Bo98 advised that we can probably use https://github.com/mrkn/pycall.rb for the fonts one.

Bo98 commented 3 months ago

Is the proposal to move them to $(brew --repo homebrew/cask)/cmd (like homebrew-core's rebottle command)? If so: makes sense.

Some of the more generic ones that would be useful for third-party cask taps could be in Homebrew/brew, with modifications. For example, integrating scripts like generate_cask_token into brew create (and/or an audit) probably makes sense.

bevanjkay commented 3 months ago

Is the proposal to move them to $(brew --repo homebrew/cask)/cmd (like homebrew-core's rebottle command)? If so: makes sense.

Yeah, this exactly.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.