Hi,
I want to duplicate repository because we are working another team and Other team use gitlab and gitflow pipeline.
We want to duplicate our plastic scm cloud to another repo with gitsync, but when ever try this, I had this error Stream was too long. I just synced in another computer and replicate repo but When we tried in another computer, I got this error message. I do not feel safe in this pipeline.
What is the reason of this ? What do you think ?
My second question is about after every check in, we would like sync automatically for every user. Is it possible to work like this ?
If you have experience in this, It would be great to share your experience.
Thanks.
Hi,
For the first issue we need to review it in detail and get some logs from the client and server, can you please write us at devops-vcs-support@unity3d.com.
For the second question, do you mean to sync back to git after any check in from an user? There are workflows involving triggers that might suit you, a detailed description of the requirements can help us assemble the specific workflow, we can either discuss it here or on the same ticket as the first issue.
Hi,
Thanks for reply.I assume that I got support from your team mate.
I learned something new, We though that we should sync with gitssync in every check in but we realized that we do not need this, We should only gitsync end of day or When we push to production branch , It should sync for git in plastic. We will try this with triggers. I will share my knowladge here, If I learn something new.
There is limitation my understand, When we try to sync in another computer, Plastic duplicate branches, I can not use gitsync in another computer. It looks like we can only one computer for sync, right ? Is this bug, or limitation ? It is no make sense to me. @Rafafor_unity
Hi,
Gitsync is running on the local machine, so in this case it is a limitation to avoid conflicts between machines.
Hi @Rafafor_unity ,
I have two computers for work: one at the office and one at home. When I’m working at the office, I can use GitSync without any issues. However, when I’m at home, I can’t sync because trying to sync on the other computer duplicates commits. Is this normal, or is it a bug?
By the way, we are using Plastic Cloud.
Hi, this is normal. I’m afraid that GitSync is a client-side operation. The sync mappings are stored on the client side at:
C:\Users\xxx\AppData\Local\plastic4\sync\git
If you run the GitSync from a different machine where the local mappings are not found, the data will be duplicated.
Hi @carlosalba1985 . We have same error again. Stream was too long. This make it unstable pipeline between plastic and git protocol. What is the reason of this ? We could sync in normally but When we created new branch and try to merge existing to new branch, We had this error. Our project size is 5gb now. I added plastic logs. Let me know, If you have solution for this. Otherwise, We have to stop using plastic scm for this project. 
9869880–1422615–plasticx.debug.log.txt (7.45 MB)
Hi, did you open a ticket and you found a workaround, right?
Hi @carlosalba1985 ,
Yes, we solved the problem by deleting large commits and merging them into smaller pieces. It is likely due to the limit of the GitLab server we use. We also uploaded the .gitattributes file to the root of the project.
Thanks for your support.