Hi JC,
Sorry to write so much. I have a recommendation based on:
* what I do with ORCCA
* your situation as you described well
* what is currently possible
Your WW server has a host course, and in its local/ folder you are
building exercises. Instead, make a folder that is specific to your
project and put locally edited OPL problems there. It will be cleaner
for you and anyone working with your source files to not worry about
mixing problem files from this project with whatever else might be in
a local/ folder on some host course. Periodically, use WeBWorK to make
an archive file of this folder. Download it, and distribute it with
your source files. Maybe it makes sense to include it in your git repo
for the project.
Now someone who is forking your project, who is using a different
server, will have to upload the archive file to the host course they
are using. But they shouldn't have any trouble as long as they are
using a relatively recent WW version.
I hope it's not too late, but please check the licensing on any OPL
problems you have translated/modified and are using in your project.
The default licensing on OPL problems is CC BY-NC-SA. Sometimes a
contributor includes a file at their institutions's root folder that
specifies a different license. If you are fully following the Creative
Commons rules, then that "SA" bit obligates you to release your entire
project with the same license. Not just the SA clause, but for example
if the problem is CC BY-NC-SA, then you are supposed to put CC
BY-NC-SA on your entire project too. And the "BY" obligates you to
somehow acknowledge the original problem author and give a reference
to that exercise's original source code.
It's an ugly mess, I'm afraid. One of the biggest issues I have with
the OPL. If you are concerned, you can also reach out to contributors
and ask for a special license just for you for your project.
About keeping the files locally instead of hosting them in the course.
In theory, we could make that possible by grabbing the local file,
translating it to base64, and sending it to the host course as a URL
parameter like we do with PTX-authored exercises. But these OPL
problems will occasionally (often?) be a lot larger than PTX-authored
problems. And the URL will exceed a standardized cap on URL length. So
it's not really a solution.
The other thing on the horizon is using a *local PG processor*. We're
working on that. It's almost ready. There would be no host course for
making WW representations, just the local PG processor as a utility.
If we also work out how to use a standalone PG processor on your
book's webserver, then we have the solution for the future. It needs
some more time though.
Alex
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pretext-suppo...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pretext-support/030ed941-6f78-4575-aa83-9872f334d0b5n%40googlegroups.com.