[04:44:43] * addshore huggles xx [08:22:27] * Krinkle adds #huggle to auto-join [08:24:25] ah [08:24:29] I replied to mw [08:24:44] biggest problem is that you are only one who knows gadgets [08:24:50] so if you want, work on it [08:25:09] but we can only provide you the stuff on hg server [08:25:17] I can't help with js [08:25:32] :/ [08:26:13] How many space we are using (gcode)? [08:29:34] 120 mb? [08:34:50] w00t? [08:35:01] We have only 2000GB [08:35:59] Can we move to wmf? I hope on wmf we have more space. [08:36:47] Can you move all revisions? [08:38:37] http://www.digitalmediaminute.com/article/2251/how-to-move-a-subversion-repository [08:38:38] later [08:38:47] not before we move to git [08:38:58] Why git? [08:39:00] wmf is being migrated to git this month and next month [08:39:14] svn.wikimedia is going to be closed [08:39:16] one day [08:39:34] so there is a little point to move [08:39:39] right now [08:40:01] Can me move to wmf Git? [08:40:38] yes [08:40:47] but we need to wait for it to set up [08:41:04] ah [08:41:07] not sooner than in 2 months [08:42:12] What are the befinits in Git? [08:42:24] in fact [08:42:26] not many [08:42:44] it uses a different way to merge data to real repo [08:42:53] which is better for wmf [08:43:02] regular devs don't benefit from that [08:43:18] ah [08:43:58] Can we move our complete repo to WMF git? [08:44:36] sure [08:44:49] If you like you could also request wmf to set up a separate permission group for the Huggle repo (probably even a repo-group with multiple repositories, one for each project/application). Then you can review each others revisions, based on your own criteria and rules. [08:45:10] the same was done for jenkins and testswarm, Ryan can do that. [08:45:31] :) [08:46:16] The biggest benefit for Git is the version control logic. Whether to use Gerrit-review is not related to svn vs. git. Git itself is not related to the way we merge or review, that's gerrit. [08:46:44] Can I commit to git? [08:46:51] Yes [08:47:01] eh, what do you mean exactly? [08:47:13] If there is a 'commit' command in git, like in svn? [08:47:32] yes, I mean that [08:47:35] yes there is [08:47:56] the 2 main differences (there are more, but these I like most) is [08:48:15] 1) In SVN there is 1 central server which has everything [08:48:23] ah [08:48:24] and then the developers only have the latest version [08:48:43] So if you want to diff with revision of last week, svn has to download it from the server [08:48:53] and if the server has a problem, then everybody has a problem [08:48:58] also, if you are offline, you cannot commit [08:49:05] yes [08:49:07] With git everybody has the entire repository [08:49:14] there is no 'central server' [08:49:15] cool [08:49:26] of course we can agree there is 1 server we all use [08:49:34] (and we should, otherwise it's a mess) [08:49:37] I like Git. :) [08:50:04] but you could for example have a event somewhere and go hacking with 10 friends and work with each others repository and test different combinations and fixes [08:50:15] ah [08:50:23] and then after the week is over merge everything together in a branch and push it to the 'main' server [08:50:39] wow [08:50:51] or you could have a test local, and send to my repository on my computer [08:51:12] I could add a little fix to it and send back to you, then you push both commits to the main server [08:51:22] but pushing to the main server is the same as pushing to me [08:51:44] anyway I could go on for a long while, I like git a lot (POV alert :P ) [08:52:11] 2) (short one), if you create a branch, it really is a branch and not a directory called 'branch' with a copy of trunk [08:52:21] ok [08:52:49] How can I get access on WMF? I have a labs account. [08:53:39] If you have access on Labs it means you have a WMF LDAP account [08:53:57] with the ldap account you can also log in to Gerrit (the git repo manager) [08:54:13] ah [08:54:29] with the labsconsole Logindata? [08:54:33] however permissions are organized separately for every repository, so logging into gerrit doesn't mean you can commit to every repository [08:54:46] IWorld: yes, labsconsole-wiki also uses the same LDAP login [08:54:51] ok [08:54:59] it's a little bit like SUL 2.0 [08:55:08] ah [08:55:30] but without the downsides of copying to a local user table, ldap is really central (CentralAuth is not central :P) [08:55:41] :) [08:55:58] you can ask Ryan or sumanah to get access to the 'test' repository if you like [08:56:12] ah [08:56:28] I don't think they are online much in the weekend though [08:56:51] ok [08:57:26] Thanks for the infos! [08:57:35] Bye [09:38:25] Krinkle: can I use the bastion ssh key for gerrit? [09:39:52] @ Krinkle [09:40:07] * Krinkle is pinged by /Krinkle/ [09:40:14] ah [09:40:24] IWorld: I heard you the first time [09:40:32] IWorld: I don't understand your question [09:41:11] ah [09:41:35] Can I use the ssh public key for labsconsole (bastion) and gerrit? [09:42:08] *my ssh public key [09:43:25] I don't think there is a way not to [09:43:32] they must match afaik [09:43:39] ask #wikimedia-labs [09:43:42] I dont know [09:45:06] I'm using the public key for both :) [10:47:45] * addshore yawns [11:48:10] re [11:53:18] petan: I want to create the mobile design [12:44:24] no problem [12:51:22] Do we use jQuery? [12:51:25] *Can [12:51:32] @ petan [12:56:09] Petanbot: ping [16:01:26] hi Elsensee [16:01:33] hi IWorld :) [16:01:57] * IWorld works on the jQuery UI login dialog [16:02:00] I'm stil alive :D ( http://www.youtube.com/watch?v=Y6ljFaKRTrI ) [16:02:06] cool [16:02:29] * Elsensee goes to labs... [16:02:54] labs? [16:03:01] labsconsole.wikimedia.org? [16:03:13] @ Elsensee [16:03:27] no, to hugglewa.wmflabs.org ;) [16:03:39] ah.... [16:03:59] do you look at the site? [16:04:13] wow [16:04:15] yes [16:04:17] :) [16:04:27] hg.wikimedia.org is the short domain [16:04:30] sry [16:04:34] hg.wmflabs.org [16:05:03] IWorld: i think the buttons should work about AJAX [16:05:14] *with [16:05:19] yes [16:05:44] And if you visited the site with a tablet or smartphone, the site has an other style :D [16:05:49] *visit [16:14:59] i hate global variables and php [16:25:20] I'am missing the error report in JavaScript. [16:26:07] addshore: php is too complicated for me because of the global variables, but i can write it... [16:41:07] * IWorld is away for 15 mins [17:01:48] hello [17:02:32] re [17:09:06] * IWorld is downloading Firebug [17:09:17] hi mmovchin :) [17:09:35] hi mmovchin [17:10:45] Elsensee and IWorld: Hello :) [18:18:49] anyone here? :) [18:18:56] no [18:18:58] ~:P [18:19:04] IWorld, you a php man? [18:19:12] yes [18:19:20] right [18:19:24] HELP ME! [18:19:25] :P [18:19:32] What's the problem? [18:19:37] right [18:19:47] at the begining of my program I create some (global) variables [18:19:52] each is an array [18:19:55] ah [18:20:06] i.e. $sbAlias = getAliases(); [18:20:11] yes [18:20:17] so thats at the begining [18:20:20] ah [18:20:37] but then I have a seperate function that later on in the program I want to CHANGE the global variable [18:20:38] If you have a very long code, ask mmovchin ;) [18:20:44] I'am away [18:20:50] haha [18:20:50] D [18:20:58] mmovchin, stop being away? :) [18:21:18] its long but that doesnt matter [18:21:30] i just know how else I can / shold store the data so that it can be edited from everywhere [18:23:05] * IWorld is away for 10-60 min [18:23:12] * addshore slaps IWorld  [18:24:09] addshore: set the code ready to reading [18:24:21] I look at that later. [18:24:22] ? [18:24:45] Can you give me the link to the file? [18:25:00] its a series of files [18:25:06] ill create a mock up though [18:25:10] in a few lines [18:25:19] ok [18:25:55] I'm in 10-30 mins back. You can post it on the ts svn. [18:26:01] *toolserver [18:26:48] well this is it [18:26:48] $sbAlias = getAliases(); [18:26:48] function regenerateLists( $lists = null ) { [18:26:48] global $sbAlias; [18:26:48] $sbAlias = getAliases(); [18:26:48] } [18:27:10] i just need a different way to store $sbAlias so that it can be altered everywhere [18:32:04] addshore: is the code in a class? [18:32:26] no [18:32:31] but [18:32:49] infact, just no [18:33:20] if its in a class, maybe $this->sbAlias will help [18:33:44] hmmm [18:33:51] maybe I should just put it in a class? [18:34:05] I have the 8 or so variables I want everywhere in another class [18:34:24] but im no php-pro [18:34:29] ;) [18:34:32] :P [18:46:49] re [18:51:05] dsekjgjlasdf [18:52:52] Elsensee: the jQuery login is in the repo [18:54:01] nice :) [18:54:08] IWorld: can you help addshore [18:54:12] he needs you :) [18:54:30] :/ [18:54:33] :> [18:54:37] * addshore waves [18:54:42] Can I see the complete script? [18:55:46] too big and messy :/ [18:55:58] but the above is the only code that needs ot be fixed [18:56:46] ah [18:56:55] What is the error message? [18:56:57] http://pastebin.com/ZEmpU5C3 [18:57:01] there isnt an error message [18:57:11] its just the fact that when the function changes the variable [18:57:22] it only changes the localish version inside the function [18:57:37] the global var another part of the script reads repeatidly stays the same [18:57:45] when that is what I want to update [18:58:07] What is the result of the script (in your dreams ;) ) [18:58:11] ? [18:58:24] for that function to be able to update the global variable [18:58:53] with get or post? [18:59:10] ?? [18:59:24] kk [18:59:25] i mean I found this [18:59:25] http://stackoverflow.com/questions/107693/global-variables-in-php-not-working-as-expected [18:59:37] which is when i realised global is annoying [18:59:56] global $foo doesn't mean "make this variable global, so that everyone can use it". global $foo means "within the scope of this function, use the global variable $foo". [19:00:07] which is my problem [19:00:21] as when the function ends the new data ythat was entered vanishes [19:00:43] meanwhile the actual variable which is defined origionally stays the same [19:01:09] sry, I'm not a PHP prof... And I know the problem... [19:01:57] just, where else could I store the array that could actually be updated :< [19:02:17] perhaps here you are on the right place: #php [19:02:37] I did [19:02:46] and they said not to use global :P [19:02:50] ah [19:02:53] but didnt really help much else :P [19:03:07] can $_SESSION store arrays? :P [19:03:25] haha , would eb a shit way or doing it but it would work [19:05:51] Snowolf, you good at php ? :) [19:34:54] petan: look at this: http://hg.wmflabs.org/trunk/ [19:41:54] if someone tell me where we are putting all the wiki functions ill go and fill that in :) [20:43:24] re Krinkle [20:43:41] Hi [20:44:12] How you had get the "Ready for git?"? [20:45:31] @ Krinkle [20:45:45] addshore, IWorld, Elsensee|away: If anyone of you needs help with PHP, I will be here in some time [20:45:51] My cactus is upset and the whole earth is now on the ground! Now I have to make everything clean and vacuum ... [20:45:57] So this could take some time ;) [20:46:08] * Krinkle feels the earth shatter into pieces [20:46:26] our planet is being sucked into a vacuum cleaner! [20:46:36] ah [20:46:50] IWorld: What do you mean? [20:46:56] http://svn.wikimedia.org/users.php [20:47:10] I don't know [20:47:21] That's a good answer ;) [20:47:32] I know what you mean, but I don't know the answer [20:47:40] Let me see what the code behind that page is [20:47:59] where is the code? [20:48:24] http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/subversion/users.php?view=markup [20:49:04] IWorld: You need to set `name` and `email` [20:49:20] Git uses email for unique identification of commiters across repositories [20:49:25] Where? On Gerrit? [20:49:42] (because there is no central server, there is no username database in Git, so emailaddress is used) [20:49:56] IWorld: You add it in the USERINFO file in SVN [20:50:00] that will later be imported into Gerrit [20:50:14] http://svn.wikimedia.org/viewvc/mediawiki/USERINFO/ [20:50:41] do a checkout of that directory on your computer and edit or create a file named after your commit username (lowercase) [20:51:04] How can I get access to Wikimedia svn :) [20:51:05] and then 'svn add iworld', 'svn commit -m "Adding USERINFO file for me"' [20:51:15] IWorld: You have an SVN account, right? [20:51:25] only a labs account [20:51:31] I see your account listed there, so you have an account [20:51:47] Labs uses LDAP for login, you have a LDAP account [20:51:48] How can I access to that :O [20:52:04] which is also used by labsconsole-wiki and by SVN [20:52:21] The same password? [20:52:27] no password [20:52:31] it uses ssh keys [20:52:39] Wikimedia SVN? [20:52:42] Yes [20:52:57] I'm using Windows with Tortoise SVN. [20:53:05] If you do an https:// checkout, then it it anonymous (read-only). If you do checkout over ssh+svn:// then (if you have an account) you can also commit [20:53:15] https://www.mediawiki.org/wiki/Subversion [20:54:39] Unable to connect to a repository at URL [20:55:19] https://www.mediawiki.org/wiki/Subversion#URLs [20:55:25] what url are you using [20:55:29] what command are you using [20:58:43] sec. [20:59:43] Krinkle, sumanah set up my account for gerrit/labs, does that mean I have an SVN account as well? [20:59:51] Maybe [21:00:04] Yes, it looks like it [21:00:11] But you may not have permission to commit to mediawiki core [21:01:07] Krinkle, ok [21:03:26] * IWorld switched to Linux [21:03:36] * IWorld (~ubuntu@wikimedia/IWorld) has joined #huggle [21:04:24] Now I can use the svn easily. [21:08:17] Krinkle: svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. [21:08:32] IWorld: which command did you use [21:08:51] svn checkout svn+ssh://iworld@svn.wikimedia.org/svnroot/USERINFO userinfo [21:09:04] There is no repository named "USERINFO" [21:09:09] Look again [21:10:16] svn checkout svn+ssh://iworld@svn.wikimedia.org/svnroot/mediawiki/USERINFO userinfo [21:10:26] the same [21:11:59] @ Krinkle [21:13:07] Migth me a permissions issue with the known_hosts file in your ~/.subversion [21:13:58] .ssh i mean [21:14:14] on my computer? [21:14:18] yes [21:14:23] be* [21:16:05] I haven't got known_hosts in the folder. [21:16:20] auth config README.txt servers [21:17:11] @ Krinkle [21:17:35] ~/.ssh ? [21:18:38] there are 2 keys [21:19:53] @ Krinkle [21:20:44] k [21:20:54] Sorry, can't help you. I use svn and it works for me [21:21:02] Perhaps ask in #mediawiki [21:21:08] or google on the error message [21:23:43] Which client you use? [21:24:27] Good news :) [21:24:35] * IWorld is switching to Windows [22:04:07] I can't access to svn.wikimedia.org [22:04:32] "(server sent: public key)" [22:05:04] good night [22:11:35] so [22:11:37] finally back [22:11:53] Elsensee: I'm back [23:43:47] good night...