GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

make gam available as a Homebrew package ??? #1660

Open Luke-Jaeger opened 1 year ago

Luke-Jaeger commented 1 year ago

any chance that gam could be in the homebrew repositories? It would be delightful to just type brew upgrade gam and be done

gam is awesome by the way I manage groups & lists for a college CS department and it's so nice to have this tool! Especially since I always have to update the lists at the busiest time of year.

taers232c commented 1 year ago

Just type the following: bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l

Luke-Jaeger commented 1 year ago

Just type the following: bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l

I know, it's just nice to have one standard way of updating all my dozens of 3rd-party command line tools

daethnir commented 1 year ago

FWIW, I much prefer a packaging system than | sh

The bar is higher to get code into homebrew/etc which is a level of security over "download untrusted unseen code and execute, dear unix shell".

chris-zenfolio commented 1 year ago

As a macOS user, the first thing I look for are Homebrew versions of utilities because they are easier to install and maintain. While I know the current install of gam is only 1 line, it is far easier for me to remember brew install gam over the current one. I can also tell brew to update by simply saying brew update gam. It's a standardized syntax.

As @daethnir mentioned, the bar is higher to get code accepted into Homebrew versus just publishing it as is being done now. What is appspot.com, anyway? How does an admin go about validating install links, especially if they're inexperienced? The point of the previous questions is to illustrate that it is easier to use and trust a tool like Homebrew because there is some validation involved.

Please add Homebrew support!

jay0lee commented 1 month ago

PRs welcome. We have a lot of requests for adding GAM to <yet another packaging system on OS that doesn't actually have native packaging solved> FWIW, I'll never understand how it is Microsoft and Apple have been building OSes for half a decade and still haven't figured out a reliable solution to packaging / installers.

Anyway, PRs are always welcome here if GAM needs some code to integrate or just submit GAM to said packaging system and feel free to let community know about it.