Jump to content

Lazlo

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Lazlo

  1. On 1/20/2020 at 7:59 AM, calbzam said:

    Let me share your feedback with the team. Hopefully we can provide a solution in the near future.

    Regards,

    Carlos.

    Hi Carlos,

    Checking in on the UCB options as I promised. We're now at the stage where we have to implement a Unity Cloud Build solution. Has there been any progress on the Plastic or Unity front in the last 3 months?

    Thanks!

    Lazlo

  2. Hi, sorry for bumping this --

    I'm attempting to rename a repository but I also get the repository not found error.

    I managed to fix it by renaming it manually inside:

    • The GUI
    • plastic.workspace
    • plastic.selector
    • syncviews.conf
    • hidden_branches.conf
    • replicationsourcesinfo.conf
    • plastic-guihelp.conf
    • guivisualstate.xml

    It would be great if there was a warning that renaming a repository was not a supported operation from the GUI. Or in fact, just disabling it altogether, as it does not rename it properly everywhere at once.

  3. On 1/2/2020 at 1:41 AM, Kurono said:

    There's a guihelp-dontshowagain.conf file in /user/myuser/appdata/local/plastic/. I guess if you get that file from someone who has all the list of ignored tips, you could disable them all.

    Can we start a pool of sharing those?

    Here are mine so far on this computer:

    BrExTipCustomColors
    BrExTipUseTheSearch
    GluonWkExplSuggestConfigure
    GluonWkExplTipUseHistory
    PlasticPendingChangesAddedDeleted
    PlasticNewVersionAvailable
    PlasticPendingChangesSlowTooManyPrivates
    PlasticPendingChangesSlowMoveCalculation
    BrExTipOnlyRelevant
    PlasticPendingChangesWithAdded
    PlasticPendingChangesMovedFilesAndDirectories
    PlasticPendingChangesEmptyState
    PlasticWkExplExplainSearch
    On 12/20/2019 at 8:29 AM, calbzam said:

    Hi Lazlo,

    If you are using a recent version,  each help item will only be shown at most once a day. Is this the behavior you are seeing?

    These panels a useful not oly for new Plastic users but also in some complex merge scenarios... Anyway, your feedback is appreaciated.

    Regards,

    Carlos.

    I work on 4 different computers. Each of them gets the same sets of help tips every time. I'm used to Plastic now. They just distract me and take 50% of the screen every time for no valuable new information.

    I understand you want to bring contextual help. Maybe a small (max 32px high) banner or notification at the bottom right of the screen could appear when help is available instead? And let users click it if they feel like it's valuable to them.

    I also want to reiterate that there should be an option to disable all tips, globally, in one click. Whenever I set up Plastic SCM on a new computer, I have to endure those tips even though they are useless to me.

  4. 9 hours ago, calbzam said:

    I'm afraid it's not available for Plastic Cloud but it's on our roadmap to support it. You can also install a hosted Plastic server (that is a clone of the cloud one) only for Unity Cloud build purposes. The setup is a bit more complicated but it may also work for you.

    Regards,

    Carlos.

    Hi Carlos,

    Thanks for the confirmation. We're currently trying to avoid having a local server or build machine, hence why we're interested in Plastic Cloud and Unity Cloud Build in the first place.

    At this point after your help on the forums in the last few days, the possible options I see for pure-cloud hosting and build are:

    1. Native support for Plastic in Unity Cloud Build (ideal)
    2. GitServer support for Plastic Cloud (very easy)
    3. Git LFS support for GitSync (clunkier but manageable)

    As I understand all three options are on Plastic's roadmap but none are available for the time being.

    I took some head start for evaluating this so it's not urgent yet, but I'll re-evaluate this issue in late-February / early-March. If none of those solutions are available then, we'll probably switch to another VCS like Perforce or even just Git LFS. I don't mean this as a threat, I think Plastic is superior for game development for every other reason, but sadly Unity cloud build is a non-negotiable part of our pipeline.

  5. Hi Carlos,

    Thanks for the precision. I understand now that this was designed for the distributed workflow.

    GitServer seems amazing for our ultimate goal (using Unity Cloud Build!). Is there a way of enabling GitServer on a Plastic Cloud repo?

    This way we could simply point UCB to the http:// or git:// URL of the Plastic Cloud GitServer and it could work out of the box.

  6. 21 minutes ago, calbzam said:

    The mappings folder created in your client is what determines if a commit/changeset was previously synced. This way, if some commits/changesets where already synced, they won't be tried to be synced again. 

    Does that mean that it's impossible to GitSync from two different computers without duplicating the Plastic repo?

    Even if both computers sync from Plastic Cloud <-> Git host directly (not replicated), and if they both use the exact same login information for the Git host?

    This is what I was hoping to do. We have more than one developer on the team who would need to sync to Git. And even if we did not, it feels kind of weird that I have to be on the same machine to run the Git Sync every time or else my repo is doomed (what if that initial client machine becomes permanently unavailable, for example? then we can't ever Git Sync again?).

  7. 4 hours ago, calbzam said:

    I'm afraid all the repo content is duplicated :( 

    The only way to recover this repo is manually removing all the duplicated changestes one by one.

    Regards,

    Carlos

    Hi Carlos,

    Thanks for the precision. Some questions:

    1. Is there a way to toggle a "one-way" sync from Plastic to Git, kind of a "push-only"? In order to avoid this situation above, which I've had to fix 3 times already trying to understand how to setup GitSync properly.
    2. What determines whether a Git commit matches a Plastic changeset? I'm confused here because I thought the commits/changesets would be recognized as identical, since we're syncing from the same Plastic and Git repos, but just with a different login. Is the login data also used as a unique identifier?
    3. Is there a terminal command that can help me delete all children changesets faster than one by one through the UI?
  8. Hi,

    I set up GitSync to work directly between a Plastic Cloud repo and a Bitbucket host.

    After the initial tests worked, I created a new Bitbucket account with more restricted permissions for our bot instead of using my main account (because AFAIK SSH or 2FA is not supported in GitSync, which was not secure).

    Basically, all I did was change the batch file I had created from:

    cm sync repo@org@cloud git https://old-bitbucket-user@bitbucket.org/org/repo.git --user=old-bitbucket-user --pwd=old-bitbucket-password


    To:

    cm sync repo@org@cloud git https://new-bitbucket-user@bitbucket.org/org/repo.git --user=new-bitbucket-user --pwd=new-bitbucket-password

    When I ran the second command, I got warned that there already existed sync files and it refused to execute. The warning suggested that I could manually them in %LocalAppData%, which I did.

    After deleting the sync appdata files, the sync ran, but it created a duplicated head on the repo.

    I'm confused because the changeset GUIDs should be exactly the same, as they're the same repo after all.

    Is it because the https:// URL changed?

     

  9. Hi,

    Thanks for the precision.

    Can I post this as a feature request then?

    We have someone on the team who has a "management" role for the development process that is likely to label changesets for "bookkeeping" purposes with our issue tracker and release cycles, but they likely won't be creating new changesets of their own. Currently, there's no way for them to do that kind of work and share it with the team unless they create dummy code edits that pollute the repository just to force a sync.

  10. Hi Carlos, thanks for the quick reply.

    I'll recreate a new Git repo on my provider.

    Is there a way to Git Sync between the Cloud repo and the Git host from the GUI without having to download the files? (Sometimes it's multi GB projects for us).

    (Basically this other workspace setup would only be to trigger the git sync).

    Otherwise I'll just create a batch file to run the sync.

  11. Hi,

    We tried setting up GitSync in order to use Unity Cloud Build.

    We made the mistake of syncing from our local repositories instead of the cloud repository.

    This created duplicated heads and changesets because the GitSync-ed GUIDs were different, which makes sense.

    (By the way, it's not clear at all in the Unity Cloud Build interop tutorial that we should not git sync from local repos. The screenshot even shows syncing from a local repo in the GUI. The command line command is good, but the screenshot isn't).

    To fix the duplicated heads and changesets, we manually deleted all the changesets one by one.

    However, now, when we try to pull from the cloud, we get this error:

    Quote

    The sync process was unable to replicate the following branch:

    Branch: /main
    Operation: Pull
    Source repository: *****@*****@cloud
    Destination repository: *****@local

    Error description: 
    Cannot replicate because the two Plastic repositories are in sync with git (or replicated from the originally synced repos). Only one repo can be in sync at the time. The repositories originally synchronized are '*****@local - https://bitbucket.org/*****/*****.git' and '*****@local - https://bitbucket.org/*****/*****.git'. Please contact support for further info.

    I don't know how to fix this.

    I basically want to go back to a clean slate and get rid of all Git Sync configuration and history on all machines to start over.

    From this StackOverflow answer, I tried deleting all subfolders under C:\Users\UserName\AppData\Local\plastic4\sync\git.

    That did not solve the issue.

    So I have two questions:

    • How can I fix this and start pulling from the cloud again?
    • How can I GitSync with the Plastic GUI (not the command line) from the cloud repo when working on a replicated local repository?

    Thanks!

  12. Some prompts like these are really ridiculous... 50% of the screen (and 100% of my attention) is taken to tell me that... nothing happened, and that was fast?

    These prompts break my flow, divert my attention, and I decided I'd be learning Plastic through the Book anyway.

    How come there's no way to disable all of them?

    I don't know of any software in the world that doesn't let you turn off in-app tips like those.

    Screen Shot 2019-12-18 at 7.55.48 PM.png

  13. Hi Carlos, thanks for the follow-up.

    Unfortunately the operation still fails with the same error today.

    I'm on OSX so I don't know what the equivalent of restarting the server would be. But I am using the cloud edition.

    (As a suggestion, would it be possible in a future version to warn the user on quit when an operation is pending? Or even better, finish up / cancel and release the locks before quitting? I did a normal Quit operation, not a Force Quit, so from a UX point of view, I didn't expect to be causing any issue).

  14. Hi,

    I'm stuck and unable to pull a branch from the cloud.

    What happened:

    1. Tried to pull all branches
    2. At introducing data stage, Plastic seemingly got stuck at 96% (even though it was a minor changeset)
    3. Quit Plastic (Cmd+Q)
    4. Reopened Plastic
    5. Tried to pull from the branch that never finished

    I now get the error message in the title:

    An error occurred during the replication: The object is currently locked. Try later. RepId: 2 CsetInReplica:0db59347-726b-422c-bf68-c416c78ebc8c.

    611742532_ScreenShot2019-07-12at10_43_53PM.thumb.png.ef8679595491b4e8b9bc29e920ecb9cd.png

    I can't seem to find any way to recover from this. Recreating the entire project from scratch is something I'd want to avoid, as it's multiple GB in terms of size.

    Please advise!

×
×
  • Create New...