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
When the "update automatically" setting is enabled in a course, the course build notifies the A+ front in the end so that it imports the aplus-json configuration automatically. This operation is not always needed and skipping it would speed up the build. Particularly, when the course update in the git repo changes only the study materials in the RST chapter files (but does not modify any assignment directive in the chapter), then there are no changes that should be imported to the A+ front.
The Git manager platform already runs git operations on the cloned course git repo, thus, it should be possible to inspect the git commit history and check which files have been changed and what kind of changes there are.
Note that there could be multiple new git commits since the previous version.
Challenges that may make this unfeasible:
if only RST files are changed in a course git commit, we still have to check that no assignment directives have been changed in the chapter.
the course build may change files even though the specific file was not changed in the git commit. E.g., build.sh script in the course could modify any files.
A+ front stores the old version of the chapter contents in its content cache. It might be necessary to flush the content cache. When A+ imports aplus-json, it also flushes the cache. Now, only the flush might be needed without the aplus-json import.
The text was updated successfully, but these errors were encountered:
Rsync tells what files have changed, so it could be very useful for this if we end up using it to copy the built files
Optimize course configuring a-plus#1161 should make the automatic update take only a few seconds at most whenever only rst files have changed, so this change may not be needed after that
When the "update automatically" setting is enabled in a course, the course build notifies the A+ front in the end so that it imports the aplus-json configuration automatically. This operation is not always needed and skipping it would speed up the build. Particularly, when the course update in the git repo changes only the study materials in the RST chapter files (but does not modify any assignment directive in the chapter), then there are no changes that should be imported to the A+ front.
The Git manager platform already runs git operations on the cloned course git repo, thus, it should be possible to inspect the git commit history and check which files have been changed and what kind of changes there are.
Note that there could be multiple new git commits since the previous version.
Challenges that may make this unfeasible:
The text was updated successfully, but these errors were encountered: