Open ScottWales opened 3 years ago
Either way:
setup.main ->
setup.setup_mosrs_account ->
auth.check_or_update
It's meant to be run interactively anyway, as users will need to enter passwords. I'd say asking the user is the way to go:
$ mosrs-setup
Do you have an existing MOSRS account on code.metoffice.gov.uk? [Yn]
If 'y' follow the existing path
If 'n':
If you need to access new versions of the UM please send a request to 'cws_help@nci.org.au' saying that you'd like a MOSRS account
Once you have an account run this script again
Either way set up gpg
I've created a possible solution in no_metoffice
branch. Does this look suitable?
Looks good to me - to check that it's working properly, pip install --user -e .
on accessdev, kill
your gpg-agent service and remove the setup in ~/.bash_profile
How should this work?