You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trap task runs and step runs for output via json or console
Update whereFromPlugin to use a range rather than <= a single version
due to using <= for whereFromPlugin multiple tasks are marked as applicable and only performed in order due to their sequence within the migration file, this could lead to potential issues with tasks not being performed in the correct order.
potential issues - If a describe task is stopped with whereContent the migration script will not run updatePlugin and therefore the proceeding tasks will not be applicable, a potential solutions:
overlap versions such that two tasks whereFromPlugin range starts with the preceeding update version
swap whereContent to wherePlugin which rather than checking if content is present will check if the plugin is part of the course (this would also reduce code duplication throughout the migration scripts)
ensure that if a migration task requires an attribute to be included the check for that attribute is carried out within the mutate function rather than whereContent, this ensures that the migration script will always run and always run the updatePlugin function
UI
need to go through shapeup process to design the AAT process
user clicks update plugins
capture plugins and data
update plugins
tbc
select migrations, run, review, skip, cancel etc
run migrations, error at failed courses
[] fail early
make a pretty terminal output
allow aat to display changes and answer questions
handle errors with question, allow to run without ui
The text was updated successfully, but these errors were encountered:
Use-cases
Context
Considerations
Algorithm must:
!Allow application of schema defaults!Defaults will not be available for interim steps, reconsider?Migration steps must:
Todo
Design
Issues
Functionality
removePlugin({ name: 'quickNav' });
addPlugin({ name: 'pageNav'', version: '6.1.0' });
updatePlugin({ name: 'adapt-contrib-text', version: '6.1.0' });
UI
The text was updated successfully, but these errors were encountered: