-
Notifications
You must be signed in to change notification settings - Fork 28
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
"Restore your working copy" process is broken #44
Comments
Here's a short-term workaround, which requires manually fixing chipper before doing the second checkout-master.
|
What if we bail on npm and just check everything in to sherpa? (We would still need to npm update after checkout-shas to support legacy versions, but going forward this process would be simpler.). |
Or should we just paste the instructions with npm prune and update #44 (comment) into the instructions and call it good? |
First, I'd like to know why istanbul (code coverage tool) is necessary for the @samreid asked: Ummm... No. Having to run |
For future versions (not legacy), then you would have to run checkout-master once. What is the argument against bailing on npm? |
@jonathanolson added istanbul as a code coverage tool which runs during the build step. |
I'm not clear on what you're suggesting. Are you suggesting that we manage (in sherpa) everything that npm currently installs? That sounds like a lot of work. And we have enough trouble staying up-to-date with the relatively small number of 3rd-party libs that we currently use.
Presumably that means during the |
@jonathanolson: |
Yes, that was the main idea. Grunt may make that impossible though, depending on how it works. (may require local node_modules).
It could be that it gets resolved during module-load time and if any module fails to load, then the process fails. |
It allows checking code coverage for sims, which has been helpful.
The main gruntfile requires generateCoverage, which depends on istanbul. Most Node things assume that the node_modules has things from package.json installed. Presumably this shouldn't be an issue with "npm prune" and "npm update". For a while I've recommended against using chipper's "checkout-master" since it can have this issue, and instead recommend perennial's "grunt checkout-master --repo=...". |
perennial sounds like a great solution to this. @pixelzoom can you test it out and if it works well, update the instructions? |
@jonathanolson said:
@samreid said:
perennial has its own |
Agreed, definitely not ideal. I think we should have one solution in perennial for this, since we really should be running the same code both directions (for master=>SHAs and SHAs=>master), instead of running two different chipper versions. |
So maybe delete the chipper one and update instructions and processes to rely on the perennial one? |
Adding developer-meeting label to discuss, so we can (a) make all developers aware that it's broken, (b) decide how to fix it, and (c) decide who will fix it. |
@jonathanolson pointed out that the workaround in #44 (comment) can fail in some circumstances. You really need to |
4/27/17 dev meeting notes: Sounds like we should ditch the chipper Deferred to 5/4/17 dev meeting, when @mattpen is here, since he's done some working on perennial and build-server. |
Assigning myself to review this issue's process in an effort to learn more about the build process, as per suggestion by @ariel-phet. |
Will plan to move to perennial's version. I'll update documentation and process documents. |
Deploying a PhET Simulation says:
Following those instructions fails. Here's an example after doing a maintenance release of function-builder 1.0:
The text was updated successfully, but these errors were encountered: