brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 45 forks source link

Friendly import names mapping to Drive files #428

Open jpolitz opened 2 years ago

jpolitz commented 2 years ago

We've gotten enough stumbles from users trying to make their own starter files related to Bootstrap that we should add a feature for this.

The proposal is to add a new kind of import where, in CPO configuration, a list of friendly names like bootstrap-ds-2022, dcic-2022, are mapped to Google Drive IDs.

This could be written in one of two ways:

The latter is a little more future-proof and honest about what's going on. The former is easier to type but requires a bit of a weird split in semantics between things written with the same syntax; import statistics doesn't go to Google Drive but import bootstrap-... does.