informatics-isi-edu / protein-database

Deriva Protein Database Project
2 stars 1 forks source link

Create a plan for updating PDB-related software #197

Open brindakv opened 3 months ago

brindakv commented 3 months ago
svoinea commented 3 months ago
  1. Currently, make-mmcif.py is not part of the python-ihm Python Package. It can be got from the python-ihm repository:

    git clone https://github.com/ihmwg/python-ihm.git

    The make-mmcif.py file is on the python-ihm/util directory.

  2. If you have versions preference, please go to https://github.com/informatics-isi-edu/protein-database/blob/master/scripts/ubuntu/www/deploy.sh#L81-L93 and specify them. So far, there was never a problem by using the latest version of them.

  3. The *.yml files are now present in the py-rcsb_db_v0.86.tar.gz file, and those are the ones used. In case an update occurs to them, how should we get them? A new *.tar.gz file? Or a different way?

  4. Regarding CifCheck, it was built only once as described at https://github.com/informatics-isi-edu/protein-database/blob/master/scripts/ubuntu/www/deploy.sh#L105-L113 and the binary code was comitted into the protein-database repository. It was working on all the new Fedora versions as well as now on Ubuntu. So far, no problem was reported by using only the very first build of CifCheck.

aozalevsky commented 3 months ago

from https://github.com/informatics-isi-edu/protein-database/issues/163#issuecomment-2010307830 by @svoinea

  1. On production, the script is /root/ihm_validation_checkout.sh. The checkout is for the tag 20240315:

Each time you want to apply a new tag, set its value in the /root/ihm_validation_checkout.sh script and run it.

  1. On dev, we have the daily script /etc/cron.daily/dev-update. The checkout for IHMValidation is for the latest dev_2.0:

Each time you want to apply an update, run manually the script /etc/cron.daily/dev-update. Or if want a specific tag, replace origin/dev_2.0 by the tag value, and then run the script.

The generated log file is /root/pdb-cron-hourly-update.log.