Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source control for computers without open ports

We are a group of 3 people with computers who are inside a network that very closed and we don't have access to a bunch of ports. It would be beneficial to have a solution where we can also access the code from home.

Is there a source control software that works well in a situation like this?

like image 436
Christian Avatar asked Jul 16 '26 16:07

Christian


2 Answers

I'm using Mercurial along with Dropbox to have access to my source control both at home and at work. Are you allowed to install software on the computers you are using? If so, perhaps this would work for you too.

  1. Install Mercurial.
  2. Install Dropbox and get an account each. It's free for 2 GB of data and runs via port 80, same as a web browser.
  3. Create a shared folder (from the Dropbox web interface)
  4. Place your source code in the shared folder and make it into a Mercurial repository
  5. Get to know Mercurial from the Quick Start and work away.

To get access at home, just install Mercurial and Dropbox on your home computers and log in with the same Dropbox account.

Any changed files will be automatically pushed from one computer to another. I use the Dropbox repository as the main repository, and clone a working copy from there while I work. Once I'm satisfied with my changes, I'll push them to the Dropbox repository. Your friends can then pull those changes into their own working copies when they want to.

like image 137
Lizzan Avatar answered Jul 18 '26 06:07

Lizzan


SVN can be set up over http, which should work in most cases. It should even handle the case that all port 80 traffic is passed through a proxy that requires the traffic to be actual http traffic and not just anything that happens to be configured to use port 80.

To be able to work from home this assumes that your repository is located outside of the restricted network.

like image 33
Anders Abel Avatar answered Jul 18 '26 05:07

Anders Abel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!