Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile for "normal" Utah machines #155

Open
johndonor3 opened this issue Sep 12, 2022 · 3 comments
Open

Profile for "normal" Utah machines #155

johndonor3 opened this issue Sep 12, 2022 · 3 comments

Comments

@johndonor3
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When running on machines that aren't operations at Utah, there are no appropriate default profiles. E.g., mwm.sdss.org

Describe the solution you'd like
Add a profile? Is it problematic to use *.sdss.org as the domain?

Describe alternatives you've considered
Currently users provide credentials manually...

@albireox
Copy link
Member

I think the problem with that it that it assumes that everybody on a Utah machine wants to connect to sdss5db on operations. That may be true (?) but maybe not (?).

It may be better to just document better the use of a profile, i.e.,

>>> from sdssdb.peewee.sdss5db import database
>>> database.set_profile('operations)
True

but if everybody agrees that sdss5db on operations is going to be 95% of the use-case, then yes, adding a profile sounds ok. Probably can be done by expanding the domain of the operations profile to include anything at Utah.

@johndonor3
Copy link
Contributor Author

I think it's more than 95%. astra, targetdb, catalogdb, opsdb; basically everything except slurm and the old platedb/apogeeqldb is in sdss5db on operations. I don't think it's an issue for slurm?

@albireox
Copy link
Member

Yes, I think that's the vast majority of use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants