How to publish a project from SVN?

There is a project on the SVN, there is a webserver (on the same server, but it is better not to get attached). For post-commit trigger, the project should be published on a webserver.


Made while using svn update, cons — directories ".svn" everywhere. In General not a problem for the test server, and can be disabled in .htaccess, but still turns out ugly.


Suggested version of svn export, but this will overwrite all files of the project at each commit, which is not very correctly (especially for a large number of developers and often commit).


Actually, the question is: maybe there's a smarter way to publish the project? Ideally would get something like a diff file-by-file a: to replace this, this and this file, delete this, this and this. Then you can to an external FTP-server to bind without a full load the project each time.
October 10th 19 at 14:22
5 answers
October 10th 19 at 14:24
Solution
Hudson?
Oh! it seems that the need went study. Thank you! - Alexzander35 commented on October 10th 19 at 14:27
October 10th 19 at 14:26
You can mix svn export with rsync, for example.
October 10th 19 at 14:28
Just recently there was a controversy on this subject, we considered the following options:

1. SVN up — fast, comfortable, reliable (if properly set up access to directories .svn) — personally, I'm all for that — for years use this method on "fighting" servers
2. SVN Export — in principle, nothing complicated, but there is one "BUT" really overwrites everything, including the fact that it is not necessary, to me, is not very convenient (change configs, .htaccess, etc), there is also a problem to forget something — we are all human and mechanical errors nobody is insured.
3. Use something like Bamboo (it is auto), I didn't watch it, but they say that stuff is flexible and can be set to lift svn and other mechanics, all the same configs, updates, etc., etc.
Probably bamboo something, but after reading the descriptions look scary :) - Alexzander35 commented on October 10th 19 at 14:31
October 10th 19 at 14:30
+1 for svn up. Set access to folders .svn and rejoice.
October 10th 19 at 14:32
GM. Came up with the idea — but check can't right now (at work to their svn, no access)
1.Get svn log from the list of changed files for revision, write to file
2.Inciting svn export on those files...

Find more questions by tags StartupsSubversionWeb servers