craftercms / craftercms

Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
288 stars 98 forks source link

Review sync-from-repo task and its use of audit table #6856

Open jmendeza opened 1 month ago

jmendeza commented 1 month ago

Latest version

Duplicates

Is your enhancement request related to a problem? Please describe.

New sync from repo algorithm in 4.2.x makes use of audit table to track processed commit IDs. This adds to the audit table size and also makes it difficult to remove older records.

Describe the solution you'd like

Consider adding a different table to keep track of the processed commits. This can be implemented in such a way that rows are automatically deleted when no longer needed (i.e.: all previous commits have been processed)