Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Thank you Manu; I'll explore the triggers feature in Plastic.
  3. Today
  4. We will, hopefully, have it ready tomorrow.
  5. Hello @Gowrish, I think the Plastic SCM triggers will fit for you, specially the before-checkin trigger: https://www.plasticscm.com/documentation/triggers/plastic-scm-version-control-triggers-guide.shtml#Checkin You can add the logic inside the trigger body, check the names of the new objects, the timestamp etc... if it doesn't match your criteria then you can cancel the checkin operation.
  6. Great to hear you're aware of the issue and are working on a fix. Over to my backup machine until then. Thanks Andrew
  7. Hi Team, We use Plastic SCM 6.0. The major part of our code is pl/sql objects. We need to figure out if there is any validation method/scripting available in Plastic before we run the Jenkins build. Example of few scenarios: 1. If I need to have the sql script name in specific format. 2. The specific file is newly added into the branch after a certain date. Please let me know if I can contact someone from the Plastic team to understand our requirements can be fulfilled using Plastic. Thank you in advance.,
  8. Pending Changes Broken on High Sierra ?

    HI, I'm afraid the current Plastic version doesn't still support High Sierra. We are releasing this week a new version fixing the problems. I will update this post when it's available. Sorry for the inconveniences, Carlos.
  9. I'm using Plastic on Mac OS and have just upgraded to High Sierra and it looks like the Pending Changes window does not work. So on one project which had some changes, the window shows nothing other than the blue 'Finding changes in the workspace...' box at the bottom, and I've left it hours. As another test I created a workspace for a small repository that was not on this machine and changed to the latest change set which correctly got all the files, however pending changes shows the whole directory '.' as being deleted: Also if I edit a source file it does not show up. I also unticked the Miscellaneous option 'Compare file contents instead of timestamps', but this made no difference. A tad stuck....
  10. Query Logic (cm find) for Attributes Help

    Also, if != does exist, but doesn't show branches because they simply don't have one assigned at all, is there a way to check if a branch has no attribute?
  11. In order to filter out branches that have been merged and/or abandoned (like test branches), I was looking into attributes as they seemed like the easiest way to have a blanket identifier for this kind of flag. I am able to easily add a "find branches where attribute='Closed' " to find the closed branches, but how can I do the inverse of this? I would like to have a filter that shows everything with an attribute != 'Closed". I know I could add an attribute to everything, mark it as "1" and set "0" as the "hide" options, but that requires every branch to be updated and modified. Only on finished code reviews should an attribute be appended in order to keep the workflow easy. Does anyone have any knowledge about Query statement logic and syntax? The documentation only shows "=" examples. Thank you!
  12. Ok, Will it work if I change RepliKate to use the --push switch or perform a replicate --package followed by a replicate --import? I tried a replicate --push manually and got the same visibility error so I'm assuming that wont be possible either: gilp@maya:~ $ cm replicate "br:/main@areia-art@gilp@cloud" "rep:areia-art@localhost:8087" --push Error: No such host is known Now I'm trying to do a manual replicate using --package and --import with no success so far: gilp@maya:~ $ cm replicate "br:/main/dev@areia-art@localhost:8087" --package=tmppackdev FetchingFinished. 124 % Revs: 10 % Revs: 100 % Items 35 Revs 69 ACLs 1 Changesets 14 Labels 0 Applied labels 0 Links 0 Applied links 0 Attributes 0 Applied attributes 0 Reviews 0 Review comments 0 gilp@maya:~ $ cm replicate "rep:areia-art@mycloudorganization@cloud" --import=tmppackdev Time uploading metadata package 835 ms PushingRevisions. 142 % PushingFinished. 100 % Error: Object reference not set to an instance of an object How can I debug this error? I tried adding a plastic.log.conf and a plasticapi.log.conf files to my client path but no log file is being created.
  13. Export and Import

    I think I have solved it by using the Sync respositories feature to make a copy of the original repository as a subrespository of another.,
  14. Export and Import

    I am trying to 'move' a set of repositories so that they become sub-repositories (so I can view as a tree). What is the best way to do this? I was thinking to fast-export and fast-import but I tried that and didn't get the full history imported - only the last changeset. Is there a better way?
  15. Hello @Tre, I find your feedback really interesting, it's clearly an improvement. Do you mind to add this feedback to our user voice area so other users can vote it up. if it gets enough traction we'll get it implemented. You already have my three votes. Best, Manu.
  16. Shelves and Exclusive Checkouts

  17. Oh! I'm afraid that will not work since the cloud is not able to reach "localhost:8087"... The communication localhost:8087 -> Cloud will work but the other way around will not, you'll need to expose your PC to the Internet with a reachable name.
  18. Shelves and Exclusive Checkouts

    yes upgrading to the latest version fixed it for us - thanks @manu!
  19. Shelves and Exclusive Checkouts

    Hello @DavidJ, can you please tell me the Plastic SCM version you are using? Is it lower than If so then please upgrade your client, we fixed a similar issue a few weeks ago.
  20. Out of Sync icon

    Hello @DavidJ, you are right, it seems something is wrong there... I can't get it either. I'll try to gather more info and I'll come back to you.
  21. Hello, I'm currently having a bit of a fight with this error window : "the parent revision is inconsistent". I understand plastic is trying to protect the new file over my old file. And this is good. But here are 2 suggestions on how i think to handle this better : Don't just tell me the problem for 1 file, then I fix it, then tell me the problem for another file, etc... Currently, plastic will stop at the first conflict, instead of giving a list. The two scenarios I see to resolve this conflict (for un-mergeable file) : 1) I want to forget my file. I have to cancel checkin, undo the change, and checkin again. 2) I want to keep my file over the repo file. Currently, i have to backup the file > undo the change > checkin > manually overwrite the file > checkin again. Now for case 1, it's not too bad, but still cumbersome when have to do it for multiple files, because of the first issue. Still, would be much easier if I had a button "undo my local changes" with the obviously needed confirmation popup, giving me a list of the files I'm about to loose. For case 2 however, it's a lot of steps, that have to be done for each file! And worst, if I backup the files, then undo & checkin, then overwrite with my backup, plastic will recognize this overwrite as still being an old revision, so the problem is still there. For binary file, i don't know how to fix that. Solution : Why not show all the conflicts, and for each conflict, choose which file to keep? "Keep my file" > the repo file is not lost, it's still on the previous changeset. "Keep repo file" > Just the same as doing "undo change" and checkin again. I understand the need to do everything possible to not go "backward". But for my situation here, the conflict happens on automatically updated files by unity, like materials or font asset files. They have been automatically updated on the machines of the coders who checked them in for some reasons, but I am the artist and I know that my materials or font assets files are the good ones, so i want to overwrite them. I hope my suggestion is helpful! Thank you
  22. Yesterday
  23. Hi @manu, That didnt't work given client.conf only store the last configured credentials and i needed it to have my credentials for both my server and the cloud. But I tried your cm lrep test on my windows client and so i guessed these credentials should have been stored somewhere in my config files on the windows machine. Looking around I realized that my windows client uses a profiles.conf file to store several credentials like this: <?xml version="1.0"?> <ServerProfileData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Profiles> <ServerProfile> <Name>gilp@cloud_LDAPWorkingMode</Name> <Server>gilp@cloud</Server> <WorkingMode>LDAPWorkingMode</WorkingMode> <SecurityConfig>::0:username:crypted_pass:</SecurityConfig> </ServerProfile> <ServerProfile> <Name>mylocalservername:8087_UPWorkingMode</Name> <Server>mylocalservername:8087</Server> <WorkingMode>UPWorkingMode</WorkingMode> <SecurityConfig>username:crypted_pass</SecurityConfig> </ServerProfile> <ServerProfile> <Name>localhost:8087_UPWorkingMode</Name> <Server>localhost:8087</Server> <WorkingMode>UPWorkingMode</WorkingMode> <SecurityConfig>username:crypted_pass</SecurityConfig> </ServerProfile> </Profiles> </ServerProfileData> Using "cm crypt" i was able to properly fill the SecurityConfig tag with my respective usernames and crypted passwords. Now if I run replikate repo@mycloudorganization@cloud repo@localhost:8087 it works fine with the following output: $ sudo /opt/plasticscm5/mono/bin/mono /opt/plasticscm5/replikate/RepliKate.exe areia-art@mycloudorg@cloud areia-art@localhost:8087 --onlyshowunsynced=false Log at : /opt/plasticscm5/replikate/RepliKate.log.conf /home/gilp$ cm find branch --format={name}#{id} --nototal on repository 'areia-art@mycloudorg@cloud' Plastic SCM shell /main#3 /main/dev#1000 Going to replicate the following branches: br:/main Id 3 br:/main/dev Id 1000 /home/gilp$ cm replicate "br:/main@areia-art@mycloudorg@cloud" "rep:areia-art@localhost:8087" OperationStartingFetch OperationStartingFetch OperationStartingFetch OperationStartingFetch OperationStartingFetch CalculatingInitialChangeset etchingFinished. 3 % FetchingFinished. 3 % FetchingFinished. 498 % ataWritten Items 0 Revs 0 ACLs 0 Changesets 0 Labels 0 Applied labels 0 Links 0 Applied links 0 Attributes 0 Applied attributes 0 Reviews 0 Review comments 0 /home/gilp$ cm replicate "br:/main/dev@areia-art@mycloudorg@cloud" "rep:areia-art@localhost:8087" OperationStartingFetch OperationStartingFetch OperationStartingFetch CalculatingInitialChangeset CalculatingInitialChangeset FetchingFinished. 7 % FetchingFinished. 718 % FetchingFinished. 718 % DataWritten Items 0 Revs 0 ACLs 0 Changesets 0 Labels 0 Applied labels 0 Links 0 Applied links 0 Attributes 0 Applied attributes 0 Reviews 0 Review comments 0 however, i want to replicate my local server on the cloud and if i try runnig replikate repo@localhost:8087 repo@mycloudorganization@cloud I get the following output: $ sudo /opt/plasticscm5/mono/bin/mono /opt/plasticscm5/replikate/RepliKate.exe areia-art@localhost:8087 areia-art@gilp@cloud --onlyshowunsynced=false Log at : /opt/plasticscm5/replikate/RepliKate.log.conf /home/gilp$ cm find branch --format={name}#{id} --nototal on repository 'areia-art@localhost:8087' Plastic SCM shell /main#4 /main/dev#38 Going to replicate the following branches: br:/main Id 4 br:/main/dev Id 38 /home/gilp$ cm replicate "br:/main@areia-art@localhost:8087" "rep:areia-art@mycloudorg@cloud" Error: No such host is known Command cm replicate "br:/main@areia-art@localhost:8087" "rep:areia-art@mycloudorg@cloud" failed with error code 1 Error replicating branches: Replication didn't finished properly: Branch/main at repliKate.Replicator.Replicate (System.Collections.IList branches, System.String src, System.String dst, System.String wkpath, System.Int32 initBranch) [0x00152] in <416cafce4578458aace2e15386b62b43>:0 at repliKate.RepliKate.DoReplication (System.Collections.IList branches, repliKate.RepliKate+RepliKateParams rParams) [0x00025] in <416cafce4578458aace2e15386b62b43>:0 Any idea on what is causing this error?
  24. Out of Sync icon

    The Out of Sync functionality in the Plastic plugin for Unity (we're on 5.6.3) doesn't work for us. We never see the yellow triangle indicating that a file needs to be updated. If we directly query the status of a file using UnityEditor.VersionControl.Task task = Provider.Status(vcAsset, true); .... task.IsState(Asset.States.OutOfSync) then it never returns true, instead an Out Of Sync file returns Local | Synced. Can any shed any light on what's going wrong for us?
  25. Shelves and Exclusive Checkouts

    We set our .unity files to be exclusive checkout because they are usually unmergeable and we don't want our developers to lose work but we have an issue where the exclusive checkouts doesn't interact well with shelves. To reproduce do this in any branch: Edit a .unity file Shelve the file Undo changes to the file so your workspace is clean Apply the shelf to the workspace Process merge We get the error message below, even though the unity file is not out of date, and the only way we can get Plastic to apply the shelf is to remove the exclusive checkout option. Any advice about how we can avoid this?
  26. Is TeamCity supported with Plastic Cloud?

    Oh, I'm afraid that plugin is not supporting Plastic You can ask them to try to support it though!
  27. Oh! Thank you for taking the time to debug the issue and returning with the answer! I wasn't aware of the memory limitation of the docker containers, this is value information for the rest of the community. If you finally find out how to increase the 1GB limit please come back to us so we can learn it too.
  28. Is TeamCity supported with Plastic Cloud?

    Oh, I am sorry, I am trying to connect the TeamCity Visual Studio addin (see https://confluence.jetbrains.com/display/TCD10/Visual+Studio+Addin) with Plastic Cloud SCM. The addin requires a compatible repository system so it can detect local changes. You can also see more here for example: https://blog.jetbrains.com/dotnet/2013/03/12/teamcity-plugin-for-visual-studio/ The idea is to test your changes on the build server using TeamCity before submitting them to the repository. Hope it's more clear, please don't hesitate to ask if you need more clarification. Thank you very much for your help.
  1. Load more activity