{"id":2718,"date":"2013-03-18T06:50:54","date_gmt":"2013-03-18T11:50:54","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=2718"},"modified":"2013-03-18T21:15:39","modified_gmt":"2013-03-19T02:15:39","slug":"locking-the-trunk-in-subversion","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2013\/03\/18\/locking-the-trunk-in-subversion\/","title":{"rendered":"Locking the trunk in subversion"},"content":{"rendered":"<p>We had a need to lock the trunk to ensure no changes were made during a code freeze.  In subversion, the &#8220;trunk&#8221; has no significance outside of industry accepted standards.  As such, what follows will work on any directory.<\/p>\n<p>This is done with a pure ssh based subversion installation.  All you must do is edit the authz file found under your repository_name\/conf directory on the server that hosts the subversion repository.<\/p>\n<p>Add the following line and it is immediately effective, i.e., no restarts of anything required.<\/p>\n<pre lang=\"text\">\r\n[\/trunk]\r\n* = r\r\n<\/pre>\n<p>To change it back to read write, simply make the permissions &#8220;rw&#8221;, as shown below:<\/p>\n<pre lang=\"text\">\r\n[\/trunk]\r\n* = rw\r\n<\/pre>\n<p>Once again, there are no restarts required to change it back and forth.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We had a need to lock the trunk to ensure no changes were made during a code freeze. In subversion, the &#8220;trunk&#8221; has no significance outside of industry accepted standards. As such, what follows will work on any directory. This&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2013\/03\/18\/locking-the-trunk-in-subversion\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[41],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2718"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2718"}],"version-history":[{"count":3,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2718\/revisions"}],"predecessor-version":[{"id":2723,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2718\/revisions\/2723"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2718"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}