Closed ralphcallaway closed 4 years ago
From what I can tell there doesn't seem to be any way to setup the schedule outside of manual configuration on the site.
I guess the best we could do is just add setup instructions.
Are you thinking a nightly run?
was thinking weekly in this case, but it really boils down to the project, other projects i'd do daily since they don't have a real release process and changes can come at any time. so instructions would just recommend a frequency based on how often one off changes are made in production
I think we may have actually talked about this, but what if the scheduled script checks for last sync and skips it's within some internal (could be configured in ENV). Then you can just setup it to run nightly in every project.
Would also help reduce unnecessary syncs on days that sync ran via PR or other means.
If everyone is using source control syncing only when a pull request has happened seems efficient, but when working on projects where other devs are working outside the repo it's helpful to sync this on a schedule. Update the instructions to recommend this.
Might be worth making this standard as we expand base metadata to include stuff, i.e. custom fields, that are typically modified in production directly.