Thanks, Roan. I'll email Brion and we'll go from there - I think it's not a big deal for my extensions to be moved over without history because there is not much history there - just a few releases.
I know about file naming traditions and will consider splitting the code once it grows bigger.
My main question is about release tags - do I just tag the like http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/Widgets/REL_0_5/an... that's it or are there any other best practices? Maybe it's worth creating the page for "Extension SVN-ing Enleashed" ;)
Sergey
On Fri, May 9, 2008 at 10:33 AM, Roan Kattouw roan.kattouw@home.nl wrote:
Sergey Chernyshev schreef:
I really prefer to have my extensions in MW repository - so the next question then is what are the guidelines for SVN usage for Extension developers (especially tagging so developers of code-rich extensions like Semantic Forms and Semantic MediaWiki can use it),
The idea is that you put your extension in /mediawiki/trunk/extensions/ExtensionName/ . How you organize that directory is more or less up to you, although there is a convention to call the setup file (the one that's included in LocalSettings.php) ExtensionName.setup.php or ExtensionName.php , the file with the interface messages and their translations ExtensionName.i18n.php and the file with the actual code ExtensionName.body.php . Larger extensions will probably want to put classes in their own files, and put the 'main' code flow in the .body.php file.
and how does one get commit access to the repository ;)
Ask Brion Vibber. To quote him, commit access is granted to everyone who asks for it and has shown they're not a baboon. In practice, that means either having submitted a few patches to BugZilla or maintaining an extension.
Also, can you guys import a project from another repository, e.g. Google code hosting (first two in line will be "Header Tabs" and "Widgets" extensions)?
Importing the files in their current state is pretty easy. Importing the files with history is probably gonna be tricky.
Roan Kattouw (Catrope)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l