-
Notifications
You must be signed in to change notification settings - Fork 24
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
Store node_modules, static outside the repo #140
Comments
We don't (normally) force anymore so this is less of an issue, however I'm testing removing |
I didn't know there was an issue here for this, though I know we talked about it directly and I tried to get this working. Beyond particular expected paths needing updates in the Galaxy codebase, which we can fix, I had a lot of trouble getting just yarn's package scripts work as expected. My notes were: Yarn's Actually calling the package scripts for the various tasks is another issue. Node seems to make a lot of assumptions about where dependencies will be, and using .yarnrc to define this location doesn't change anything; when actually building executables will fail to be resolved, etc. What might work is to stage elsewhere and create a symlink to make it all think it's working like it's supposed to. |
D'oh, thanks for looking in to it and the update. Hopefully nuking |
Yeah, it should be totally fine to delete those contents after successful builds as a part of the update procedure. |
Because the client build process modifies the repository, when we update we perform a forced update with Ansible's git module that restores the repo to its pristine unmodified version. This means that
client/node_modules
is removed every time, and every time it is recreated for the client build. This process is excruciatingly slow.If at all possible, it would be great if
client/node_modules/
, and the rest of the built objects (e.g.static/
) could be stored outside the repo.Especially relevant as we need to run
yarn
even on stable branches (galaxyproject/galaxy#6297, 0701dcc) and it looks like we will be getting rid of built artifacts in stable branches before long.The text was updated successfully, but these errors were encountered: