Developing bleeding edge. Dealing with multiple svn repos?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Developing bleeding edge. Dealing with multiple svn repos?

Post by Chris Corbyn »

What's the best way to handle bleeding edge development, where you not only run your own project from subversion, but you also depend upon other libraries from third-party svn repositories, which you want to add to your own repository but update from the third-party repository?

So you might have this:

Code: Select all

/repos/branches/
/repos/tags/
/repos/trunk/
/repos/trunk/lib/
/repos/trunk/lib/YourClass.php
/repos/trunk/lib/YourPackage/
/repos/trunk/lib/YourPackage/SomeClass.php
/repos/trunk/lib/CoolThing/       <----- From a third party!
The only way I can see to use that third part package is to check it out of the third party repository, then copy it into my repository and "svn add" it. Updating from their svn repository becomes long-winded where I need to get rid of it from my repository, update the checked out version I have elsewhere on disk and then copy it into my repository again and re-add it. Surely there has to be a better way to use other people's repositories inside your own svn repos? :(

It's be cool if with /repos/trunk I could run "svn update" and it updates my own files, and also any changes that were made in the third party repository.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Perfect, thank you :D
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Man, where do you think I get Swiftmailer from? ;) I have it set to two of my apps' "library" directory's subversion properties as an svn:externals pointing to: http://swiftmailer.svn.sourceforge.net/ ... 5/3.0-rc2/

I'm a little bad since I haven't gotten around to changing to a 3.0.x tag just yet... Still using the RC until I have some time to make changes.
Post Reply