Talk:Subversion

Latest comment: 9 years ago by Hashar in topic phase3 forbidden?

About the "/trunk"...

edit

Really, do not leave off the /trunk portion of the URL. You'll end up downloading a couple hundred megs of branched and tagged copies of the entire source tree, which is over thirty thousand files, and all that has to come from brion's server. - AnarkiDotNET 24.22.40.216 15:27, 1 April 2006 (UTC)Reply

More tool SVN tools

edit

It could be a good idea to mention the other SVN tools available. Especially for use *yuck* windows users ;). I like to use TortoiseSVN it greatly helped me from the switch from the WinCVS client. It allowed me NOT to fallback on the dos command line version of SVN. Plus TortoiseSVN is so much packed with goodies (diff, repo-browser, log viewer, revision graph etc...)

My 2 cents. Christian

bad diff?

edit

Has anybody else had a problem applying the diffs? I find that if I do a diff, revert, then patch, it fails because is toesn't like the last chunk. This chunk looks pretty useless, so I can remove it and it will be OK. Maybe there's some problem with svn or patch?

The useless chunk is just

@@ -4809,3 +4843,3 @@
}

?>

Do patches need to be fixed before sumbitting? -Sanbeg 19:13, 15 September 2006 (UTC)Reply

Eclipse

edit

I installed Eclipse, then installed the Subversive extension for from Polarion Software (and the fine PHPeclipse extension). Then from the SVN Repository Exploring view that Subversive adds to Eclipse, I chose File > New > Repository Location... and entered a Root URL of http://svn.wikimedia.org/svnroot/mediawiki/.

One way to check out the files is to right-click on a repository and choose Find/Check Out As... I checked out as a project configured using the New Project Wizard so that I could specify the project is a PHP project. I think File > New > Other... > SVN > Projects from SVN would work.

If you have write access to the server, you can use svn+ssh:... as the Root URL. For what it's worth, the public key with passphrase that I created within Eclipse "Generate DSA Key..." wasn't decryptable in OpenSSH, I created a new one using OpenSSH's ssh-keygen.

If your Eclipse project lives outside your Web server docroot and you don't want to modify your Web server to find its files, you can create a linked resource in your project (read the Eclipse help on Linked Resources).

-- Skierpage 05:24, 5 December 2006 (UTC)Reply

How do I add this repository to Eclipse? 81.62.49.190 08:12, 16 October 2006 (UTC)Reply

I hope the above helps! -- Skierpage 05:24, 5 December 2006 (UTC)Reply

ViewVC tarballs

edit

Please turn on ViewVC tarball generation! --Stinkfly 13:23, 29 September 2007 (UTC)Reply

I would also vote for turning on tarball generation in ViewVC since svn access is restricted to intranet where I work. --Jailing 13:37, 12 November 2009 (UTC)Reply
http://toolserver.org/~vvv/mw-nightly/ Max Semenik 13:58, 12 November 2009 (UTC)Reply

An SVN template for extensions

edit

I suggest we create a template describing command linke installation instructions for any extension which is in http://svn.wikimedia.org. Something on the lines of the content in for example Extension:ParserFunctions#Installation. There is also a new template for the SVN links in Template:Extension, see Template:WikimediaDownload. --Zven 10:48, 18 June 2008 (UTC)Reply

Ive made a template called Template:WikimediaCheckout, see this Sandbox revision. It is based on the isntallation instructions from these extensions Extension:ParserFunctions, Extension:SyntaxHighlight_GeSHi --Zven 11:17, 18 June 2008 (UTC)Reply
This is unnecessary now that we have Special:ExtensionDistributor. Nobody will want to use subversion anymore unless they are a developer, and if they are developer, they will want to read the proper subversion documentation. I introduced Template:WikimediaDownload to promote Special:ExtensionDistributor, not to provide subversion links. -- Tim Starling 12:27, 18 June 2008 (UTC)Reply
When I saw the links going to the special page created by Special:ExtensionDistributor, I also saw providing information about checking out from the command line using Template:WikimediaDownload as less important, however it does provides checkout automation using a bash script. --Zven 23:31, 18 June 2008 (UTC)Reply
In my opinion, we already have a suitable compromise between the needs of subversion users and the needs of everyone else: {{WikimediaDownload }} gives the subversion URL, and the main text only talks about Special:ExtensionDistributor. I've added a "help" link to Subversion from {{WikimediaDownload }}. -- Tim Starling 06:33, 19 June 2008 (UTC)Reply
With the addition of another link, I think it's starting to get a bit noisy for the infoboxes. I think it would be good to have a very simple template for the infoboxes, with two links like [downnload] ([view]), and a more verbose one for the body of the page (I had recently started working on template:SVN for the infoboxes, before these were started.) -Steve Sanbeg 15:03, 19 June 2008 (UTC)Reply

If I develop an extension and want to upload it so that people can get it through ExtensionDistributor, do I need to get the same kind of SVN access that is required for making commits to the Mediawiki core? Tisane 07:54, 2 March 2010 (UTC)Reply

TortoiseSVN instructions

edit

Some instructions for using TortoiseSVN would be nice. Thanks. 76.251.235.244 22:00, 31 August 2008 (UTC)Reply

can i make my own login code for mediawiki? because i have a website and i want to add mediawiki on it and i want that the login for my site would also the login for mediawiki is it possible? please help..

How do I create different versions of extensions for different versions of MediaWiki for distribution through Special:ExtensionDistributor?

edit

I have a version of my extension for MediaWiki 1.17alpha that I want to keep separate from the version that's applicable to MediaWiki 1.16beta2. Thanks, Tisane 14:15, 25 May 2010 (UTC)Reply

After a bit of searching in ExtensionDistributor's source files and Wikimedia configuration files (large file) I figured out that you have to add your extension to coresponding extensions branch in /branches/, for example /branches/REL1_15/extensions/ParserFunctions/. --Matěj Grabovský 18:35, 27 May 2010 (UTC)Reply

How to create, new exension svn dir?

edit

I create new mediawiki extension, how to create new extension svn directory, http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/NewExtension, and how to upload files? Thx --Mkepler 07:25, 8 October 2010 (UTC)Reply

First you need to apply for and get commit access and then read the rest of that page for information on how to commit code (extensions). Peachey88 08:01, 8 October 2010 (UTC)Reply

phase3 forbidden?

edit

Recently, the instructions here stopped working for me. I can't seem to access /svnroot/mediawiki/trunk/phase3 anymore. Anybody have any idea what happened?

james@cactusgolem:~/tmp$ svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wikitest
svn: E175013: Unable to connect to a repository at URL 'http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3'
svn: E175013: Access to '/svnroot/mediawiki/trunk/phase3' forbidden

--Bob the Hamster (talk) 14:17, 1 July 2015 (UTC)Reply

Look at the top of the page: This MediaWiki page is inactive and kept for historical interest. . We have migrated MediaWiki to git a couple years ago: http://git.wikimedia.org/summary/?r=mediawiki/core.git Antoine "hashar" Musso (talk) 12:54, 7 July 2015 (UTC)Reply
Return to "Subversion" page.