UCL-RITS / rcps-buildscripts

Scripts to automate package builds on RC Platforms
MIT License
39 stars 27 forks source link

Install Request: GitHub CLI #500

Open dstansby opened 2 years ago

dstansby commented 2 years ago

Application: GitHub CLI (any recent version)

Link: (https://cli.github.com/

Cluster: Myriad

Description: GitHub CLI is a command line interface for interacting with GitHub. It makes it easier to (among other things) authenticate with GitHub, and manage different branches associated with pull requests

License: open source, MIT

Special versions or variants: n/a

Ticket number: n/a

heatherkellyucl commented 2 years ago

Installation info: https://github.com/cli/cli#installation

Is in Spack, so we should wait for this term's Spack evaluation to complete.

There are precompiled Linux binaries available to install in your home if people need it immediately: see if they work on RHEL 7 on Myriad?

dstansby commented 2 years ago

I couldn't work out how to install a .rpm package in home, but it gh is available on conda-forge so I managed to install it via creating conda environment in my home directory (although I did have to do a user install of conda too since the version installed in /shared/ucl/apps/miniconda is quite old).

heatherkellyucl commented 2 years ago

(Get the .tar.gz not the .rpm)

ikirker commented 11 months ago

This lets any support person perform authenticated actions on GitHub as you, because of the OAuth token it drops in plaintext in your home directory.

I'm not really sure that sounds like a good idea, and do we have an obligation to make people aware of it before they use it?