This feature attempts to solve an existing problem
Yes
I am open to developing or collaborating on an extension module if this is not a good fit for Tripal Core
Yes
Is this feature urgent?
No
Description
I would like to be able to republish a single or small number of chado records.
This could be implemented with an additional key record_ids in the $options array that contains an array of primary keys to publish. These values would then be used in place of this line
|
// Retrieve all chado record IDs for this bundle. |
|
$record_ids = $this->getRecordIds(); |
Probably this could be an option for the drush publish command also.
Your specific use case
I am creating administrative tools to correct errors in chado records. These corrected records would need to be republished, but republishing all records is overkill.
Generally Applicable
.
Additional information/screenshots
Branch tv4g1-issue2542-micro-publish
This feature attempts to solve an existing problem
Yes
I am open to developing or collaborating on an extension module if this is not a good fit for Tripal Core
Yes
Is this feature urgent?
No
Description
I would like to be able to republish a single or small number of chado records.
This could be implemented with an additional key
record_idsin the$optionsarray that contains an array of primary keys to publish. These values would then be used in place of this linetripal/tripal_chado/src/Plugin/TripalBackendPublish/ChadoPublish.php
Lines 1636 to 1637 in f1d5bf6
Probably this could be an option for the drush publish command also.
Your specific use case
I am creating administrative tools to correct errors in chado records. These corrected records would need to be republished, but republishing all records is overkill.
Generally Applicable
.
Additional information/screenshots
Branch
tv4g1-issue2542-micro-publish