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
{{ message }}
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
Currently the tasks.move_article task does a lot of git command-line actions to manually move an article directory from one publish status to another. This is necessary since this kind of action is not available from the API. However, the task clones the entire content repo each time, which could be improved to speed the task up.
The text was updated successfully, but these errors were encountered:
We cannot always depend on a local clone of the content repo to be available since we're currently running on Heroku where the local file system can disappear out from under us. However, we could use a specific directory on the local file system instead of a temporary directory as we do now. It might work like the following:
Check for local clone in a specific location
If that location exists, cd into it and run a git pull origin master to update it then continue on
If it doesn't exist do as we do now and run git clone
Currently the
tasks.move_article
task does a lot of git command-line actions to manually move an article directory from one publish status to another. This is necessary since this kind of action is not available from the API. However, the task clones the entire content repo each time, which could be improved to speed the task up.The text was updated successfully, but these errors were encountered: