https://portlandwiki.org/index.php?title=User_talk:WikiMaster/Wiki_-_Installation_%26_Upgrading&feed=atom&action=historyUser talk:WikiMaster/Wiki - Installation & Upgrading - Revision history2024-03-28T13:12:57ZRevision history for this page on the wikiMediaWiki 1.40.1https://portlandwiki.org/index.php?title=User_talk:WikiMaster/Wiki_-_Installation_%26_Upgrading&diff=24237&oldid=prevWikiMaster: Moving subversion material from main page to talk page until I can figure out if any of it is still useful.2014-03-02T04:06:14Z<p>Moving subversion material from main page to talk page until I can figure out if any of it is still useful.</p>
<p><b>New page</b></p><div>{{RightTOC}}<br />
== Using Subversion ==<br />
; Cheat with the sheet -- [http://www.abbeyworkshop.com/howto/misc/svn01/ Subversion Cheat Sheet]<br />
; Read the book -- ''[http://svnbook.red-bean.com/ Version Control with Subversion: The Standard in Open Source Version Control]'' (Online version of the O'Reilly book.)<br />
* [[mediawikiwiki:Subversion|Subversion]]<br />
: This page shows how to download, update and revert MediaWiki and MW extensions using [[wikipedia:Subversion (software)|Subversion]].<br />
* [[mediawikiwiki:Download from SVN|Download from SVN]]<br />
: '''[[wikipedia:Subversion (software)|Subversion]]''' (SVN) is a version control software that allows users to download the very latest version of a branch, without having to wait for someone to get around to packaging it. Advantages to using Subversion include the latest version, vastly simplified updating, the ability to roll back an upgrade, the ability to create and [[mediazilla:|submit patches]].<br />
* [[mediawikiwiki:Download from SVN#Upgrading_and_downgrading|Upgrading / Downgrading MediaWiki Using Subversion]]<br />
: Upgrading between releases with SVN is simple. If you have direct access to the command-line on the server, you can enter the commands directly; alternatively, you can maintain a copy on a local machine and upload updated versions to the server.<br />
<br />
=== Apache Project Page & SVN Clients ===<br />
* Apache Subversion Project Page: [http://subversion.apache.org/ Apacheā¢ SubversionĀ®]<br />
: MediaWiki [[mediawikiwiki:Download from SVN#Prerequisites|recommends]] downloading an "[http://subversion.apache.org/packages.html official client]" from Apache's [http://subversion.apache.org/ Subversion Project Page], or using a GUI like [http://tortoisesvn.tigris.org/ TortoiseSVN].<br />
<br />
=== SVN: Web Development, Deployment & Maintenance Procedures ===<br />
* [http://www.sitepoint.com/using-svn-for-web-development/ Using SVN for Web Development]<br />
: How to use the Subversion system architecture for web development.<br />
* [http://stackoverflow.com/questions/394662/best-way-to-use-svn-for-web-development Best way to use svn for web development]<br />
: Features useful details on how to use SVN in a web development environment.<br />
* [http://stackoverflow.com/questions/4950235/whats-a-good-way-to-version-control-a-website-development-project-that-includes What's a good way to version control a website development project that includes MediaWiki and WordPress installation?]<br />
: The answer from [http://stackoverflow.com/ Stack Overflow] contributor [http://stackoverflow.com/users/602242/barduck barduck] is actually the worthwhile component to the above question.<br />
<br />
=== Subversion: File Permissions | .htaccess | [[wikipedia:Httpd.conf|httpd.conf]] | svn:ignore ===<br />
* [http://stackoverflow.com/questions/1215689/how-does-subversion-handle-file-permissions-and-a-htaccess-file How does Subversion handle file permissions and a .htaccess file?]<br />
* [http://blog.bogojoker.com/2008/07/command-line-svnignore-a-file/ Command Line svn:ignore a file]<br />
* [http://stackoverflow.com/questions/398008/deny-access-to-svn-folders-on-apache Deny access to .svn folders on Apache]<br />
* [https://wiki.archlinux.org/index.php/Subversion_Setup#Miscellaneous_Configuration_Specifics Miscellaneous Configuration Specifics]<br />
<br />
=== DreamHost Related ===<br />
; SVN & DreamHost<br />
* [http://wiki.dreamhost.com/Subversion DreamHost Wiki - Subversion]<br />
* [http://wiki.dreamhost.com/Subversion#Subversion_on_DreamHost Using Subversion on DreamHost]<br />
; DreamHost -- [http://wiki.dreamhost.com/Subversion#Using_Subversion_for_Web_development Using Subversion for Web development]<br />
; Getting Root on DreamHost<br />
* [http://mariolurig.com/coding/dreamhost-vps-root-access-system-monitoring/ Dreamhost VPS Root Access and System Monitoring]<br />
* [http://wiki.dreamhost.com/DreamHost_PS#httpd.conf DreamHost PS#httpd.conf]<br />
<br />
=== [[mediawikiwiki:Subversion#Check out|SVN Check Out Example]] ===<br />
Use the following syntax format:<br />
<nowiki>svn checkout http://svn.wikimedia.org/svnroot/mediawiki/folders_to_download</nowiki> sub_folder_name<br />
To check out MediaWiki development trunk into the folder "wiki":<br />
<nowiki>svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wiki</nowiki><br />
To check out the latest version of [[mediawikiwiki:Extension:Validator|Extension:Validator]] and set into the folder "Validator":<br />
<nowiki>svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Validator Validator</nowiki><br />
<br />
== Additional SVN Reading Material ==<br />
* [http://svnbook.red-bean.com/en/1.7/svn.serverconfig.choosing.html#svn.serverconfig.choosing.svn-ssh svnserve over SSH]<br />
; Why you might want to use it<br />
:- The network protocol is stateful and noticeably faster than WebDAV.<br />
:- You can take advantage of existing SSH accounts and user infrastructure.<br />
:- All network traffic is encrypted.<br />
; Why you might want to avoid it<br />
:- Only one choice of authentication method is available.<br />
:- No advanced logging facilities.<br />
:- It requires users to be in the same system group, or use a shared SSH key.<br />
:- If used improperly, it can lead to file permission problems.<br />
<br />
* [http://blog.bodhizazen.net/linux/svnssh/ svn+ssh]<br />
: This is a (brief) tutorial walking through svn+ssh.<br />
<br />
==== [http://sleepyhead.de/howto/?href=svn Simple How-Tos: SVN] ====<br />
'''Note to [[User:WikiMaster|Self]]:''' Refer to [http://sleepyhead.de/howto/?href=svn entire documentation] before doing anything.<br />
; [http://sleepyhead.de/howto/?href=svn#svnsetup Server setup]<br />
: The initiation of the repository is fairly simple (here for example /home/svn/ must exist): <br />
<code># svnadmin create --fs-type fsfs /home/svn/project1</code><br />
; [http://sleepyhead.de/howto/?href=svn#svnssh Remote access with ssh]<br />
: No special setup is required to access the repository via ssh, simply replace file:// with svn+ssh/hostname. For example: <br />
<code># svn checkout svn+ssh://hostname/home/svn/project1</code><br />
<br />
* [http://csoft.net/docs/svn.html.en Subversion access with svn+ssh]<br />
: The most basic method to access a Subversion repository is the '''svn+ssh protocol'''. As its name indicates, this protocol speaks to the SVN server via [http://csoft.net/docs/ssh.html SSH]. Your SVN client must be provided an URL of the form:<br />
:: <code>svn+ssh://user@ssh.yourdomain.com/path</code><br />
:: <code>svn+ssh://user@server.csoft.net/path</code><br />
: Unlike the [http://csoft.net/docs/svnserve.html svnserve] and [http://csoft.net/docs/svndav.html http DAV] protocols, '''svn+ssh''' requires the use of real Unix accounts and Unix file permissions. Extra Unix accounts with a restrict svn+ssh shell can be configured from the [http://www.csoft.net/docs/cadm/index.html.en shell interface] or web interface. You will generally want to configure SSH public keys for passwordless authentication as well. Additional Unix groups are configurable in the same manner. Users can be granted read-only or read-write access on whole repositories with [http://resin.csoft.net/cgi-bin/man.cgi?sektion=1&topic=chmod chmod] and [http://resin.csoft.net/cgi-bin/man.cgi?sektion=1&topic=chgrp chgrp].<br />
<br />
* [https://wincent.com/wiki/Upgrading_from_MediaWiki_1.6.8_to_1.6.9_using_Subversion Upgrading from MediaWiki 1.6.8 to 1.6.9 using Subversion]<br />
<br />
; [http://svn.haxx.se/dev/archive-2004-03/0253.shtml svn+ssh Setup Mini-tutorial]<br />
: Introduction: This Guide will explain in easy steps how to setup your Linux server working for Subversion repository access through SSH client access.</div>WikiMaster