Alejandro Posted July 28, 2021 Report Share Posted July 28, 2021 Hi, I'm working from home, and my internet connection is not great. Our repo history is pretty big, but I think it should be possible to do some operations faster if the whole repo history was stored localy. For example, switching to older changesets, or undoing my local changes are some common operations that take a long time. I thought of two appraches: 1) setting up proxy server in my PC, or 2) using the distributed version of plastic. What would you recommend for my use case? Thanks! Link to comment Share on other sites More sharing options...
Rafael Posted July 28, 2021 Report Share Posted July 28, 2021 Hi Alejandro, Both options should work fine for your case but I think that setting up a distributed workflow is easier. It will solve the delay in the operations, you can follow this guide: https://www.plasticscm.com/documentation/distributed/plastic-scm-version-control-distributed-guide If you have additional questions let me know. Regards, Rafael. PlasticSCM Support Team Link to comment Share on other sites More sharing options...
Alejandro Posted July 29, 2021 Author Report Share Posted July 29, 2021 Thanks, Rafael. This sounds pretty promising: I find some problems with the distributed workflow: I'ts a bit anoying to have to push/pull. And easy to forget to do it When you "pull" you will still have to wait for it to download the new stuff over the network. With the proxy approach, the server could be downloading contintinuously in background so, when the user wants to update, the data is already downloaded. I have tried to set up a proxy in my own PC, but looks like it was asking me for a license. Link to comment Share on other sites More sharing options...
calbzam Posted July 29, 2021 Report Share Posted July 29, 2021 Hi, The proxy server doesn't require a license. Could give us more details about this error? Regards, Carlos. Link to comment Share on other sites More sharing options...
Alejandro Posted July 29, 2021 Author Report Share Posted July 29, 2021 Sorry, I think I was following the wrong guide. Does the "full installer" include the proxy server? In the documentation it tells you to download the pwroxy installer, but I can only find the proxy portable budle: https://www.plasticscm.com/download/10.0.16.5816 If there is no installer, should I manually set it up as a windows service? Thanks Link to comment Share on other sites More sharing options...
calbzam Posted July 30, 2021 Report Share Posted July 30, 2021 Hi, Firstly, it says to download the Proxy Server Installer from your downloads page. There is no Proxy Server Installer as far as I can see in your downloads, only the portable proxy server. When I download and extract that, it appears to just be a normal server? After downloading the .NET Core Proxy server from www.plasticscm.com --> Downloads --> More installers --> Proxy server .NET Core bundle1) Copy the following files from the "config_samples" folder to the binaries folder: plasticcached.conf plasticcached.log.conf plasticcached.network.conf 2) In "plasticcached.log.conf " you set the output path for the output cache folder. In "plasticcached.network.con" you set the port.3. You can run the proxy in console mode via this command: C:\Users\albaz\Downloads\PlasticSCM-10.0.16.5432-win-x64-proxy-server-netcore\server>plasticd.exe proxy plasticcached daemon up. 10.0.16.5432 313 ms startup time. Data path: C:\tmp\cache 4. In order to install the proxy as a Windows service: sc.exe create plasticscmservernetcoreproxy binPath= "C:/PathTo/plasticd.exe proxy" The proxy server by default listens on the 8085 port: YOURSERVER:8085Could you rename the following file, restart the GUI and check if this way you can enable the proxy?C:\Program Files\PlasticSCM5\client\cloudedtion.tokenRegards,Carlos. Link to comment Share on other sites More sharing options...
Alejandro Posted August 4, 2021 Author Report Share Posted August 4, 2021 It works, thank you! Quote In "plasticcached.log.conf " you set the output path for the output cache folder. I think you meant plasticcached.conf Link to comment Share on other sites More sharing options...
calbzam Posted August 4, 2021 Report Share Posted August 4, 2021 You are right! Thanks for the update. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now