Rob Laphier writes:
> For testing reasons, I think this would be a great thing to have.
...
> Don't read "I think this would be great" to mean that this is a high
> priority thing, since I can't promise this won't get stalled behind
> other priorities
Fair enough.
Given that Chad has pointed out the un-cached nature of the gitweb
links, though, this sounds like the thing to do.
Since it sounds like the WMF is at least willing to provide the
infrastructure (Git, Jenkins and Swift), can those of us outside the WMF
who want to make this happen work with Chad, Antoine, and Ben to figure
out how we can handle the nitty-gritty work that needs to be done?
It sounds like some knowledge transfer (which I hope would be minimally
invasive) and the already-existing infrastructure would be a all that is
required from the WMF to make this happen. The rest (changes for
Jenkins) could be done by volunteers.
--
http://hexmode.com/
Human evil is not a problem. It is a mystery. It cannot be solved.
-- When Atheism Becomes a Religion, Chris Hedges
On Wed, Aug 1, 2012 at 4:26 PM, Chad <innocentkiller(a)gmail.com> wrote:
> On Wed, Aug 1, 2012 at 7:17 PM, Mark A. Hershberger <mah(a)everybody.org>
> wrote:
> > On 08/01/2012 06:50 PM, Platonides wrote:
> >> I don't think we need a separate nightly page. If someone wants a
> >> "nightly", he can use this git download. Differences with release
> >> mediawiki are minimal.
> >
> > The release *does* include some standard extensions that are not in the
> > gitweb link.
> >
> > But, yes, having the gitweb link makes this less of an issue.
> >
>
> Let's please not link to the gitweb tars. They're not cached, so
> each one would be generated on demand.
>
> -Chad
>
>
That's why I created mwSnapshots are a replacement for vvv's mw-nightly
(which, before it was taken down, afaik still only worked with SVN).
https://toolserver.org/~krinkle/mwSnapshots/#!/mediawiki-core/master
And it does cache :)
-- Krinkle
Is there any interest in having nightly snapshots of MediaWiki available?
I realize people could just use git, but this poses a problem for users
who are familiar with extracting, say, a .xip file, and making MediaWiki
work, but are stymied by the esoteric nature of git.
This would be similar to Mozilla's nightlies:
(http://nightly.mozilla.org/) and may also be a stepping stone for
people to get into development, or at least patch submission.
This all came up because I had the chance to provide a snapshot to help
solve a problem in 1.19
(http://thread.gmane.org/gmane.org.wikimedia.mediawiki/40011, shortened:
http://hexm.de/kt).
I used the make-release script
(http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/make-release/,
shortened: http://hexm.de/ku) and put the snapshot up at
http://mah.everybody.org/snapshots/.
I'm willing to set this up to run on wmflabs.org or on my own server if
there is interest. This may also be a good way to measure the "need"
for a point release -- for example, if the nightly starts including
fixes for annoying bugs that affect a lot of people, then a point
release is probably needed. (I'm looking at you, Bug #24985.)
--
http://hexmode.com/
Human evil is not a problem. It is a mystery. It cannot be solved.
-- When Atheism Becomes Religion, Chris Hedges
Hi, mr. All!
When i installed MW-1.19.1 on my hosting i got error messages like
'rename() [function.rename
<http://fwiki.whitefossa.ru/index.php/function.rename>]: SAFE MODE
Restriction in effect. The script whose uid is 55398 is not allowed to
access /var/tmp owned by uid 0 in
*/home/u48601/whitefossaru/fwiki/includes/upload/UploadStash.php* on
line *173*'
when trying to upload any image.
Safe mode was turned OFF, but this error didn't disappear.
Investigations, made by me and Sir. Sheti <sheti(a)furtails.ru> revealed, that my hoster is completely moron. He uses one tempdir /var/tmp for all users of server, and, this directory belongs to root:root. Because it any modification in this directory fails. And, hoster don't allow to change this directory.
So, here is dirty workaround by Sheti:
1) Create temp directory in filesystem, accessible by you, than chmod -R 777 it
2) Locate file <mediawiki_dir>/includes/GlobalFunctions.php
3) Find function named 'wfTempDir()' and comment it (this function determines temp directory):
//Hoster are idiot, we must make temp yourself
/*
function wfTempDir() {
foreach( array( 'TMPDIR', 'TMP', 'TEMP' ) as $var ) {
$tmp = getenv( $var );
if( $tmp && file_exists( $tmp ) && is_dir( $tmp ) && is_writable( $tmp ) ) {
return $tmp;
}
}
if( function_exists( 'sys_get_temp_dir' ) ) {
return sys_get_temp_dir();
}
# Usual defaults
return wfIsWindows() ? 'C:\Windows\Temp' : '/tmp';
}
*/
Than add new version of function:
//BEGIN PATCH
function wfTempDir() {
return '/home/u48601/whitefossaru/fwiki/temp'; //!!!! << FULL PATH TO YOUR TEMP MUST GO HERE !!!!
}
//END PATCH
4) Save file and locate <mediawiki_dir>/includes/uploads/UploadStash.php
5) Find function 'stashFile' and lines
if ( ! preg_match( "/\\.\\Q$extension\\E$/", $path ) ) {
$pathWithGoodExtension = "$path.$extension";
in it.
Comment out this lines.
Place between commented lines and 'if ( ! rename( $path,
$pathWithGoodExtension ) ) {' next code:
//BEGIN PATCH
//For moron hosters, who do not allow to work with file in
tmp directory
if ( ! preg_match( "/\\.\\Q$extension\\E$/", $path ) ) {
$file_basename = basename($path);
$pathWithGoodExtension =
wfTempDir().'/'.$file_basename.$extension;
//END PATCH
This code will move uploaded file into our temp.
6) Enjoy. It's working, but it's very dirty!
7) Write you hoster testimonial email.
P.s. My hoster is Majordomo (Majordomo.ru, Russia).