-
Notifications
You must be signed in to change notification settings - Fork 0
PHP Scripts
Turan Furkan Topak edited this page Oct 12, 2024
·
2 revisions
It checks the changes in the wiki in the last 20 minutes and compares it with the current one, if it is different, it updates the current page. This script is set to run every 15 minutes with cronjop. Even if the use of webhooks is considered in the future, 15 minutes is too long for a FreeCAD wiki to keep it updated almost all the time. If there is control of the difference, it will prevent problems for simultaneous synchronization.
freecad_wiki_sync_to_github.php does the same job for files, it was made separately to work on it, it will be merged in the future. The comparison here is based on history, so extra changes are required for a possible simultaneous synchronization.