openSUSE / opi

OBS Package Installer (CLI)
GNU General Public License v3.0
231 stars 20 forks source link

add github command line repo #85

Open mess-maker opened 2 years ago

mess-maker commented 2 years ago

could you please add the install of github command line ?

detailled instruction here: https://github.com/cli/cli/blob/trunk/docs/install_linux.md

TL:DR openSUSE/SUSE Linux (zypper) Install:

sudo zypper addrepo https://cli.github.com/packages/rpm/gh-cli.repo
sudo zypper ref
sudo zypper install gh
asdil12 commented 2 years ago

gh is already included in the default repo of tumbleweed (not the latest release, though). Is there a specific reason why you prefer the upstream repo?

mess-maker commented 2 years ago

hi,

personally I dont need it, but according it's available in a dedicated repo, I think it should be available in opi to provide a simple way to install it (maybe with a warning message saying that it's already available in official OpenSUSE repo) this to be in line with the other repo where the (stable / beta/ dev) are proposed

cheers