RE: [PHP] php + cvs
-Original Message- From: Bostjan Skufca @ domenca.si [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 6:57 PM is it possible to mount CVS/SVN repository as filesystem? a. why would you want to? (the whole idea is that you _dont_ edit files directly in the repository) b. this is a php mailinglist not a cvs mailinglist. ;-) a. It would create a posibility to run application directly from CVS if http server would have access to it If You really want that, then set it up in Your virtual host block? No need for mounting here as I see it. A typical setup is: /home/website/cvs // the CVS repository www.domain.com // /home/website/public_html (the live site) www.domain.com/~USERS/ // /home/USERS/ (the local checkouts) Everyone working on the site works on their local checkouts, and commits changes, then asking a sysadm/CVSadmin to put the changes into the live environment. Some companies use several levels like dev, pre-production before production. -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/Systemdeveloper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php + cvs
Hi All! are here any people who have tried to develop php application using CVS? What programms have you used for it? CVS should be located on the internet. Thanks in advance, Vlad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Vlad Golodov wrote: Hi All! are here any people who have tried to develop php application using CVS? What programms have you used for it? CVS should be located on the internet. I have used CVS before (since its available in Zend Studio) and have had to do a bit of reconfiguring of Zend (because I refuse to connect using pserver, and the CVS-over-SSH instructions at Zend didn't work for me). You can get other CVS clients installed and use them for checkin/checkout and then edit the files in your favorite editor (if it is not cvs-enabled). Some of the good ones are TortoiseCVS and WinCVS. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Vlad Golodov wrote: Hi All! are here any people who have tried to develop php application using CVS? yes, everyday :-) bare in mind that CVS actually creates a bit more work for you (especially in the beginning when you are still on the fairly steep CVS learning curve) but that you gain in oversight and ability to step back etc etc. Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. What programms have you used for it? CVS should be located on the internet. when on Windows I use TortoiseCVS as my CVS client. your CVS server should be setup somewhere you are reach it (I have mine setup so that I can SSH or VPN to the network the CVS box is on) - alternatively if you are developing on your own its quite feasable to run the CVS server/repository on your local box (and move it later if you want to share). the biggest problem is being able to check out a _working_ copy of your site. that requires some preparation - often you have 2 or 3 places you need to run a copy of a site (local/test, staging, live). each copy of the site may have slightly different include paths, different DB connections, etc. in order to accomodate the differences I usually keep 'box' specific configuration stuff in barebones 1 file that does not exist in CVS (usually called global.php) and/or make use of a .htaccess file that also does not exist inside CVS. if you are deploying your sites/apps to remote servers (think linux/*nix) then you had better get familiar with a few of the basic cmdlines for working with CVS, once you have a checkout setup (for instance for staging or demoing) with the correct CVSROOT (etc) its quite simple to update the 'demo' server with the following cmd (typed while you are in the appropriate dir): cvs up Don't forget that if you are developing in a different place to where the live site will run then you will probably have to keep DB schemas in sync as well - you will have to think about keeping a DB updater script in CVS to allow you to update the demo/live copies of the DB. Personally I'm a FirebirdDB fan - and I use IBExpert to sync the different copies of a DB that may exist for a given project. well there you have a little insight into my world, hope you succeed with version control too! rgds, Jochem Thanks in advance, Vlad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Marcus Bointon wrote: On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus another CVS/SVN helper-application is smartSVN (or smartCVS for CVS): http://www.smartsvn.com/ (http://www.smartcvs.com/ for CVS). Those applications are really nice, personally I find that they are far easier to handle than tortoiseCVS(/SVN) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Hello, is it possible to mount CVS/SVN repository as filesystem? regards, Bostjan On Tuesday 31 May 2005 15:46, M. Sokolewicz wrote: Marcus Bointon wrote: On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus another CVS/SVN helper-application is smartSVN (or smartCVS for CVS): http://www.smartsvn.com/ (http://www.smartcvs.com/ for CVS). Those applications are really nice, personally I find that they are far easier to handle than tortoiseCVS(/SVN) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Bostjan Skufca @ domenca.com wrote: Hello, is it possible to mount CVS/SVN repository as filesystem? a. why would you want to? (the whole idea is that you _dont_ edit files directly in the repository) b. this is a php mailinglist not a cvs mailinglist. ;-) regards, Bostjan On Tuesday 31 May 2005 15:46, M. Sokolewicz wrote: Marcus Bointon wrote: On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus another CVS/SVN helper-application is smartSVN (or smartCVS for CVS): http://www.smartsvn.com/ (http://www.smartcvs.com/ for CVS). Those applications are really nice, personally I find that they are far easier to handle than tortoiseCVS(/SVN) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
a. It would create a posibility to run application directly from CVS if http server would have access to it b. details :)) On Tuesday 31 May 2005 18:06, Jochem Maas wrote: Bostjan Skufca @ domenca.com wrote: Hello, is it possible to mount CVS/SVN repository as filesystem? a. why would you want to? (the whole idea is that you _dont_ edit files directly in the repository) b. this is a php mailinglist not a cvs mailinglist. ;-) regards, Bostjan On Tuesday 31 May 2005 15:46, M. Sokolewicz wrote: Marcus Bointon wrote: On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus another CVS/SVN helper-application is smartSVN (or smartCVS for CVS): http://www.smartsvn.com/ (http://www.smartcvs.com/ for CVS). Those applications are really nice, personally I find that they are far easier to handle than tortoiseCVS(/SVN) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
On 31 May 2005, at 15:40, Bostjan Skufca @ domenca.com wrote: is it possible to mount CVS/SVN repository as filesystem? Yes and no. Both keep stuff as normal files, but often as diffs and BDB databases. You really need to go through the appropriate client interface to extract data from it meaningfully. Also, you don't normally work directly on the repository but on a locally checked out version. This is what makes concurrent edits possible. SVN is typically implemented as a WebDAV service (possibly using SSL for security), and you can simply mount the webdav point as you would any other webdav file system. I guess you could check out a version remotely, then mount that area via webdav. Not sure what you'd gain though. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
Bostjan Skufca @ domenca.si wrote: a. It would create a posibility to run application directly from CVS if http server would have access to it doeos anyone else think this is silly? besides which this is webdevelopment, the http server's config/paths etc matter ... so how do the files inside the CVS repository know which server is using them? also have you ever looked at the contents of a repository? its full of *,v files which are not usuable as-is. direct access to the files in your CVS repository is a BAD IDEA... unless of course you are a certified wizard in which case I'll just shut up ;-) instead write an automation script to update/export/roll-out your application actually thinking about it a friend of mine setup CVS once so that checking in automatically caused a test-server to be updated to the latest version... (can't remember how he did it)... that sounds more like what you want. b. details :)) yeah ;-) On Tuesday 31 May 2005 18:06, Jochem Maas wrote: Bostjan Skufca @ domenca.com wrote: Hello, is it possible to mount CVS/SVN repository as filesystem? a. why would you want to? (the whole idea is that you _dont_ edit files directly in the repository) b. this is a php mailinglist not a cvs mailinglist. ;-) regards, Bostjan On Tuesday 31 May 2005 15:46, M. Sokolewicz wrote: Marcus Bointon wrote: On 31 May 2005, at 09:58, Jochem Maas wrote: Also I hear lots of good things about subversion (SVN), which is a newer alternative for version control - some even say its better. I can definitely vouch for Subversion. I'm using it for all my PHP stuff. I'd not used cvs a great deal, but I'd always found it awkward and svn is certainly easier. The home page is here: http://subversion.tigris.org/ The documentation (an online O'Reilly book) is excellent. It's pretty easy to learn (shares most basic commands with cvs), and there are many helper apps to work with it, not least TortoiseSVN which looks and works just like TortoiseCVS. I'm on OSX with OpenBSD and Linux servers and it's been easy to get it working over HTTPS. There are some OSX clients (notably svnx), but I find that once you figure out the commands, the command line interface is very easy to work with. Consensus seems to be that if you're just starting out in version control, go straight to svn so you can skip all the reasons that made them want an upgrade from cvs! Marcus another CVS/SVN helper-application is smartSVN (or smartCVS for CVS): http://www.smartsvn.com/ (http://www.smartcvs.com/ for CVS). Those applications are really nice, personally I find that they are far easier to handle than tortoiseCVS(/SVN) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php + cvs
On 31 May 2005, at 17:57, Bostjan Skufca @ domenca.si wrote: a. It would create a posibility to run application directly from CVS if http server would have access to it It doesn't work that way - there are almost no circumstances under which you would want to access the repository without going through a client. The only case I can think of is for backup. You can automate checkouts from your repository - Subversion provides scripting hooks to do exactly that kind of thing automatically. You can set up a trigger like 'whenever someone makes a commit to this branch, do a checkout to this directory'. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP CVS solution
Hiya guys, I need some type of extremely simple (yet intuitive) CVS solution, preferbly written in PHP. Namely I want to allow fairly unsavvy computer users (lets say my mom for example) to checkout files of interest, located on some server, via a web-interface and PHP\MySQL backbone. I really don't want to write this myself, does anyone have any suggestions. Thanks in advance, Christian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP-cvs + Apache 2.0.32 + glibc 2.2.5 + gcc3 = problem?
Ok..found something interesting. PHP + Apache 2.0.32 does not run on glibc 2.2.5. (fyi 2.2.5 was compiled with 3.0.3 and my kernel, and binutils, and openssl) I tarred up an installation of Apache 2.0.32 I made from a different machine running 2.2.4, compiled from 2.96, as well as the php module I installed there too. I found that both modules I have(one compiled using gcc3 and one with gcc2), do not let httpd start. I'm not sure where to go from here to find out which half it is, but I'm going to do the following: 1. not use ssl(which I did on my test setup as well as the glibc 2.2.5 system) 2. minimal configuration and installs of both php and apache2. e.g. ./configure --prefix=/web/2.0 --enable-so (for apache2) then ./configure --with-apxs2=/web/2.0/bin/apxs (for php4-cvs) If that works, then something in the middle is mucking things up, and I'll try to see what I can do there. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-698-7250 email: [EMAIL PROTECTED] It is the part of a good shepherd to shear his flock, not to skin it. Latin Proverb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP/CVS
On Sat, 15 Sep 2001, Peter Gibson wrote: $ cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r 4.0.4pl1 php4 cvs [server aborted]: Numeric tag 4.0.4pl1 contains characters other than digits and '.' How do I check php-4.0.4pl1 out? My ~/.cvsrc file contains: $ cat ~/.cvsrc cvs -z9 update -d -P checkout -P diff -u download it from php.net -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]