Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8327405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:05:52+00:00 2026-06-09T01:05:52+00:00

I’m implementing a system whereby changes are committed to a subversion repository. It is

  • 0

I’m implementing a system whereby changes are committed to a subversion repository. It is desired that these changes immediately be pushed to a remote server (preferably without .svn litter).

I’m looking at the svn export command in a post-commit hook but does this push only the changes? ANd how does it authenticate with the remote server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:05:54+00:00Added an answer on June 9, 2026 at 1:05 am

    Are you sure you want to automatically push each and every revision of Subversion to a server? I would think you’d like to do some testing, and pick and choose the revisions you want to deploy.

    Even if you could get a post-commit hook to work, it wouldn’t be a good idea. The user would be stuck waiting for the hook to complete before they could continue with Subversion. Basically, it will look as if Subversion is taking 10 to 20 seconds for each and every commit (that is if you could deploy your entire repository in only 10 to 20 seconds!)

    The best way to handle this is to use Jenkins. It takes approximately 30 minutes to install Jenkins and to get it up and running. (It’s a web service, so you access it through a browser). It will take you another 30 minutes to get the deployment working.

    Yes, I’m asking you to install a whole new webserver, but it shouldn’t take you more than an hour or two to get everything working the way you want. That’s going to be a whole lot faster than testing and getting a post-commit hook to work.

    Jenkins will watch your Subversion repository. When it detects a change, it can run a deployment script. For example, do an rsync to the server. Maybe even taking the server down before implementing the changes.

    And there are many advantages to this too:

    • Jenkins will keep an entire record of all the deployments.
    • Jenkins can let you know if a deployment succeeded or now.
    • You have an easy to access record of your change history.

    And, you can expand this functionality. For example, I mentioned that it might not be a grand idea to do a deployment after each change. Maybe you can setup a test server, and have Jenkins deploy to that and run tests. Jenkins can report the test results right inside of Jenkins. If all the tests pass, then have Jenkins deploy to the production server.

    Or, maybe you’re talking about deploying to a test server and not to the production. Fine, have Jenkins do the deployment to the test server and run the tests. You can then examine the tests, and then have a one button deployment to the production server right inside of Jenkins.

    Maybe you only want to deploy at certain times when the server isn’t so busy. You could setup a second job in Jenkins that only runs at 2:00am when there aren’t so many users on your system.


    Nor, do you have to use Jenkins. There are a lot of other continuous build systems out there. A few open source ones, but some pretty good proprietary (i.e. costs money) system

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
I need a function that will clean a strings' special characters. I do NOT
I'm trying to create an if statement in PHP that prevents a single post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.