Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

SVN advice needed

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
gr0x0rd
Guru
Guru
User avatar
Posts: 311
Joined: Sat Aug 12, 2006 7:37 pm

SVN advice needed

  • Quote

Post by gr0x0rd » Wed Mar 04, 2009 1:04 am

Hello all,

We outsourced a web development project and the time has finally arrived for the project to be delivered. The developers have provided me with a url and credentials to log in and access the source. Ideally I'd just like to download the project source to a folder within my apache directory structure so I can work on it from there. I'll be syncing up newer builds in the future so it would be nice to have an svn server of sorts to manage that.

I haven't used svn before on gentoo so I am wondering what tools people would recommend for this? I use gnome, so I was interested in a tortoise-type of interface for nautilus and came across

http://bugs.gentoo.org/147433

but didn't get too far with it since Rion's ebuild has a dependency to pysvn and that's not in portage either.

I have subversion 1.5.4 emerged with the apache2 use flag enabled. Just wondering what the next best step would be from there.

Thanks,

~g
~g
emerge -FML...
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Wed Mar 04, 2009 5:00 am

I use a subversion repository on gentoo that developers can check in/out code via ssh. I set it up a few years ago so I'm a little rusty on the deployment, but when I did set things up I used the howto on the Gentoo Wiki. That page is missing because of the server crash, but I did however find a backup on the archive wiki here:
http://www.gentoo-wiki.info/Subversion/Basics

For just a browsing front end I use websvn, which is in portage.
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Wed Mar 04, 2009 9:41 am

Hi,

As far as I know, the Apache2 flag on subversion is only to enable the use of webdav to access a repository. I don't believe that these files are in a format that you can serve via apache (as in a web page etc).

I guess you would need to check out the project into a directory that you have configured your apache server to use?

Perhaps there's more info in here:

http://svnbook.red-bean.com/

Rich
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Mar 05, 2009 4:10 am

A quick scan of the ebuild suggests that USE=apache2 enables installation of files necessary to export the repository over WebDAV. The USE=webdav* family of flags control whether the client can use WebDAV to fetch a repository over HTTP.

The original post implies that the outside developers may provide periodic updates. If so, you may be better off importing the code into a system with better support for merging changes from distinct lines of development. If you use a distributed system, such as git or mercurial, you could even try to talk the outside developers into running a repository on their end, so that you can examine individual points in history, rather than only the code drops they supply at specific times.
Top
nmp0906
n00b
n00b
Posts: 71
Joined: Thu Jan 31, 2008 12:14 pm
Location: United States

  • Quote

Post by nmp0906 » Thu Mar 05, 2009 1:04 pm

You might look into GIT if you are going to be importing changes from your outsourced developer group into your own (combining them). I think that GIT would provide a better architecture since this essentially the same setup the kernel development (Linus and friends) uses, where you can pick and choose pieces to integrate from others (in this case, others being the outsourced team).

Also, you do not want to just checkout the files to your web directory, you will need to actually export the repo (which will remove the repo files, in the case of svn, all the .svn folders and others). You don't want these files published on your web server, accessible to the public.

Setting up an SVN server isn't hard, follow the wiki docs. gentoo-wiki.com is always good, gentoo.org may have something too. I wouldn't advise WebDAV, it seems we always have issues with it. WebDAV is different than a web interface to your repo, mind you. WebDAV is mostly used for mounting web directories as local drive letters (in windows, though it applies in a similar fashion across all OSes). I'd advise SVN+SSH, which is secure and works, seemingly everytime.
Top
gr0x0rd
Guru
Guru
User avatar
Posts: 311
Joined: Sat Aug 12, 2006 7:37 pm

  • Quote

Post by gr0x0rd » Thu Mar 05, 2009 5:02 pm

Thanks for all the help and advice guys, I really appreciate it!

Cheers!
~g
emerge -FML...
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic