Thread: CVS Server That Automatically Builds Stuff?

  1. #1
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273

    Question CVS Server That Automatically Builds Stuff?

    Hello,

    In my quest to farm my projects folder off my oh-so-single-point-of-failure laptop, I have wondered about the following:-

    Something like a Raspberry Pi running a CVS server that's HTTP-based for brevity, detects changes in projects and automagically rebuilds the binaries overnight.

    Now I could huff and puff and cobble this together, but wondered if something similar already exists?

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Googling "cvs hook scripts" turned up this, among other results: CVS hook scripts – sourceforge. I doubt there will be a perfect drop-in solution that works with your particular build setup, but there may be something that gets you half way there, at least.

    There's also something like Atlassian Bamboo, if you want something a little more complete and professional. I've never used it, but I like some of their other products, and their prices are good for personal projects. Bamboo is a $10 flat-fee for the basic self-hosted version. I'm not sure how well it integrates with CVS though. Any reason you're not using SVN or Git or something a little more recent? You'll probably find better support for this kind of thing with a more modern VCS.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    At a place I worked, the build machine would automatically build after every commit, and if the build breaks, try to figure out who probably caused it by looking at the revision history, and send an email to that person. Most useful build server ever.

    It was a custom designed system, though.

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    You don't really need to detect changes if you are building overnight. Just cron it in your RPi. This means you can just make a default linux installation, get your favorite CVS and make your crontab. There's no need for special software.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    SVN! Sorry I think I meant that, it's just that I haven't run a CVS for my own stuff before. I have used TortoiseSVN to look at Internet-based projects though.

    Looks like I could try Apache httpd + mod_ssl + mod_dav_svn + Subversion, plus crontabbed build task. Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Connecting to a SQL Server to do simple stuff
    By GDR92 in forum C Programming
    Replies: 4
    Last Post: 01-07-2009, 07:56 AM
  2. Difference between 95/98 and WinNT/XP builds?
    By Kurisu33 in forum Windows Programming
    Replies: 7
    Last Post: 12-07-2006, 08:16 PM
  3. Diffrent Builds ?!?!
    By Halo in forum C++ Programming
    Replies: 3
    Last Post: 12-09-2003, 05:20 PM
  4. void function that builds but error when trying to run
    By romeoz in forum C++ Programming
    Replies: 7
    Last Post: 07-18-2003, 06:52 PM
  5. a question on server stuff
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 10-05-2001, 02:54 PM