Multi User Code Management

18 views
Skip to first unread message

Brendan Brink

unread,
Jul 15, 2013, 5:15:28 PM7/15/13
to nzp...@googlegroups.com
Hi all,

A project working on a client has gone from one programmer to 3 and looking at best way of managing changes to the code so we can share files and not overwrite changes other making.

Unfortunately all needing to access same code base and work at same time so need a way to checkin / check out files.

One programmer is using Dreamweaver, the others dont have the software - is there anything that is recommended out there as a solution?

Cheers
brendan.

Mohammed Alsharaf

unread,
Jul 15, 2013, 5:19:54 PM7/15/13
to nzp...@googlegroups.com
You need to use source control like GIT http://git-scm.com/

James McGlinn

unread,
Jul 15, 2013, 5:25:19 PM7/15/13
to nzp...@googlegroups.com
On 16/07/2013, at 9:15 AM, Brendan Brink <sell2c...@gmail.com> wrote:

A project working on a client has gone from one programmer to 3 and looking at best way of managing changes to the code so we can share files and not overwrite changes other making.

Github – https://github.com/

—James

Sid Bachtiar

unread,
Jul 15, 2013, 5:25:32 PM7/15/13
to nzp...@googlegroups.com
You should use version control system like GIT

You should use some kind of version control system anyway, even when working alone


--
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "NZ PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nzphpug+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



-- 
Want food? Get food!

David Neilsen

unread,
Jul 15, 2013, 5:26:47 PM7/15/13
to nzp...@googlegroups.com
I concur. Git is great.

Also http://www.syntevo.com/smartgithg/ is a very nice GUI for it.



David Neilsen | 07 834 3366 | PANmedia ®

Berend de Boer

unread,
Jul 15, 2013, 5:26:48 PM7/15/13
to nzp...@googlegroups.com
>>>>> "Brendan" == Brendan Brink <sell2c...@gmail.com> writes:

Brendan> Unfortunately all needing to access same code base and
Brendan> work at same time so need a way to checkin / check out
Brendan> files.

Not clear: you are not using a source code repository already?

If you are using none, consider subversion, best free client tools,
and easiest to grok. git is more powerful, but not easy to get with
very interesting ways to shoot yourself in the foot.

Perforce is a good commercial solution, very fast, nice UI.

--
All the best,

Berend de Boer


------------------------------------------------------
Awesome Drupal hosting: https://www.xplainhosting.com/

Berend de Boer

unread,
Jul 15, 2013, 5:27:20 PM7/15/13
to nzp...@googlegroups.com
>>>>> "Sid" == Sid Bachtiar <sid.ba...@gmail.com> writes:

Sid> You should use some kind of version control system anyway,
Sid> even when working alone

+1

Paul Bennett

unread,
Jul 15, 2013, 5:29:02 PM7/15/13
to nzp...@googlegroups.com
Hi Brendan,

Version control software has been a long standing solution for managing a single codebase among a set of developers without file overwrites etc.
Originally software such as CVS was used, then a few years ago Subversion (subversion.tigris.org) was all the rage (and is still used quite a lot) and now Git is very popular (http://git-scm.com/).

Essentially you will have a central master repository containing the codebase for the project you're working on. This will be created and managed by the version control software solution you select.
Each developer then checks out a copy of the repository using a client for the version control software (either GUI or command line), makes their changes on their machine and then uses the client to check in their changes. The repository manages versioning (so you can roll back changes if required), file conflicts and enables other users to update their local copy of the codebase with everyone else's latest changes.

Bear in mind that there is a learning curve required for developers going from solo to team development using version control systems, so you'll need to factor that time in. If setting up and hosting a repository isn't your thing, you can search for "subversion hosting" or "git hosting" and find providers who have an entire environment set up for you.

I've had really good experiences with Beanstalk (beanstalkapp.com) in the past and am now setting up my own repo hosting and deployment solutions.

Hope that helps :)

Paul   

Regards,
Paul Bennett
MoveForward - Web Development for Design Companies
06 308 9722
027 255 8495


On Tue, Jul 16, 2013 at 9:15 AM, Brendan Brink <sell2c...@gmail.com> wrote:

--

Dave Lane

unread,
Jul 15, 2013, 5:43:33 PM7/15/13
to nzp...@googlegroups.com
The online aides for learning git are excellent. See, for example this
entire book on Git and all of its facets: http://git-scm.com/book

If you're a professional developer, up-to-date source control should be
part of your daily activities. I'd say (particularly because the best
source control systems like Git, Mercurial, Bazaar, and Subversion are
all opens source and multi-platform and, of course, free of license
fees) that it would be considered negligent for a developer *not* to be
using it.

Git is definitely the state-of-the-art now, with http://github.com the
clear winner in the "code forge" stakes. If you want to maximise the
future value of your learning opportunity, learn git. The others are
much less widely used, and in some cases largely deprecated (e.g. we
moved from svn to git about 3 years ago).

Cheers,

Dave



On 16/07/13 09:29, Paul Bennett wrote:
> Hi Brendan,
>
> Version control software has been a long standing solution for managing
> a single codebase among a set of developers without file overwrites etc.
> Originally software such as CVS was used, then a few years ago
> Subversion (subversion.tigris.org <http://subversion.tigris.org>) was
> all the rage (and is still used quite a lot) and now Git is very popular
> (http://git-scm.com/).
>
> Essentially you will have a central master repository containing the
> codebase for the project you're working on. This will be created and
> managed by the version control software solution you select.
> Each developer then checks out a copy of the repository using a client
> for the version control software (either GUI or command line), makes
> their changes on their machine and then uses the client to check in
> their changes. The repository manages versioning (so you can roll back
> changes if required), file conflicts and enables other users to update
> their local copy of the codebase with everyone else's latest changes.
>
> Bear in mind that there is a learning curve required for developers
> going from solo to team development using version control systems, so
> you'll need to factor that time in. If setting up and hosting a
> repository isn't your thing, you can search for "subversion hosting" or
> "git hosting" and find providers who have an entire environment set up
> for you.
>
> I've had really good experiences with Beanstalk (beanstalkapp.com
> <http://beanstalkapp.com>) in the past and am now setting up my own repo
> <mailto:nzp...@googlegroups.com>
> To unsubscribe, send email to
> nzphpug+u...@googlegroups.com
> <mailto:nzphpug%2Bunsu...@googlegroups.com>
> ---
> You received this message because you are subscribed to the Google
> Groups "NZ PHP Users Group" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to nzphpug+u...@googlegroups.com
> <mailto:nzphpug%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to nzp...@googlegroups.com
> To unsubscribe, send email to
> nzphpug+u...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google
> Groups "NZ PHP Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to nzphpug+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Dave Lane, Catalyst IT, South Island Office
e: dave...@catalyst.net.nz w: http://catalyst.net.nz
p: +64 3 928 1767 m: +64 21 229 8147

Jay

unread,
Jul 15, 2013, 5:47:31 PM7/15/13
to nzp...@googlegroups.com
GIT +1

Dave Lane

unread,
Jul 15, 2013, 5:49:27 PM7/15/13
to nzp...@googlegroups.com
Further to my last message, I've just found that Catalyst (my employer) offers a Git Introduction training course - so if you can get to Wellington, the next instance of it is 29 July. If you want to learn more, here's the course outline:
 
http://catalyst.net.nz/sites/default/files/Catalyst-contributors/Git%20-%20Course%20ouline.pdf

For further info and to sign up, contact trai...@catalyst.net.nz

Cheers,

Dave

mikael letang

unread,
Jul 15, 2013, 5:59:34 PM7/15/13
to nzp...@googlegroups.com
+1 for GIT, it is getting easier to learn than it used to be. 

I prefer using bitbucket (https://bitbucket.org/) over github as central repository though - I find bitbucket offers bettter UX and performance (in particular for pull request management) 


--
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "NZ PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nzphpug+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Mikael Letang
Mobile: 021 027 436 45
Skype: mikael_letang

Tim Oliver

unread,
Jul 15, 2013, 6:38:44 PM7/15/13
to nzp...@googlegroups.com
Everyone else has mentioned source control, but you'll also have to
figure out how to do multi-user development on PHP sites - if you're
all sharing one dev site then source control won't save you from
clobbering each other's work.

One option is to have a separate dev site each, and move your changes
to a shared site for testing / integration / showing off. Those dev
sites can be local to each developer. The downside to this is that it
can be hard to merge your changes together, and you'll have to deal
with database migrations - frameworks often provide tools to help with
this.

No source control tool will save you completely from the need to
communicate with each other.

Mohammed Alsharaf

unread,
Jul 15, 2013, 6:46:05 PM7/15/13
to nzp...@googlegroups.com
This is a nice read about how to use git with multi-user http://nvie.com/posts/a-successful-git-branching-model/

--
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com
---
You received this message because you are subscribed to a topic in the Google Groups "NZ PHP Users Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nzphpug/rNVSSnhQWe0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nzphpug+u...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





--
Kind Regards

Mohamed Alsharaf - Web Developer
Blog: http://jamandcheese-on-phptoast.com/
Skype: mohammed.alsharaf
Email: Mohamed....@gmail.com
Mobile:  021 139 5924 
http://twitter.com/satrun77
http://nz.linkedin.com/in/mohamedalsharaf
https://github.com/satrun77

Thom Toogood

unread,
Jul 15, 2013, 7:11:46 PM7/15/13
to nzphpug
I also highly recommend GIT.

But to get started you could also try http://sparkleshare.org/



--
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "NZ PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nzphpug+u...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Thom Toogood
+61411366482

lenz

unread,
Jul 15, 2013, 7:30:04 PM7/15/13
to nzphpug
entirely branching off the OPs problem here but we are currently working on generalising stuff we have built in springtimesoft around development VMs. we had the goal to check out any project from github and get a fully defined development VM with it so that our time to dive into a project goes down.

we came up with a vagrant + ansible integration and some custom scripts around database migrations and all that. if there is interest in the community we would push all that to github and see if we can make a nice general purpose thing that is useful to others.

cheers
lenz

@OP, yeah, guess you got the point by now. don't touch code without version control and if you start out learning a new one don't bother with anything else than git.
Reply all
Reply to author
Forward
0 new messages