-
Notifications
You must be signed in to change notification settings - Fork 14
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
handle third-party credits and report on server #594
Comments
Assigning to @ariel-phet to prioritize and assign. |
To add motivation for addressing this, I once again hit this problem:
I just published Molecule Polarity 1.0.0, a port from Java. I followed the instructions and ran 'grunt report-third-party'. And it failed to update the website database, so no "Third Party" Credits appeared on the website. For a Java sim, 'grunt report-third-party' must be run after the HMTL5 version is made visible, or a silent failure occurs on the website side. So now I'm going to update the "sim deploy" instructions for the Nth time, and make them even more complicated. |
New and improved checklist item:
|
Linking to #593. If we decide to handle third-party report on the server, perhaps the version id can be obtained from the website database. |
@mattpen plan on looking into this @pixelzoom returns from vacation (after Aug 15) |
I'll take a look at this when @pixelzoom returns from vacation. |
We could also investigate migrating this to getThirdPartyLibEntries.js. |
Marking for potential work in #596 |
Perhaps this would work? In build-server.js, modify function |
The plan is to complete this as part of our automating checklist steps. |
@jonathanolson has implemented this as a client-side grunt task and automated steps 1,2 and 4 from above. The only problem remaining is:
@jonathanolson and I propose that we defer migrating this to perennial because this isn't a critical problem. |
@mattpen any objections to moving this to perennial now as part of phetsims/perennial#141? |
For now I just left it. It seemed to be a bit easier this way. |
|
@mattpen I don't see anything else to do here? |
Agreed, I think this can be closed. |
Each sim webpage has a "Third Party" section in its Credits (stored in the website database). And sherpa/third-party-report.md (in master) provides a complete report for all published sims. This is currently handled by 'grunt report-third-party'.
There are multiple problems with doing this as a client-side grunt task:
Since the goals is to have this information currently for what's on the server, why isn't this task run on the server? Perhaps build-server should be modified to update the website database, generate third-party-report.md, and check third-party-report.md into master.
The text was updated successfully, but these errors were encountered: