wfau / gaia-dmp

Gaia data analysis platform
GNU General Public License v3.0
1 stars 5 forks source link

Test for individual examples #1004

Open Zarquan opened 2 years ago

Zarquan commented 2 years ago

Current design of create-user tests for the user's examples directory and skips if this already exists. Nicer user experience if we test for individual examples, and import if missing. That way we can add new examples to everyone's accounts automatically. If a user wants to reset an example they have edited, just delete it and it will get re-created next time the script is run.

Zarquan commented 2 years ago

This won't work as intended, because we don't have the user's password. So we can't add examples to the account of an existing user without cheating and copying their password. We wuld need an admin account to be able to edit someone else's notebooks .