Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 08/09/2019 in all areas

  1. 2 points
    Hey, just thought I'd say thanks to the devs and support team for the good job you guys are doing. Plastic has been easy to use for the most part and the support team has always been quick to reply when I've had questions. Keep up the good work! (This message was not paid for)
  2. 2 points
    It is now in 'Developer settings' (settings -> developer settings -> personal access token -> generate new token), but the solution is still working 5 years later ;-). Thank a lot ! https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
  3. 1 point
    I don't think you have to download anything. Simply install Unity and Plastic SCM (e.g. Cloud Edition), and then in the Unity Editor Project Settings for the Editor, set version control mode to Plastic SCM. This will enable the feature that draws icons on top of the assets in the Unity project window and lets you checkin file directly in Unity. As far as I know this is already bundled with the Unity installation. There's an Asset Store page titled Plastic SCM that looks like the official plugin, but in fact, the last time I opened it, it was simply an interactive installer for Plastic SCM.
  4. 1 point
    I'm trying to find useful information in the logs, but so far I only found: ERROR PlasticThread - Error when performing background operation: Object reference not set to an instance of an object. ERROR ExceptionHandler - [Application_ThreadException] Unexpected error: Object reference not set to an instance of an object. Also see the attached full log of the few seconds when the error showed. plastic-log.txt
  5. 1 point
    This is now resolved with the help of support. First I checked the config files (it defines the server listening port): C:\Program Files\PlasticSCM5\server\remoting.conf And then the client configuration (that's where the targeting port is located):* C:\Users\<USER>\AppData\Local\plastic4\client.conf* C:\Users\<USER>\AppData\Local\plastic4\profiles.conf These were ok - they pointed it the correct port. Next - Finally, it might be your workspace still pointing to the 8084 port. To solve it:* Open a command line window.* cd to the workspace path.* run "cm ss" to check the target, it might be something like:rep "REPONAME@HOSTNAME:8084" path "/" smartbranch "/main/SCM27239" I ran this command, and my first line simply was "rep "REPONAME"". No host/port. I believe this data is stored in /plastic/plastic.selector in your workspace. * I was told next to run a switch operation to target the right port, something like (you need to adapt this to your scenario):cm switch br:/main/SCM27239@REPONAME@HOSTNAME:8087 This didn't work as I had modified a file in order to test and it complained it wanted me to have no pending changes (and "cm status" wouldn't run because of the original issue in the original post so I couldn't revert that one file). I then ran cm lrep HOSTNAME:8087 which listed my repos on the server so I think we knew at this point it was a workspace-only issue and not a server issue. So at this point - because I knew my workspace had no changes in it since I had checked everything in before the migration - I did this - BE CAREFUL when using this as I believe this kind of a nuclear option. It doesn't delete the files in your workspace - just the meta for the workspace and recreates it I assume. cd "path/to/wks" -> Replace the path with the correct one.cm rmwk . cm mkwk wkREPONAME . --repository=REPONAME@HOSTNAME:8087cm update . This solved my problem!
  6. 1 point
    Hi John, Are you using a WiFi connection? We have seen this error in the past and it comes due to some network issues. Probably using a different network or a wired connection will let you perform the whole checkin. That's why you were able to submit them one by one. Best, Héber.
  7. 1 point
    No, sorry. But I use "grep" in my daily basis. It' a very powerful and useful command regards, Carlos.
  8. 1 point
    Hi, If you just want to search a string in local workspace files you should be able to use a "grep", right? https://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/ Regards, Carlos.
  9. 1 point
    Hi, I have been testing how well Plastic SCM's Jira integration works with Jira Cloud and Jira's Next-Gen projects. Here is what I have so far: * Configuring the Jira integration using the Plastic UI behaved weirdly: If I went into Preferences / Issuetrackers and configured a Jira integration and pressed OK, the configuration would be active, there would be a jira.conf file written to my harddrive, but if I opened up Preferences / Issuetrackers again I would not see the currently-active configuration in the GUI. Solution: Configure once (to get a jira.conf file), then proceed from there by modifying the jira.conf file manually. * For Jira Cloud, the 'username / password' should be an email address / an API token. * It is reasonably straightforward to set up Plastic SCM to be able to create branches from issues. This works fine with Next-Gen projects. * When creating a custom field for Plastic SCM information, it is difficult to find the ID of the custom field in a Next-Gen project. I needed to talk directly to Jira's REST API to find it. * Plastic SCM cannot write information about check-ins to Jira issues in Next-Gen projects. This is because Next-Gen projects do not yet support Text (multi-line) fields; the only text field that is available currently is Text (single-line), which is limited to max 255 chars in length; this is not sufficient for a single entry from Plastic SCM. This is the kind of error that you will see in the log if you try this: ERROR jiraextensionrest - There was a problem putting to '/rest/api/2/issue/JIR-8': The remote server returned an error: (400) Bad Request. ERROR jiraextensionrest - Response from the server: {"errorMessages":[],"errors":{"customfield_10105":"The entered text is too long. It exceeds the allowed limit of 255 characters."}} * Plastic SCM can transition JIRA ticket statuses based on commit message keywords. This is easy to set up and works with Next-Gen projects. * There are some recurring error messages in the logs, but I don't know what impact they have: ERROR jiraextensionrest - There was a problem getting '/rest/api/2/mypreferences': The remote server returned an error: (404) Not Found. ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.diffchangeset.url'"],"errors":{}} ERROR jiraextensionrest - There was a problem getting '/rest/api/2/mypreferences': The remote server returned an error: (404) Not Found. ERROR jiraextensionrest - Response from the server: {"errorMessages":["key not found: 'plastic.formatdata'"],"errors":{}} Another observation: In the "Create new child branch from task" dialog, the "Mark as open in issue tracker" checkbox is cleared by default, its setting is not remembered between multiple branch creations, and the Plastic admin cannot control this centrally. I'm not sure that this is the default that you want. I also suspect that the default of this setting would be useful to have in <issuetracker>.conf. From here on, we will either transition to Jira Classsic projects (so that we can enable Plastic SCM to write check-in information to the issues), or we will not use the Plastic-Jira integration.
  10. 1 point
    I made a video showing the workflow in TortoiseHg Workbench. Here's a description of how it would have avoided the key pain points I had with Plastic SCM. I've created a dummy project with some text files checked in. For demonstration purposes, the contents of three of these files are identical, to confuse automatic detection of renames. Move files using Explorer to a different folder Switch to TortoiseHg Workbench Perform manual refresh to detect changes in the workspace TortoiseHg now lists four removed files (in red, prefixed with "!") and four added files (in pink, prefixed with "?") I can use two different methods for telling the SCM about renamed and moved files. First, I'm going to show the quick manual method, which has no equivalent in Plastic. Right-click on an added file to bring up the context menu Select "Was renamed from" This brings up a submenu that lists all deleted files I can now quickly pick the correct file from the submenu No automatic move detection is performed at any point - this process would be fast even with thousands of files. Naturally finding the correct target from the submenu would be slow for the user, but I believe the submenu uses some kind of a quick sorting method, perhaps based on filename similarity, because I often find the correct files near the top of the list The second method uses automatic move detection, similar to Plastic SCM. However, this is a user-initiated action on the workspace, rather than being a global preference that must be either on or off at all times - again reducing the amount of unnecessary processing compared to Plastic. Select any number of added files Right-click to bring up the context menu Select "Detect Renames..." This brings up a separate window for processing renames Just like Plastic, I can now adjust the similarity percentage and then run contents comparison. However, unlike Plastic, I am able to adjust the percentage and run the detection multiple times. Each time, it will only run on the files selected in the left pane, rather than all files (which would be really slow). Detection results are listed in the right pane I can now select the matches I want, and manually accept them. If this was a real situation, some matches would have a higher percentage, and these would be prioritised, just like when Plastic chooses the best match. However, unlike Plastic, if the similarity percentage gives the wrong match (for example, a file was both renamed and changed, as happens often with Unity .meta files), I can still quickly fix it by manually choosing a different match. The only way to do this in Plastic is to globally turn off move detection, refresh the workspace, and manually try to find the correct files from among all changes (which are no longer easy to find due to the move detection being turned off). I can keep making matches within this window until I'm satisfied, then close the window Once the window is closed, TortoiseHg will refresh the workspace - in Plastic SCM, the workspace would have been unnecessarily refreshed several times, which can take minutes when there are hundreds of moved files. Hope this helps clarify the workflow that is missing from Plastic. tortoisehg_detect_renames.mp4
  11. 1 point
  12. 1 point
    Use DateTime.ParseExact.- Converts the specified string representation of a date and time to its DateTime equivalent using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly. ParseExact and TryParseExact allows to use a custom format string. DateTime date = DateTime.ParseExact(strDate, "dd/MM/yyyy", CultureInfo.InvariantCulture); The IFormatProvider parameter specifies the culture to use to parse the date. Unless your string comes from the user, you should pass CultureInfo.InvariantCulture. If the string does come from the user, you should pass CultureInfo.CurrentCulture, which will use the settings that the user specified in Regional Options in Control Panel.
  13. 1 point
    Thanks - that seems like a workflow which would work for my use-case. However, since we are using plastic cloud - I can't use shelving . I'll reapply my changes manually for now. Which can also be a step where code quality can improve, because I'm now recreating/reintroducing the end result while knowing where I am going. But when shelving gets supported for cloud I'll try it out
  14. 1 point
    I shared this request with the team. We already internally commented some improvements about how the user can fine tune the move detections performed by Plastic. It would be a nicefeature but I'm afraid it's not scheduled for the near future. Regards, Carlos.
  15. 1 point
    Although you're past your issue, I figure I might as well mention this for anybody else that comes across this thread looking for a solution in a similar situation: in a scenario where you have hundreds of moves, the least-effort solution is probably to check-in the moves that were correct, then turn off auto-detect and check-in the other ones in a separate changeset. While it might sound messy to have two commits where you could have one, ideally, these moves are being performed on a task-branch, so you would still have a single commit on your main-line. Of course, this is still a work-around. While I can understand from a software architecture perspective why Plastic does not allow you to selectively undo auto-moves (because the auto-moves are transient), it would be much better if Plastic SCM allowed auto-moves to be "staged" (or "locked-in"), just like how you can change items from Private to Added.
  16. 1 point
    Hi! We are redesigning the GUIs for the upcoming Plastic 9. And it would be great if you could share with us what are your thoughts about this new design. Read this blog post to check the new screenshots and improvements. Thanks in advance for your comments and suggestions 😊
  17. 1 point
    You can do it with the current UI: First, use click + shift-click to mark a range of files. (You get a blue box type mark over each of the marked files.) Then, click in the checked/unchecked-boxes next to one of the marked files. All files the marked files will change their checked/unchecked-status to match that of the file whose checked/unchecked-box you just changed.
  18. 1 point
    Hello. All 3 of our development devices have a fast SSD and a HDD (or slow SSD) and we always used symlink to move databases to secondary drives to save space in primary drive. We didn't have any problem because of that. But of course I would prefer a native support.
  19. 1 point
    As i said earlier - i solved my problem by defining 2 different libraries in Jenkins Settings. I'm ok with this workaround. So we can close this topic In case, you want to investigate this further: version selection doesn't work as they propose in the previous link for legacy SCM. I tested it with: - Plastic - returns errors in selector - Github (legacy SCM) - just checksout latest changeset (regardless of brunch) I didn't find any references to someone using library versions on legacy SCM and decided that this is a Jenkins bug, but i didn't created issue on their bug tracker
  20. 1 point
    Sorry I forgot to mention on the archive command: - I'm afraid there is not currently a way to repack the data to reduce the total Jet database size after archiving the content. So at the moment this feature is not useful reduce the actual size of the Jet databases (it could be helpful with MySQL databases, for instance). - We internally did't run test with symlinks for the Jet databases.I would avoid it if possible. Even with that, I just run a fast test using a Windows junction for the Jet database and it seems to properly work. Regards, Carlos.
  21. 1 point
    That worked, thanks! Automated Unity CI is nearly done. Phew.
  22. 1 point
    Hi Carlos, Thanks for the quick reply! I got it working now, thanks for pointing me to the correct docs. I was looking in the Administrator's Guide at https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter16:Configurationfiles which only has a brief overview for filetypes.conf and no link to the book. Cheers, -- Aki
  23. 1 point
    Never mind, i decided not to use this plugin. Shared libraries work fine with Plastic!
  24. 1 point
    Hi Aki, There are different possibilities to import a git repo to Plastic: https://www.plasticscm.com/features/plasticscm-for-git-users - You can create a git fast-export package of your repo and then this package can me imported into Plastic. - You can use GitSinc. In order to use this option, your git repo should be located on a Git server. Regards, Carlos.
  25. 1 point
    Hi, In macOS, the user local configuration folder is stored at: /Users/xxx/.plastic4/plastic.workspaces Regards, Carlos.
  26. 1 point
    Thanks Carlos, I think you might be right. I changed the preference and based on a few spot checks, the problem seems to go away. I should have thought of that! I guess checking the hash is slightly slower but it doesn't seem to matter for our repo size.
  27. 1 point
    If you are using the console, you should be able to run the following Plastic commamnd: cm undelete --help Undeletes an item using a specific revision. Usage: cm undelete revspec path revspec Specification of the revision whose contents will be loaded in the workspace. path Restore path. Remarks: The item to undelete should not be already loaded in the workspace. The undelete operation is not supported for xlinks. Example: cm undelete revid:756 C:\mywks\src\foo.c cm undelete itemid:68#cs:2 C:\mywks\dir\myfile.pdf cm undelete serverpath:/src#br:/main C:\mywks\Dir Regards, Carlos.
  28. 1 point
    Thanks, that was very informative! I really appreciate your response time. I removed some of the temp files and the mappings and I could start the server like this. Works great, thanks a million!
  29. 1 point
    This is the first time we see this porblem so far. We will try to schedule a task to protect this scenario but most probably it won't be avilable for the near future. Regards, Carlos.
  30. 1 point
    Hello Carlos, Thank you for listening to your customers' feedback! This is great and hopefully makes Plastic better. Cheers, Francois
  31. 1 point
  32. 1 point
    Hi, You can also use the "cm replicate" command to just replicate the specific branch. If you are using the sync view, you can play with the text filter and the exclusing all the branches you don't want to sync. For excluding the branches, you should be able to also manually edit the configuration file (instead of doing it via GUI). Not sure if it helps. Regards, Carlos.
  33. 1 point
    Hi, I'm afraid the "client.conf" is local client file that cannot be globally configured. Please cehck the following link where we explain all the available files to be globally configured: https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide Regards, Carlos.
  34. 1 point
    I believe you can also remove the file from source control by deleting the file in plastic scm (but keeping the file on disk), checking in the delete, then adding the file to ignore.conf. The file will no longer be tracked and will be removed from your repo. For files you'd like to keep in the repo but you still wish to ignore in some capacity, you'll want to add to the cloaked list or the hidden changes list, depending on your needs.
  35. 1 point
    So I had given a few thoughts on the blog post, but looking back now it looks like no one ever "approved" my comments. I don't remember the specifics of what I said except for one major point for me: HDPI I use Plastic on a 4k monitor and the interface is VERY hard to use. Everything is so small with no option to increase fonts or anything like many apps have. Not only is everything so small, but why is everything so small when huge swaths of the UI are just empty space? Even with 150% UI scaling set in Windows, large portions of the plastic UI are just plain wasted. So in summary I would really like to see two things: 1) Support for UI scaling in the app to better support high resolution displays without having to use global UI scaling across the OS 2) Better use of space I also agree with tab annoyance in general. When I use plastic on my Mac I like that I don't have constant tabs that need to be closed.
  36. 1 point
    My impressions and thoughts for first look... A general comment: With wide screen monitors, horizontal space is easier to give up than vertical space. Vertical space is a premium. Please keep that in mind when adding things to the vertical space. Using more space for the headings and tabs allows you to put more info there, but takes away from the precious limited vertical space for the main part of the screen. At least having an option to put this on the left hand side vs top could be nice. I understand wanting to make the gui more accessible for new users. But you need to also not leave users that are used to the system. Ability to control the interface, to a degree, can be useful in this (e.g. minimal view, vs more info view). I can already see some operation I do taking more click in the new interface than in the old. One thing I do (admittedly more in tool admin role than as a developer) is open up the list of repo, then view a repo (e.g. branch explore a repo w/o a WS). It looks like now I have to first click to create a new tab, then select repo list. I assume the rest of my operation would be the same from there, but still at least one more click. It would be good to have the GUIs more similar across the platforms (for us, esp Windows and Linux). But my first priority would be making features available in one gui available in all. While I could see this consolidating effort a step in that direction, I hope we do not take a step back and see features go missing (e.g that are already in the windows gui today). I would REALLY like to see some missing functions added to the gui as more important than a gui re-design. How long have we now had the ability to create xlinks to a path in a repo, but still have to create it only using the CLI? That (and any other missing functions) need to be added to the gui. I could see more customization of the gui, esp for experienced users. Say, being able to have a custom left hand "new tab" buttons on the left hand side (hidden and empty when you first install the client?) I could also see more customization to right click menu options for experienced users (not only for tabs for for other contexts). Thanks, Todd
  37. 1 point
    I like a lot of the changes that you are planning. Here is one thing that I have noticed with the current design, which I'm not sure whether the new design improves upon: I have found it strange that all tab-views have to exist within the context of a workspace. Whenever I work with Plastic I often end up with a tab list like this: The first three tabs are related to the current workspace. So far so good. The last three tabs are entirely unrelated to the current workspace. I wanted to browse the history of an unrelated repository - but the only way for me to do so, is to open a "Cloud repositories" tab, and subsequent detail views for the cloud-side repository, within the current workspace's view. I keep doing this a lot. I keep cleaning up my tab list (carefully) a lot. The first thing that feels unnatural to me is that "Cloud repositories" opens as a tab within a Workspace view. The second thing that feels unnatural to me is that if I begin to drill down into another repository, the additional tabs continue to open up within a Workspace view. If there was a way for me to get a new view - possibly in the top-left workspace selector - which is tied to the (serverside) repository I have chosen, and not to any workspace, then I would set up a couple of tabs within that view, I would keep that view around for a long time. ========================================================= Summary: I would like to be able to create workspace-less views. For example, imagine that there was an "Open repository" alternative at the bottom of this dropdown: The "Open repository" option would ask me to choose a repository, either on my local server or on the cloud side. After choosing a repository, I would then have access to a subset of tabs within that view (only the tabs that make sense when browsing without an associated workspace). I would set up a couple of these workspace-less views, for projects that I don't actively work on but follow discussions on, and keep those views for a long time. This would reduce the amount of time I spend creating & cleaning up tabs.
  38. 1 point
    These changes but good! But I do have to say as an end user the GUI is not the painful part of Plastic, but rather unexplained/strange conditions. Any effort to address error states/messages better would be an even bigger win, in my opinion. Just these 2 we brought up here for example: Renaming a branch causes other workspaces referencing it to "break" without explanation (just error messages) "Hidden changes" causing a warning that looks unrelated, every single time you switch workspaces (even if having changed files locally is the intended usage pattern for hidden changes!) Also not being able to use shelving for cloud users would be nice. Anyhow, we really like how you're being responsive again these are meant as constructive criticism. Thank you!
  39. 1 point
    Carlos, I think this is going to be fixed in BL3799
  40. 1 point
    @jwvanderbeck I do something similar with assigning branches a category and there's 2 ways I've found to have that show up in Branch Explorer without using colours: In the right hand pane where you can select Display Options, there's an option to 'Display branch task info' which displays the branch description (comment field) after the branch name. Eg, you could have a branch named 'task0001' with its description/comment as '[feature] implement cool new feature' and both will show up in Branch Explorer. Alternative option if you can't use the above, is to use a long branch name. Eg, you can name the branch something like the following. This works fine if you just use GUI/scripts, but not a great idea if you use 'cm' console command to do stuff with branches... task 0001 | [feature] implement cool new feature
  41. 1 point
  42. 1 point
    Did you find "checkin to different branch"? Or, move cset to a different branch:
  43. 1 point
    This is the same behavior using Xlinks or not. The "cloaked.conf" rules are applied only if the file is already in the workspace before you run the update. If the "cloaked.conf" file is downloaded during the update from the repo, I'm afraid the rules won't be applied during the initial update (but they will do the next time because the "cloaked.conf" will be already in your workspace). Regards, Carlos.
  44. 1 point
    Hi, If I properly understand, C is the parent repo that has Xlinks pointing to repos A and B. I'm able to create some cloaking rules in the C repo applied to the Xlinked content. I can do it via GUI --> right-click --> Add to the cloaked list. Then, If I create a new clean workspace pointing to C and before updating, I copy my previous "cloaked.conf", these files are not downloaded to the workspace. Remember that these cloaking rules apply to Xlinked content. In summary, I'm not able to reproduce your issue. Are you using the Windows Plastic GUI? Could you attach some screenshots and your "cloaked.conf"? Regards, Carlos.
  45. 1 point
    Hi, we have been using Plastic Cloud + Jenkins + Unity up until a few months ago. Support staff may have better answers, but hopefully this will get you going: This is happening because Jenkins is by default not running as your local user, but under the Local System account. C:\WINDOWS\system32\config\systemprofile\appdata is the %APPDATA% folder for the Local System account. You can change which account is used when launching Jenkins if you want to. Change these settings by starting the "Services" function in Windows, locating the Jenkins entry in the long list, and editing its properties. Ideally you should create a separate account (probably named "Jenkins") and run the Jenkins service under that. The config file location will then be C:\Users\Jenkins\AppData\Local\plastic4\client.conf. You need to ensure that two files exist in the config dir: "cryptedservers.conf" and one "*.key" file. You can copy the cryptedservers.conf / *.key file pair from your local user's Plastic folder. It is also possible to create these files programmatically, but that's a fair bit more work. 1+ year ago there were no hooks available in Plastic Cloud. We configured Jenkins to poll with 2-minute intervals - that was good enough for our purposes. The syntax to do so is to give a schedule like "H/2 * * * *" in Jenkins. ---- You may also find these references useful: Automation scripts for setting up and deleting Jenkins build slaves, for a Plastic/Jenkins/Unity build system: https://github.com/falldamagestudio/JenkinsAutomation Performance profiling results for a Jenkins build system: https://blog.falldamagestudio.com/posts/performance-optimizing-a-small-build-system-for-unity/
  46. 1 point
    bump, I just ran into this for lots of files, quite painful
×
×
  • Create New...