-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Force-Push #17
Comments
Move issue to https://github.com/BlackFoundryCom/django-robo-cjk ? |
No need to move the issue, since I can reference issues on other repositories as you suggested me. |
Sure, but in general I agree with your original point that issues should be at the repo that is most relevant. (I didn't know the django repo existed until today :) ) |
Actually for Hanzi, it takes ~11 minutes to generate the physical project from the database, so I had to change the git sync interval to 20 minutes to avoid overlapping synchronizations. Generating the whole project at once from the database data is surely slow, but at the same time we can be 100% sure that the data is aligned with database data and that there is not stale data on the repo. I could reduce drastically the time by updating (at file system level) only files changed since last push but I want to think in advance to all possible drawbacks. Btw, I want to re-think e re-build how the physical project is built. Any suggestion or idea is welcome. |
I hardly know the contraints of the system, so this may be naive, but how about:
This way the on-disk filesystem representation of the projects is much less behind, and a force-push should be less problematic. If you're worried about data sync issues: perhaps have a single nightly job that compares and complains if something is off? That would also allow you to debug/fix any sync issues that remain. |
With "save to disk is scheduled/queued" I mean only for the data that was changed. |
Yes, that's exactly what I mean, then once a day during the night we could run an "hard sync" that generates the whole project from the database (it is what we actually do), in this way we go to delete possible old files. |
|
|
|
|
Will push to git immediately without having to wait 10 minutes for the next synchronisation.
The text was updated successfully, but these errors were encountered: