-
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
Splitting database and website #24
Comments
I agree it would make sense |
I also agree with this! |
Related to this, I though we should make the construction of eggs parallelizable. This could be done in the following way:
If processing becomes slow, we could parallelize the generation using multiple travis jobs (each job processes some of the eggs), provided we find an easy way to combine the resulting files. Probably can be done by taking a hash of, say, plumed-nest version, plumed version, and nest.yml file (in principle given these three things the build is reproducible) and saving the resulting zip files somewhere (even on a temporary github repository where plumedbot has write permission). |
I think it is a bit annoying to update the website in the way it works now. I would like to restructure it as follows:
plumed-nest/eggs-database
) could contain only what's currently in theeggs19
directory as well as a single yml file corresponding to the current_data/eggs.yml
file. This repo would be the one where the script pushes all the updates to the database and will be automatically generated.plumed-nest/plumed-nest.github.io
) could contain only the website information (everything else in the currentplumed-nest/plumed-nest
) plus a git submoduleeggs-database
corresponding to the repository mentioned above. In addition, a file_data/eggs.yml
could be a symbolic link toeggs-database/eggs.yml
. This repository will be edited by us maintainers manually.The repository
plumed-nest
would still runnest.py
and push toplumed-nest/eggs-database
(as it does now). Whenever we commit onplumed-nest
, the script should do the following:eggs-database
. The push would be done maintaining historyplumed-nest/plumed-nest.github.io
asking to merge the submodule update.This change will improve the workflow in several ways:
eggs
directories are done with markdown, we can also check them from github directly (not rendered). After checking, one can merge the pull request on the website with a click.The is no urgency but I will have a look at this when I have time, so I open the issue in case anyone wants to comment.
The text was updated successfully, but these errors were encountered: