Jump to content

manish

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About manish

  • Rank
    Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

953 profile views
  1. manish

    Plastic 6

    @manu Just an update I was finally able to successfully port over to the new server from linux plastic 5.4 to windows plastic 6. I just set up replication from one to the other then switched everyone to point to the new one. This post helped greatly to get everyone's existing workspace to point to the new repo I did have another question...is there a way to double-check there is (or is not) any plastic server activity before doing something like rebooting the server machine or stop/restarting the server service?
  2. manish

    Plastic 6

    HI @manu, thanks! I think i may be able to do the replication, that's using the setup in the docs right? My only question is about setting up the second server on the new target windows box. Do I need a second plastic license to do that? I believe we already used up a free 5 day trial on it when we were first playing around.
  3. manish

    Plastic 6

    Great thanks @manu, one more question.... Is there any significant performance difference between running Plastic with Jet on Linux over Windows? For various reasons, we are entertaining moving from Linux to Windows but not if there'll be a big hit... thanks!
  4. manish

    Plastic 6

    Thanks for the response! I've been keeping up with the blog and things. I guess what I was looking for is the "official" stuff which you said is yet to be announced. I did have some follow-ups regarding Jet after re-reading a lot of stuff.. We use Plastic server on a Linux box with a MySQL database. Our main repo (Unity3D) is about 5 gigs and growing. We can easily see it get to 10 gb. With that said... 1. Is Jet going to be better for us on Linux than using MySQL? Or is MySQL still better for our setup? 2. Is there a Jet db conversion tool for Linux? Thanks! -manish
  5. manish

    Plastic 6

    Hello, I loved the almost weekly releases for plastic, but I've noticed it's been almost a month since the last one. It appears the weekly releases have been going on in the Labs sections for Plastic 6. I've tried to search for documentation or notices about version 6 but my searches have been unsuccessful aside from a few forum posts with people trying it out. I'm not sure if it's really not there or my searching is incorrect. Is there a launch date for version 6? Aside from having to parse through tons of labs release notes, is there any documentation on what it's all about, the jet engine underneath is all about and options for porting (without having to download and try it out blindly first)? We love plastic but I feel lost suddenly on whats happening or about to happen. Thanks!
  6. It's been a while, any does anyone have any guidance? I cannot see what is wrong with the setup of the trigger. Please help! -manish
  7. Hey manu, I figured it out. I forgot the "python " prefix before the script file name for the cm maketrigger --file argument. Now it works! However, I am now trying something new and i cannot get it working. I am trying to access the standard input passed to the before-checkin trigger and i cannot get it to come out of an infinite loop. It is as if plastic is not sending it an EOF, which is causing the standard input read/readline functions to never stop. I have tried this both in Python and Ruby with the same errors. We are using the latest to date version 5.4.16.771 on CentOS Linux release 7.2.1511 in python, doing a sys.stdin.readlines() i would expect to get me all of them at once in an array but it hangs, assuming because it doesn't know that the input is finished. If i hardcode a message in the sys.stdin.write (python) or STDOUT.print (ruby) and then do exit(1), i can get that back to the clients. To test, I also tried doing a hardcoded step by step call of readline and it would work until the number of calls to that method was less than the number of lines in the standard input. For example, I was commiting one file change, which gave back 3 lines in the std input. so doing sys.stdin.read sys.stdin.read sys.stdin.read worked just fine, but when i added the 4th sys.stdin.read sys.stdin.read sys.stdin.read sys.stdin.read then it would hang forever Here are is my simple test ruby script that hangs ------ RUBY------- #!/usr/bin/env ruby msg = "WHOOOO" # Process stdin STDIN.readlines.each do |line| msg += line end # each STDOUT.print msg exit(1)
  8. Hello, I have been successfully using a server-side after-checkin trigger and was trying to implement a server-side before-checkin trigger and am getting the following error on the client: "Error trying to run trigger before-checkin commit-comment-check ApplicationName="/opt/plasticscm_triggers/before_commit_comment_check.py", CommandLine="", CurrentDirectory='/opt/plasticscm_triggers", Native error= Access denied." This is my current trigger setup (the first two successfully run, and are in the same location as the last one that fails) cm ltr 1 slack unitydevs python @TRIGGERS_PATH/after_commit_slack_unitydevs_notif.py manish after-checkin rep:unityclient,* 2 slack unitydevs python @TRIGGERS_PATH/after_commit_slack_unitydevs_notif.py manish after-checkin rep:newterra,* 1 commit-comment-check @TRIGGERS_PATH/before_commit_comment_check.py manish before-checkin rep:testrepo,* They have the same permissions ls -l -rw-r--r--. 1 root root 625 Sep 29 15:47 after_commit_slack_unitydevs_notif.py -rw-r--r--. 1 root root 171 Feb 25 11:58 before_commit_comment_check.py This is the content of the "before_commit_comment_check.py" file: #! /usr/bin/python import sys import os message = os.environ['PLASTIC_COMMENT'] if len(message) >= 10: sys.exit(0) else: sys.exit(1) What am I doing wrong? Is the client machine looking for the trigger on itself? I wouldn't image so since the client-side before check in trigger is a completely different type name. It's more confusing since the after-checkin trigger has always worked and continues to work...
  9. Hello, We have been running CentOS 7 successfully, but the server has not been automatically starting up with the legacy init.d startup scripts. Do you have a ".service" script available to use with "systemd" startup that provides the same functionality? Thank you!
  10. We are going to be buying a team license in the next few days and will be setting up auto renewal via token on the sever; but we are wanting to know first what will happen if we need to add more users to the license. For example, suppose we first we buy a Team license for 5 users and are ok for 3 months. Then we hire more people and need to add 2 more users. What do we do? Do we buy a 2 user Team license and the dashboard knows to group them in to a single 7 user license? Does the dashboard allow "add user" option once we buy a Team license first? Does the renew token change when we do this? The same question applies to if we need to remove users from our license. We just want to know ahead of time what the process would be. Thanks! manish
  11. Ok we'll try it out. Any timeline for when you will officially support it?
  12. Do you have any timeline for officially supporting CentOS 7? Most of our VMs are running 7. Would it be safe to try it on CentOS 7? Any already known problems?
  13. Sure! We were using SQLlite in Windows for demo purposes. You can do this by performing a "VACUUM" command on the SQLite database. For a common Windows GUI such as "DB Browser for SQLite" you will need to open the target database, then click "File -> Compact Database" Here is some literature on the vacuum family of commands: http://www.tutorialspoint.com/sqlite/sqlite_vacuum.htm Other databases have similar maintenance functions. For example, MySQL command to "OPTIMIZE TABLE" will perform similar functions. There are also various methodologies such as dumping the db then reloading it back. https://dev.mysql.com/doc/refman/5.7/en/table-maintenance-sql.html One note: for most of these databases, rebuild, optimize, etc... are very expensive operations and is important to fully read the documentation of the commands to know what is going on when performing it and whether or not it is worth it for your scenarios.
  14. manish

    Plastic Client Crash

    Hello, We seem to be able to consistently crash the Plastic Client (at least on the Windows build) with the following steps: 1. Have server archive a file in the repo 2. Do *NOT* add an ExternalConf file to the sever 3. This causes the client sync to display a pop-up to provide the archive file locally 4. Click the "..." button to attempt to browse to a file 5. The client hangs after clicking "...", we have to kill the process We are able to do this with at least the builds of PlasticSCM-5.4.16.688 PlasticSCM-5.4.16.686 Thanks!
  15. Hello, We have plans to run Plastic Server on a Virtual Machine running CentOS. Do you foresee any problems running CentOS, or running in a virtual machine? Or any problems running both together? Thanks!
×