Jump to content

Search the Community

Showing results for tags 'gitsync'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Unreal Engine
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion
  • PlasticX Early Adopter Program's General Feedback
  • PlasticX Early Adopter Program's Issue Reporting
  • PlasticX Early Adopter Program's Feature Requests
  • PlasticX Early Adopter Program's Announcements

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 16 results

  1. Hi, I've been having issues syncing a plastic repository with git since I added an XLink to the project. There is a similar post here where a user is encountering a similar issue although I wasn't able to resolve my issue through that post. The issue is this. I have 2 plastic repositories, 1 called "LevelEditor" and another called "Core". These two repositories are both synced with two git repositories hosted on bitbucket. This syncing has worked just fine, but recently I created an XLink in the LevelEditor project, which points to the Core repository. Since that point I have been unable to sync LevelEditor with its git equivalent, receiving the error: "The equivalent Git repository for 'CLIFTEK_CORE_REP@localhost:8087' has not been defined. The xlink cannot be pushed. Please, add the equivalence inside the submodules section in the configuration file 'C:\Users\Thomas\AppData\Local\plastic4\gitsync.conf'." My understanding having read the thread I mentioned earlier and the documentation here is that I need to have the submodule information defined in this gitsync file. I did not actually have a gitsync file but I created one at the given path. I then proceeded to add the submodules information. This is what the file looks like: [submodules] https://bitbucket.org/cliftek/core/ -> CLIFTEK_CORE_REP@localhost:8087 writeable:true relativeserver:true Unfortunately this has had no effect for me and I still receive the exact same error as before whenever I try to sync (I have restarted the plasticscm server and client a few times). I am sure that I have got the syntax wrong or something similar but can't get it to work. Could you provide me with some assistance to help rectify this issue please? Thanks, Tom
  2. Hello. I wanted to comment on and document various questions and issues I have with plastic in conjunction with GitSync in case it helps with others. To reinforce what's already been mentioned here , I've found the current Plastic GitSync documentation to be quite lacking, so I'll try to walk through my steps that might raise questions that aren't well covered in the docs. 1: I have a 'gitolite3' git server running on a separate machine ('mygitserver'). 2: I have a windows PC ('devpc') with a clean install of plastic enterprise (11.0.16.7388) for which I'm currently using a trial license. 3: Following the tutorial, I seem to have to create a new repository first before I can do anything with GitSync. This is already raises an unclear issue: 'mygitserver' already contains several repositories that I'm trying to use, so to have to first create a new repository on my 'devpc's localhost plasticscm server isn't well explained in my opinion. For example, with a clean installed plastic client, I've been wondering whether we're supposed to (or are able to) point the plastic client straight at a git server (or specific respository on a server) in the client configuration prompt that asks for a server. I suspect this initial client configuration server specification has to be a plastic scm server but it would be helpful to explain why (... or to to reiterate why, if I've somehow overlooked or misunderstood how things work with plastic and gitsync). Anyway, I proceed to create a new plastic repository (even though this is counter-intuitive because I want to use an existing git repo.). 4: Then I right-click the /main branch: 'Push/Pull' (n.b. the doc's seem to use a different name) > 'sync with git'. What do I use for the git repository url? It seems as though the plastic docs only use 'https://...' urls. On my 'devpc', I'm able to just use '> ssh gitolite@mygitserver', for example, to list all available repositories as well as all the usual commands lie '> git clone gitolite@mygitserver:repoabc'... so I have a guess at using 'gitolite@mygitserver:repoabc'. This results in an error - "The transport for gitolite@mygitserver isn't supported, sorry." Let's try this instead: 'git://gitolite@mygitserver:repoabc'. Nope - "An error occurred while connecting to Git: No connection could be made because the target machine actively refused it. 192.168.1.71:9418" Should I be using this: 'ssh://gitolite@mygitserver:repoabc'? Still fails - "An error occurred while connecting to Git: ssh connection failed." I realise the quirks of various git server implementations and protocols are not particularly the domain and responsibility of Plastic but I see a lot of people flailing around with similar problems elsewhere relating to the syntax for specifying git repos in conjunction with the different protocols, so plastic could really help us out here by illustrating the various accepted forms of a git repository url. Confused at why I can run git commands on the command line just fine, but I'm getting unhelpful errors with GitSync, I hunted around and found yet another suggestion elsewhere, to try to put some settings in: C:\users\[me]\.ssh\config - Host mygitserver User gitolite Port 22 IdentityFile C:/path/to/my/privatersakey and now I try again and have a guess at using 'ssh://mygitserver/repoabc'... which finally works! I don't actually know whether this config was even necessary or whether the key was to not use the ':' separator from the git server and the repo name. How is one supposed to correctly specify a URL for a working '> git clone gitolite@mygitserver:reponame' command? Anyway, it's unfortunate that I've been allowed to create a plastic repository whose name differs from that of the git repository. I suspect it would be a nicer workflow if we could point plastic straight at a git repo(s) from the start and have plastic client do any necessary plastic server repo mirroring/creation behind the scenes, at the same time as specifying the local workspace and an (optional) git repo url in the 'Create a new repository' dialogue, where the use of a git repo url would force a matching plastic repository name (or as matching as possible, since I think you can have arbitrarily namespaced-style git repositories, like 'some/dir/repoabc', and this exact pathing style might not be allowed in plastic's repo names). Finally, I've also seen mention of gmaster on these forums and elswhere but 'https://gmaster.io' is unreachable. Has it been discontinued (if so, why?) or is it just temporarily unavailable? Thanks Dan
  3. Hi all, I am using Gitsync to synchronize my Plastic repositories with Bitbucket's Git remote repositories. My purpose is to use DevOps infrastructure such as JIRA and Bitbucket pipelines through Bitbucket's Git repositories. This has generally worked well. However, the project I am dealing with is huge (Unreal Engine 5 stuff) and Gitsync when there are massive changes is lengthy. Also, of course, LFS puts a strain on Bitbucket and other storage. My purpose is to work with DevOps infrastructure, so I don't actually need to keep non-code assets on the Git side that are handled by LFS. I only need to be able to manage issues and branches tied to changesets, and the only questions and reviews on Bitbucket are text code files. When building, Pipeline can order the build server to clone all data, including binary files, from the Plastic repository. The Git repository is a "view" for development. So, we would like to use Gitsync, but not synchronize LFS binary object files, and hope to send only pointer files tied to the binary files in the Plastic repository to Git. This "pointer file" is supposed to be something like a Git LFS pointer file, but it can be anything as long as it can be mapped. This would be a one-way sync from Plastic to Git, but I think there are many cases where it would be useful for the Git repository to act as a simple view of the Plastic repository. Is this currently possible? If not possible, could it be implemented? Thanks!
  4. Hi all, I am trying to do a Git sync and I get this random error: I also tryed to use the CMD command "cm sync ..." and i got this: what is the Configuration View and how do I unload the items? here the output of the log file:
  5. Hey all, Basically the title. I'm looking for a way to automatically sync with git any time a checkin is done with PlasticSCM. It's not a big deal for me to manually hit the sync button, but we have a few team members who I suspect will forget to do this regularly and I don't want to have to do big sync jobs every time I remember to do it. So, is there any way to do this? Thanks in advance!
  6. Good day I have a GitHub repo that is a fork of an existing public repo, so I can contribute to an open source project. With Plastic, I was able to follow your online docs to create a new local repository, add a workspace, and sync from GitHub using my normal GitHub credentials. (I used HTTPS this time, but I'm amenable to SSH if I can figure out how to tell Plastic client how to find my SSH public key.) I created a branch in Plastic, made some small changes, then checked in the changeset on my branch. Attempting to push to the GitHub repo, however, fails every time because Plastic is unable to authenticate. I know the credentials are good, because I'm simultaneously logged into the GitHub web interface with those same credentials. I've got several questions related to this, some of which I can't find in the docs but others are requesting clarification of what the docs say. I have not set up an email mapping in the Plastic config file, because the email associated with my Plastic Cloud account is the same as the email for my GitHub account. Do I need to provide a mapping file anyway, e.g., "myself@example.com = myself@example.com"? The email mapping file says the LHS should be the email for my Plastic account. The only repos involved are on my local SSD and on GitHub, so I am confused as to why the Plastic Cloud account is involved at all here. Can you please explain? My GitHub login credentials are by a username and not by email address, so how does that affect what I put into Plastic's config and/or popup prompts? Is it possible to change the remote sync method and/or repository path without deleting and starting over on the local side? (I'm familiar with the process for deleting the metadata under AppData/Local/ or equivalent). The documentation for PlasticSCM GitSync doesn't seem to cover how to use SSH keys, and the popups are quite specific in requiring a password. I have my SSH pubkeys installed in my GitHub account, but I don't know where to configure Plastic client to use them. Does the fact that my GitHub repo is a fork of another repo, and I don't have write access to the parent repo, matter to Plastic? Finally, if Plastic is storing the remote repo metadata, why is it prompting me for credentials at all? For good security, my GitHub password is a long random string, so am I going to have to retrieve it to clipboard from my password manager tool every time I want to push to remote Git servers? Thanks for the info, and sorry for the newbie questions.
  7. Hi there, I would like to import a git repository to a new plastic scm repository. (It would be a one-time import.) I made an import from UI by `GitSync` and from the command line by `git fast-export` but at both methods, the authors of the git commits were not imported correctly into the plastic repository. All imported changesets got my plastic user as owner, but there are two other authors in the git repo. I would like to see almost the correct history with owners/authors in the plastic repository after the import. (I am a cloud user right now.) How can I import all git authors as plastic owners into my new plastic repository? Thanks in advance!
  8. Hello, I synced git repo("Git_Repo_A) with my plastic repository(Plastic_Repo_A) , but i did that on a wrong plastic repository. Now, i would like to remove this connection. Is there a way i can directly perform this operation?
  9. Hi, We have the repository that is hosted in PlasticSCM Cloud. It is small repo without huge files. I need to sync it with new GitHub repository. I open Repositories, click "View branches" on the repository Repo@Company@cloud, and then run "GitSync..." at the main branch (result doesn't depend on the particular branch). The PlasticSCM client executes all steps and at final step shows the following message: "Unable to read data from the transport connection: The connection was closed". plastic.debug.log.%date%.txt includes the following lines: Error message: Unable to read data from the transport connection: The connection was closed. 2020-12-08 hh:mm:ss,fff DEBUG plastic - StackTrace: at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.BinaryReader.ReadBytes(Int32 count) at LibGit2Sharp.Pkt.parselen(BinaryReader reader) at LibGit2Sharp.Pkt.Demux(BinaryReader reader) at LibGit2Sharp.Remote.Upload(PackBuilder pb, IEnumerable`1 updates) at Codice.Foreign.GitPusher.Upload() at ki.a(List`1 A_0) at og.a(adk A_0, Boolean A_1, String A_2) at og.a(lq A_0, RepositoryInfo A_1) at og.i() Client is Windows 10 Pro, PlasticSCM version 9.0.16.4725. I'm not sure that it is related, but I am not able to sync this repo to my local PlacticSCM server. Client shows the following error: "Error: There has been an unexpected error "Connection refused [::ffff:127.0.0.1]:8084". For the more information check the server log". The firewall doesn't has any rules for PlasticSCM, but other repositories could be synced to local server. Sincerely, Illya
  10. Hi! I am trying to migrate a repo from GitHub to Plastic. It has a submodule. I have gitsynced the submodule to plastic. I've set up the gitsync.conf as below. Im not sure of the syntax is correct. The only example I could find was a local repo not a github one. When I try and gitsync the parent project. I get this: Can anyone help? Thanks!
  11. Hi there, I'm trying to use gitsync to synchronize some local plastic repos distributed across my various workstations to one private github repository. My project has one submodule (some shared videogame systems I reuse across projects), which I have successfully pushed to github using gitsync.conf and an xlinked/gitsynced local repo. The problem I'm now encountering is that, when I do the following: 1) Make a fresh local repository and use gitsync to pull from my github repo (which works flawlessly), then... 2) Make some trivial change and attempt to push it back up to github... The push fails, giving me the following error message: "There was a problem unpacking: index-pack abnormal exit" Now, I have no idea why this might be happening. I've noticed, however, that there is a weird discrepancy between the place where I made the initial push and all the places I've attempted to pull it: these fresh repos include a .submodules file in the root of the workspace, while in the original repo no .submodules file exists. So I suppose I have two questions. Am I SUPPOSED to see the .submodules file in my local plastic repos after syncing with a git repo that contains a submodule (or is Plastic supposed to automagically hide that from me)? And of course, the bigger question: why isn't this shit working? I love Plastic and I hate git, but I am interested in open-sourcing some code of mine so this seemed like it'd be the best of both worlds. Really hoping I can get it running nicely.
  12. I have a Github repository that I'm trying to sync with my Plastic repository, but I only seem to be able to sync one way. My first sync works only if I don't put in a username/password, and I can successfully sync the Plastic repo with my Github repo. However, when I check-in a change and then try to sync with git again, I always get the error "The credentials introduced for this repository are not valid". This is true not matter what I put into the username/password boxes, even if they remain empty as before. Now, I assume that the username and password asked for are the u/p combo I use to log on to Github. But it's not working. Why? How can I fix this? The repo I'm testing: https://github.com/aormsby/LittleTools-Unity.git
  13. Hi everybody, I'm afraid I did a big mistake on one of my repo. I have a repo called "My_repo_A" which has a XLinked sub repo called "My_repo_A_shares". This sub repo "My_repo_A_shares" is synced with a repo on github. But tonight, after a hard work week, I synced by mistake the parent repo "My_repo_A" with the same repo on github. That resulted in a warning like "the branches have to be merged before being able to push with gitsync again ...". Hopefully there are no problems on github, but in plastic a lot of commits are duplicated with different guid, and branches have two heads ... So ... the winner is me ! I know ... but is there a way to cancel a gitsync ? Thanks a lot for your help.
  14. Hi Everybody I'm trying to Sync with a private Github repository (I can access it because it is shared with my Github account). The username and password I entered are correct but this gives me the following error : An Error occured while connection to git : impossible to create SSL/TLS secured channel I use plastic 6.0.16.1765 I can give the Github repo address because it's confidential. Any Idea ? Thanks by advance.
  15. Our team uses TFS based on GIT. Client API: Git Extensions I've heard a lot about your software and decided to use it as a client the PlasticSCM. unfortunately I could not sync git with plastic: Authorisation Error. If use the Git server (without TFS) then the synchronization is successful. Do you have an instruction to connect the PlasticSCM to TFS based on git? PS: I'm use translate.google.ru
×
×
  • Create New...