-
Notifications
You must be signed in to change notification settings - Fork 9
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
Speed up begin stage #407
Comments
It's just to prevent you from accidentally overwriting an existing application, causing corruption or data loss. I think it's a firm requirement. However, since you apparently know what you're doing, you could easily get around the limitation by using the |
I am not sure I understand that correctly. Do you mean I should skip the |
Oops; I meant to say sequenceDiagram
Active Dir->>+Staging Dir: begin (already happened)
Active Dir->>+Active Dir: live changes apparently?
Active Dir->>+Staging Dir: commit (instead of begin)
Staging Dir->>+Staging Dir: stage
Staging Dir->>+Active Dir: commit
|
Thanks for your detailed explanation TravisCarden! If I understand correctly the first |
It syncs them, if that's what you mean. In simple terms, the first
No, it definitely respects exclusions. You can see it working in my automated tests: https://github.com/php-tuf/composer-stager/blob/develop/tests/EndToEnd/EndToEndFunctionalTest.php#L251. The problem seems likely to be in your implementation. |
Right now it is not possible to execute the
begin
staging using an existing staging directory. But usingrsync
it would be totally possible to update an existing staging directory and thus speedup thebegin
stage. Why does this restriction exist and can we drop it?The text was updated successfully, but these errors were encountered: