Open miura opened 6 years ago
see miura@1b5a3645e541ac709d96a1186a81679c1a8a757b for and example structure_sync.data.yml
This was the status in October.
Export process worked nicely, cin worked nicely but then import taxonomy got stuck. Inverstigating.. Also for menu not everything was exported...
ok, some patch pending and open issue, maybe not ready for using .. Let's Watch the next version, for now not ok. https://www.drupal.org/project/issues/search/structure_sync?status%5B0%5D=8&status%5B1%5D=13&status%5B2%5D=14
Revival: please agree to use this module, to avoid the disappearance of contributions like we are seeing this time...
Export process worked nicely, cin worked nicely but then import taxonomy got stuck. Inverstigating.. Also for menu not everything was exported...
In terms of importing, doing it from the GUI works. /admin/structure/structure-sync/general
Related to https://github.com/NEUBIAS/bise/issues/72 and https://github.com/NEUBIAS/bise/issues/66 merged with this one then
@florian-levet @PerrineGilloteaux @vcaldas
please comment.
Updating the workflow for taxonomy terms
Kota
20181023
Current way of Adding, Editing, Weighting Taxonomy Terms
Up until October 2018 Taggathon, taxonomy terms incuding BISE ontology was handled in the following way.
Recommended update in the workflow
By using an add-on package "structure sync", it's possible to export taxonomy terms as yml file and handle them just like other settings.
Expexted workflow is as following
Exporting taxonomy updates from database to yml file
drush export-taxonomies
and it will be ready to be exported as files (changes at this stage only happens within the database)drush config:status
(short formdrush cst
). If there is difference, you should see structure_sync.data.yml in the list.drush cex
(config:export) will updatestructure_sync.data.yml
file according to the updates in the database.git add .
&git commit - m "taxnonomy updated"
or so will add these changes to the version tracking.git push origin <branch name>
dev
branch. Wait (or insist) someone else to merge the PR.What Florian can do from now on, is these 7 steps. Extract taxonomy from Webprotege and update your local drupal database using the python script. Then follow step 1 to 6 to push the changes to the Github repo.
Importing taxonomy updates from file to yml file
git pull upstream dev
pulled any change instructure_sync.data.yml
, If this happened, then taxonomy term has changed and you need to do the following.drush cim
(config:import) to update your local database using updated yml file.drush import-taxonomies
to update taxonomy.