i have cvs on my linux box.
I have noticed that it is possible (i think) to use cvs to update a website. So if i was to check out a file, update it and then commit the changes. Those changes to that file would also take place on my website.

i'm thinking something like this:

/home/cvsmaster/dir/file.php
.. after editing file above
.. do something magical here
.. and put it on website
/var/home/dir/file.php

is there some tutorial, example or how-to manual that could show me how to make this possible?

thanks.

    Probably is, I know freebsd.org does it this way....

      I was looking for a way to do this as well so if anybody has a link to a tutorial?

        well funny thing is i've been searching and i've found 'somehow' a way to do it.
        i first read this useful tutorial on how to setup cvs for web development
        http://www.durak.org/cvswebsites/

        but it stop short on where i wanted it to go. But i did get something useful out of it.. i can use 'cvs export'.
        this will allow you to export the files in the cvs depository and remove the cvs content inside of it.

        I still haven't figured out how to export just 1 file, but it's somehow working. I still see some problems though.

        so lets assume you have your depository here:
        /home/user/cvsmaster/www.domain.com/login/login.php

        to export you would do:
        go to www root. in my case
        /var/www/
        then do
        cvs export -D "now" www.domain.com/login/login.php

        its the only thing i have so far... anything else you find would be greatly useful.

          14 days later

          Having looked around for a suitable alternative most sites reccomend writing a perl poush script unfortunatly I havent found an example script anywhere.

            5 days later

            could you post what URL(s) you where reading about that PERL push code?

            maybe I can find that code 🙂

            on another note, i wrote to the developer of cvswebpublisher and this is what he wrote:

            the documentation will be up with the new documentation site. i think we will release it at the end of the month, after i return from spain.

            That was 2 weeks ago and as of right now, there is no documents on the website.

              Write a Reply...