[09:08:25] d3r1ck: I found a way to get endpoints working [09:08:29] d3r1ck: eg: curl https://gerrit.wikimedia.org/r/changes/?q=owner:D3r1ck01 [13:26:10] africanhope: Nice, let me send you a link of a conversation about this yesterday from paladox and Zppix [13:26:47] d3r1ck: Ok [13:27:15] Pasting in an etherpad now [13:27:19] I'll share the link with you asap [13:27:42] d3r1ck: No problem [13:28:58] africanhope: https://etherpad.wikimedia.org/p/Gerrit_API_Wikimedia [13:29:09] In that, I've extracted the portion of the conversation *only* [13:29:25] But for a full conversation, see this: http://bots.wmflabs.org/browser/index.php?start=02%2F20%2F2018&end=02%2F20%2F2018&data=true&display=%23wikimedia-dev-africa [13:32:21] d3r1ck: thanks a lot [13:32:31] africanhope: Don't thank me :D [13:32:37] Thank Zppix and paladox for the conversation :D [13:32:42] I missed that because of Limechat disconnecting when idling [13:32:43] paladox: ^ [13:33:01] africanhope: Yeah! You need to figure out a way to always be online :) [13:33:38] paladox: thanks for confirming that the api actually works [13:34:34] Might consider switching back to irssi or to another client [13:36:19] d3r1ck: since you're around, the script I submitted a Pull request the other day, its hosted on Toolforge right? [13:36:46] africanhope: yes! [13:44:45] d3r1ck: I have started writing a script that uses the Gerrit API for tracking patches submitted by our guys. I am considering using Toolforge for hosting it [13:45:27] africanhope: No problem fyi [13:45:33] Toolforge will host it with all pleasure [13:45:49] Just request a Toolforge account and in case of any issues, ask on #wikimedia-cloud [13:46:16] africanhope: If you request toolforge access tell me ill have someone accept it quickly [13:48:32] Zppix: thanks [13:49:33] Zppix: Does gerrit.wikimedia.org have a DB replica as other wiki projects do? [13:49:59] paladox: [13:55:09] africanhope: While waiting for paladox, that can be a good question to ask in #wikimedia-cloud [13:56:28] When fetching patches using the REST API (eg: /changes/?q=owner:paladox) I am considering saving the data to a DB for further uses such as sorting, etc. Yet, the ToolForge documentation warns that user DBs might deleted (https://wikitech.wikimedia.org/wiki/Help:Toolforge/Database#ToolsDB_Backups_and_Replication) [13:57:23] Searching through a DB replica would be a wiser choice I guess [13:57:48] D3r1ck: Good idea, I will ask there too [14:07:01] :) [14:25:12] d3r1ck: guys on the #wikimedia-cloud channel don't joke, they are very reactive [14:25:31] I received a bunch of good advice and explanations [14:25:52] africanhope: Yeah! :) [14:26:01] You're very lucky and yeah that channel is very active now [14:26:35] Anything cloud related, ask there and you'll definitely have a reply [14:26:41] I saw the great conversation :) [14:27:30] lol I know you saw it, you were there, lurking around [14:28:13] africanhope: have you requested a toolforge account? [14:30:02] Zppix: I think I did it in the past but wants to make sure [14:30:12] I can look [14:30:28] I did not make the request [14:30:53] I am filling the request now, describing how I will use ToolForge [14:30:55] africanhope: your irc nickname is not registered on wikitech.wikimedia.org [14:31:02] so what are you registered as? [14:32:01] African Hope [14:32:44] Thats actually my username on all wiki projects [14:32:47] ok [14:33:22] yet, its somewhat a bit inconsistent with my irc nickname :) [14:34:11] its not really, just has a space [15:06:02] I am not sure if there is db replica [15:06:33] But that will be going away in the future as future gerrit versions discontinue support for reviewdb (dB) [15:06:34] paladox: Youre right, actually there isn't any [15:06:43] They are moving all data into a single repo [15:07:17] (Or possibly moving partial data into one repo and then the rest in the repo you create the change for) [18:11:58] Zppix: Have you seend my toolforge request? [18:12:11] Ill look and have someone look @ it [18:14:45] Zppix: Thanks [18:15:26] africanhope: it was looked at [18:16:11] cool, that was quick [18:16:17] thanks again [18:39:21] Np [22:09:23] africanhope: if you need help with toolforge just yell for me and I will help oyu [22:09:26] you* [22:13:33] Zppix: This is very much appreciated [22:13:42] no problem [22:13:55] As soon as I have my script ready I will ping you for help [22:14:27] I haven't used toolForge in the past so for sure your help will be welcomed [22:15:27] Zppix: Maybe for now I can test my credentials and log in ssh. Any useful link to get me started? [22:15:54] africanhope: if you want test your creditinals, there is a way let me go grab the steps and I will guide you. [22:16:35] africanhope: okay so im assuming you have ssh setup correct? [22:17:07] do I need to add a private key or something? [22:18:31] africanhope: okay so add your public key to https://toolsadmin.wikimedia.org/profile/settings/ssh-keys the file for the public key should always end in .pub just open that file and select the entire contents and copy and paste into the box on the link i just sent [22:18:56] Zppix: okay I am on it [22:19:54] Zppix: Done [22:19:58] ok [22:20:14] africanhope: what operating system do you use ? [22:20:26] MacOs Sierra [22:20:32] africanhope: are you using git? [22:20:40] yes [22:22:14] ssh login.tools.wmflabs.org isn't rejecting anymore cool [22:22:31] africanhope:oh good [22:22:31] Seems like I needed to add the public key [22:22:34] then you should be fine [22:22:47] africanhope: most basic things are documented on wikitech [22:23:09] I am logged in, cool [22:24:16] africanhope: now all you have to do is create a tool https://toolsadmin.wikimedia.org/tools/create/ whenever you want to start a project [22:25:18] then after creating give it 2-3 minutes after using that link and then type become "name of the tool" (without quotations) and you're set!~ [22:26:14] Zppix: I am getting > You are not currently authorized to view the URI /tools/create/. [22:26:29] strange hold on [22:26:52] are you logged into toolsadmin.wikimedia.org africanhope ? [22:27:07] Yes [22:27:17] try refreshing [22:27:53] I am tempted to click that green button "Join now" and "Request membership in the Toolforge project so you can create your own tool and help maintain existing tools." [22:28:26] But I should already have been granted access, shouldn't I? [22:28:49] Let me see [22:28:54] you should of but let me check [22:29:13] Logged out and in it seems fine now [22:29:24] Probably a cache thing [22:29:43] could be [22:30:01] africanhope: you are indeed accepted into toolforge so cache was probably the issue [22:30:13] Zppix: For the purpose of test, there is no harm in creating a sample tool right? [22:30:38] africanhope: you can create test tools if you want, alot of users do [22:31:26] africanhope: as long as you follow wikimedia's terms of use and it isnt illegal, or cryptocurrency mining, shouldnt care too much usually [22:31:55] ah ok, I should be fine then :) [22:32:01] and yes.. people have used toolforge to mine for cryptocurrency :P [22:32:27] thank you for answering my unsaid question [22:32:34] :P [22:45:50] Zppix: While reading to doc I saw the "Do not use your personal account for noninteractive use" section [22:46:20] What is a tool account? An additional account? [22:48:04] africanhope: personal account is what you are in when first ssh into toolforge, you have to use a tool account which is what that section means [22:48:21] tool account is what become toolname is [22:50:11] Zppix: Indeed there is a section elaborating on that, and I am reading it now [23:08:11] (03CR) 10Noella94: "> Patch Set 12: Code-Review-1" [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/410975 (https://phabricator.wikimedia.org/T178215) (owner: 10Noella94) [23:35:33] Zppix: I think I got a hand of it [23:36:11] How can I delete the test tool?