Search code examples
importgithubexportbitbucketplasticscm

Workflow for using Plastic SCM with public code hosting services


Is there a straightforward workflow to use Plastic SCM in-house while using one of the popular code hosting services like github or Bitbucket preferrably without requiring "double bookkeeping"?


Solution

  • As VonC pointed, there's no straightforward way to do it right now with 3.0 (unless you do a "little bit" of scripting) but we're working on it as one of the core features in the upcoming 4.0.

    Today, the internal 4.0 release (find some screenshots here) is able to do synchronization using fast-export/fast-import. For instance:

    • fast-export from git (saving the export marks)
    • fast-import into Plastic SCM (generate your own import-marks to be reused)
    • do changes in Plastic 4.0
    • fast-export to Git from Plastic

    And so on.

    The limitation, of course, is that using this approach you can't handle concurrent changes made at both sides.

    That's why we're working on a real "bi-directional synch".

    Plastic 4.0 will be a major change since we move from our "dynamic dag" into a static one (like Git), which will make communication a lot easier.

    We're already using it internally for Plastic development (moved a few weeks ago from 3.0 to 4.0), but it is still under testing, development and so on.

    Watch the new screenshots of the Distributed Branch Explorer, one of the great enhancements to unveil what's behind the evolved core...