Ofirk
Members-
Posts
18 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Ofirk
-
Hi, Let assume the same server trigger is fired twice in a raw, from two different sources (example: two checkin at the same time) Does the triggered script run twice in parallel, as two separate instances or there is a guarantee that the second trigger will start to run only after the first one is finished? Don't know if its matter, the server run on Linux. Regards, Ofir
-
Yep, it helped. Sync done and finished successfully. Thanks!
-
Hi @Carlos I'm trying to do the same and when run the sync command (at this point manually) I get the following warning (?): cm sync "rep:_test@server:8087" git git://server/_test The branch /main has more than one head. Please merge it to be able to continue synchronizing when I check the git repo, it seems to be sync with latest changes. Am I doing something wrong? is it a false warning?
-
Connect to GitServer w/o installing PlasticSCM client?
Ofirk replied to Ofirk's topic in Git interop
Hi Carlos I probably did not explain myself properly. I do have a working Plastic server with GitServer enabled. The question is how do I clone an existing repo from the (git) server? how to I provide the credentials? In normal scenario, I have PlasticSCM client installed so I assume the credentials comes from there (LDAP authentication ?). In this case, I create a VM automatically, so I want to skip the client configuration. Ofir -
Hi, I have a PlasticSCM server which authenticate the users using LDAP. I'm using a Linux VM which is created automatically. Is there an option to connect, from the VM, to the Plastic's git sever without installing & configuring the PlasticSCM client? Tx, Ofir
-
branch delete using PlasticSCM server CLI / script
Ofirk replied to Ofirk's topic in Plastic SCM on Linux
Hi, Finally I resolved the issue I've created a plastic workspace on the server that manage all trigger's scripts The problem was, that in the same folder the script run (and tried to do cm branch delete) there is the .plastic folder of the workspace, and it was not owned by plasticscm user, which run the scripts, thus the scripts kept failing. Once I changed the ownership of .plastic directory, script is working like a magic. .plastic is a hidden folder, so it took some time to figure that out. -
branch delete using PlasticSCM server CLI / script
Ofirk replied to Ofirk's topic in Plastic SCM on Linux
Thanks Carlos. For the sake of Linux users (we are in Linux topic 😉 ) need to copy the client.conf to: /opt/plasticscm5/client/client.conf Ofir -
branch delete using PlasticSCM server CLI / script
Ofirk replied to Ofirk's topic in Plastic SCM on Linux
Thanks Carols, I'm familiar with the command syntax. My problem is that if the user is not running with root permillages, the command is rejected. I can't figure out how to gain root privileges when running from trigger context. I guess the user running is 'plasticscm'. Ofir -
Hi, I'm trying to delete a branch using a script running by a trigger. I get the message "workspace ... is busy. Try later". I've noticed that this message is received once I'm running with root privileges. How can I delete a branch from script (running in a trigger context)? Ofir
-
Auto sync of 2 Servers in different locations
Ofirk replied to KVs's topic in Installation and configuration
For the deleted cs/branch I plan to use the relevant triggers to trigger automatic sync (need to upgrade the servers to version 9.x). Our devs tend to rename branches once in a while (better naming or adding missing info which is missing when the branch is created), nothing that I can prevent - I'm checking my options how to manage it automatically. -
Auto sync of 2 Servers in different locations
Ofirk replied to KVs's topic in Installation and configuration
Hi Carlos, In continue to this topic, question about handling branch rename. We trigger replication with "after-checkin" trigger, but after branch rename, the replication fails. currently we need to solve the conflict manually. I did not find a "branch rename trigger". Do you have any suggestion how to handle this scenario automatically? BR, Ofir -
Hi, We are using the git-server as backend for Jenkins multi-branch pipeline. During our tests we created tags in the git-server which were successfully sync to PlasticSCM labels, but for some reason when we deleted the labels, some are still exist as tags in the git-server. When trying to delete manually the tags from git using "git push --delete origin <tagname>" or "git push origin :<tagname>", the operation failed/rejected. Q1: it there a known issue with the git-server <> PlasticSCM sync? (we are using server version 8.x) Q2: How can I force such sync, except brutally delete the git repo and let PlasticSCM re-create it again? Thanks, Ofir
-
Fail to install PlasticSCM client on CentOS 8
Ofirk replied to Ofirk's topic in Installation and configuration
Heber thanks, I need the GUI, CLI is not an option. I'll try your suggestion regarding CentOS 7 repos. -
Fail to install PlasticSCM client on CentOS 8
Ofirk posted a topic in Installation and configuration
Hi, Following the Linux installation instructions (https://www.plasticscm.com/plastic-for-linux) I get the following error: Same error for the complete package. [ofirk@CentOS-8 ~]$ sudo yum install plasticscm-client-complete Last metadata expiration check: 0:10:47 ago on Wed 09 Sep 2020 07:37:35 PM IDT. Error: Problem: package plasticscm-client-complete-9.0.16.4507-1.1.noarch requires plasticscm-client-gtk = 9.0.16.4507, but none of the providers can be installed - package plasticscm-client-gtk-9.0.16.4507-1.1.noarch requires plasticscm-gnome-sharp-mono4 = 2.24.0, but none of the providers can be installed - cannot install the best candidate for the job - nothing provides libgnomeui needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libORBit-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libbonobo-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libbonobo-activation.so.4()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libbonoboui-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnome needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnome-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnomecanvas needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnomecanvas-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnomeui-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 - nothing provides libgnomevfs-2.so.0()(64bit) needed by plasticscm-gnome-sharp-mono4-2.24.0-1.4.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [ofirk@CentOS-8 ~]$ Please advise what am I missing. Regards, Ofir