Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Online Perforce Repositories [closed]

Is anyone aware of of anybody offering hosted perforce servers? It doesn't have to be free - but preferably not too expensive!

My understanding of Perforce is that it's free to use for personal projects, which mine is. Currently I have a perforce server setup on the same machine as the code is on which doesn't offer much security in case of computer failure.

If not, can anyone recommend one of the alternative solutions that is similar to Perforce? I have experience of SVN but cannot say I enjoy the experience.

like image 395
Oliver Hume Avatar asked Mar 07 '10 19:03

Oliver Hume


People also ask

Is perforce still used?

Today it is popular among professional teams of all scales, from indie developers to large enterprises, as well as critical open source projects such as Android and the Linux kernel. Yet Perforce, a commercial centralized SCM system, still resonates with game developers and other subsets of software developers.

Why Perforce over Git?

Perforce Is CentralizedHaving one copy of a project creates a single source of truth across your enterprise. This also improves communication because work in progress is easily visible to other team members. Whereas the status of Git work in progress is only stored in a local repository.

Is Perforce Server free?

Get Free Version Control Software From Perforce. Helix Core is free for up to 5 users & 20 workspaces. You can start small and scale.

What is perforce repo?

Perforce's package repositories allow simplified installation of Perforce products and product updates on popular Linux platforms.


1 Answers

Perforce is free for up to 20 workspaces. http://www.perforce.com/try/perforce-software-version-management.

I have a server setup on a hosting hertzner.de which is a virtual, and cost 20 bucks a month, you could do it for less..

Setting up the p4 server is easy, the backup script was a bit complex so here is mine as an example

#
# Perforce backup script
#

DIR=/home/p4/backups/depot_`date +%Y%m%d`
mkdir $DIR

# Check point the server then backup the ckeckpoint and the depot
p4d -r /home/p4/var/root -jc -J /home/p4/var/journal.dat
mv /home/p4/var/root/checkpoint.* $DIR
gzip $DIR/checkpoint.*
mv /home/p4/var/root/journal.* $DIR
gzip $DIR/journal.*

# copy the depot files to the same place
cd /home/p4/var/root
tar cfz $DIR/depot.tar.gz depot

p4d runs with a one liner in rc.local, as does stunnel.

If performance is a problem set up a perforce proxy. You download p4p and start it with a one liner. This way you get the speed of a local server for checkouts, and code is kept offsite.

Its a lot less hassle to setup a p4 server than a svn server.

If your code is Open Source you can host ant github or sourceforge. git and perforce play nicely together so you can use both on the same code base on the same working copy.

like image 109
teknopaul Avatar answered Oct 03 '22 02:10

teknopaul