[17:30:02] andre__: I hope my previous message went through. (It tells that whenever you are ready, we can tidy up the sheet and import things :D) [17:30:08] is there a deadline for tasks to be up ? [17:44:42] tonythomas: basically Sunday [17:44:54] andre__: heh. wow. thats a loooooot of time :D [17:45:04] I hope you remember we have to still fill in the mentors field! [17:45:12] we also have to fill in the tags. [17:45:14] and probably run the script again, as new tasks were added ? [17:45:32] well - for the tags, I think there are some limitations of values [17:45:35] let me check the website [17:46:06] tonythomas: the script only imports tasks that are in the "Proposed tasks" column in https://phabricator.wikimedia.org/tag/google-code-in-2016/ , right? [17:46:25] right now, only those in the first column - yeah! [17:46:29] sweet! [17:46:34] in that case I'd say: let's import them. So I can fix them up over the weekend [17:46:36] heh :D [17:46:49] okey - but we will need those values too [17:46:52] tonythomas: I just need to find out what I myself must do, to be honest :D [17:47:00] let me check the API docs (they promised they would do) [17:47:11] tonythomas, we can set myself as mentor. And then I correct that value manually. [17:47:14] andre__: a moment, let me check if they have some updated info [17:47:28] well, that seems agian a way, though :D [17:47:36] * andre__ is really clueless and of course should have paid more attention to this, but... sigh too many other things :-/ [17:47:44] but considering the time ti takes to go through each of this, it might be a pain [17:47:51] I know. lets fix this [17:47:54] GCI is always a pain for admins :P [17:48:44] I know., they have updated the docs. let me check [17:48:48] https://developers.google.com/open-source/gci/resources/downloads/TaskAPISpec.pdf [17:49:09] * andre__ bookmarks [17:49:47] POST​ to the list endpoint to create a task. The request body must be a JSON-serialized task [17:50:05] and that would be /api/program/current/tasks/ [17:50:28] but, I think we might not need all this as Google has a tool for this! https://code.googlesource.com/codein/api [17:50:50] let me check the sheet and see what all we miss [17:51:00] thank you [17:51:20] and we are talking about https://docs.google.com/spreadsheets/d/1pEOvKY-tXsy1qgbZcJCmFezmmLQQSauyuHvLAbgFgtw/edit#gid=1727877258 [17:52:18] okey. so I see this option. We can create a draft task without the mentor column, and time_to_complete, etc [17:52:45] so my guess is we run this script and make these draft tasks, and then once we assign mentors, make them published [17:52:59] or even ask mentors to go inside, take a look at the draft tasks there and addthemselves as mentors or whatever [17:53:25] Could we set time_to_complete to a default of 96 hours? [17:53:46] it's a pretty irrelevant field, based on my experience [17:53:56] and the mentors I'm happy to set manually, as I said [17:54:13] plus I have to do some other stuff anyway, like marking recurring tasks as such and so on :) [17:54:24] I'm also wondering a bit about the markup but I guess we'll see [17:54:54] in any case, it's going to be a huge help and save us some time [17:55:00] the thing is - the markup of the task in phab will show up here, as the phab query returned it in markdown [17:55:04] true. [17:55:13] it can be seen from the google sheets [17:55:20] let me check how the gci api expect things [17:55:23] Yeah, I saw it. But it's really not a big issue [17:55:31] true. https://code.googlesource.com/codein/api [17:55:42] I'm happy to manually edit away for a while, nothing new :P [17:55:59] andre__: if you want, we can even be in a hangouts call, and I can screen share and you can take a look :P [17:56:06] I have like crazy 1 hour or more free [17:56:43] but to really import you must be marked as an admin on the GCI site IIRC? So I have to do something myself anyway and still need to understand what exactly :D [17:57:09] Oh yeah we could have a hangout if you think that's an okay'ish use of your time. Don't want to steal too much, I'm already extremely thankful that you help with this [17:57:56] heh - but you are the one who should use this :P and without that my original 2 hours would've been to create a script that never executed :P :P [17:58:03] okey - so there are two options here [17:58:11] Yes sure I know I will use this :) [17:58:13] you run the script, and I can help you there [17:58:34] or you can give me the API key, we on a screenshare, try uploading one task - and see how that goes [17:59:06] you just need python in the machine to run this script afaik https://code.googlesource.com/codein/api -- that is the one I am talking about [18:00:18] okey - I find a sample.csv by Google. we need to make our csv look identical [18:00:51] tonythomas, I'll invite you to a hangout [18:00:58] andre__: right! [18:02:04] tonythomas, check your mailbox :) [18:02:10] I'm here! [18:02:13] joining now [18:57:48] andre__: heh. that Facebook post looks great :P [18:57:58] I should be starting a fan-page now! [18:58:46] Well, props have to be given where props are deserved. [18:59:51] andre__: heh :P I will push in the updated version shortly after removing in the priovagte stuff [19:03:32] tonythomas: I documented the steps as bullet points on https://www.mediawiki.org/wiki/Google_Code-in/Admins , starting with "Import tasks from Wikimedia Phabricator into the GCI site via its API" [19:03:41] if you want to take a look and realize what I didn't understand :D [19:03:46] Feel free to edit. Or ignore. :P [19:03:48] let me take a look :P [19:03:50] Again: Thank you! [19:03:58] And now tell me where to send the money! :D [19:04:43] wow. that is so neat! [19:04:59] (for people here, this money has got nothing to do with the code) [19:05:06] andre__: I will email you! [19:05:07] Liar!!! [19:05:10] thanks :) [19:05:44] heh! [19:06:34] Done! [19:06:41] sweet