/srv/irclogs.ubuntu.com/2012/05/29/#ubuntu-community-team.txt

* mhall119 revokes imbrandon's comedy license00:28
imbrandon:)00:34
cjohnstonheh00:39
mhall119cjohnston: every time you ask me to do summit work, I'm going to picture you asking me with a butterfly on your head00:43
cjohnstonthats fine.. just do some summit work00:44
mhall119it does make it hard to say 'no' to you00:44
cjohnstongood00:44
mhall119also, I *did* do summit work while you were off galavanting on the other side of the world00:45
cjohnstonand I will follow through with my promise00:48
mhall119bring the whole family and we'll make it a party00:49
mhall119or just bring yourself and we'll drink until hacking on render.py seems like a good idea00:49
cjohnstoncan we just leave the 4 little ones with the big one?00:49
mhall119we have a playground00:50
cjohnstontrue00:50
mhall119is the wife having fun over there?00:52
cjohnstonyes00:53
cjohnstonshe is having a great time00:53
cjohnstondont you see the pictures00:53
cjohnstonlol00:53
mhall119I saw a few00:53
mhall119including the above mentioned butterfly00:53
mhall119and fire station00:53
cjohnstonya.. internet isnt great... so getting pictures from here to the world is a little slow00:54
cjohnstonand she has to leave in 5 minutes to go back to the city00:54
mhall119does Linaro run their own conference wifi?00:54
cjohnstonsore subject00:54
=== SaMe is now known as ubuntu-co-bot
czajkowskialoha06:24
cjohnstonafternoon06:25
czajkowskicjohnston: hows the event going?06:30
czajkowskias smmoothly as a uds?06:30
dholbachgood morning06:53
jussio/07:06
=== meetingology` is now known as meetingology
s-foxHello community10:00
* cjohnston is off to spend the evening in the city10:02
s-foxHave fun cjohnston10:02
cjohnstonty10:02
s-foxnw10:03
=== JanC_ is now known as JanC
=== Pendulum_ is now known as Pendulum
s-foxPing technoviking  re: forum registration template :)11:31
=== Guest55695 is now known as Pici
s-foxtechnoviking,  never mind the ping. All sorted11:45
jcastroczajkowski: do you remember the URL to add bug trackers to lp?14:39
s-foxHey jcastro  does askubuntu have an api to query info?14:40
czajkowskijcastro: never done it14:41
jcastros-fox: yeah14:41
czajkowskijcastro: let me find out for you14:42
czajkowskiam getting multiple pings :)14:42
jcastros-fox: http://api.askubuntu.com/14:42
s-foxjcastro,  great. we are looking to integrate askubuntu into the ubuntu accomplishments system.  :)14:42
jcastrolook in /badges probably14:42
s-foxGreat thank you. Reading :)14:43
AlanBelljcastro: https://launchpad.net/bugs/bugtrackers14:44
czajkowskijcastro: https://bugs.launchpad.net/bugs/bugtrackers/+newbugtracker14:44
AlanBellsnap14:44
jcastroBOOYA14:44
jcastrothanks!14:44
czajkowskinp14:44
jcastrohey do we have this IRC meeting today?14:57
dholbachyep, in 3m14:57
jonoalrighty14:59
jonojcastro, dholbach, dpm, mhall119, balloons all set?14:59
dpmyep!14:59
jono:-)14:59
mhall119yup14:59
dholbachyep15:00
jcastrowoo!15:00
jono#startmeeting15:00
meetingologyMeeting started Tue May 29 15:00:32 2012 UTC.  The chair is jono. Information about MeetBot at http://wiki.ubuntu.com/meetingology.15:00
meetingologyAvailable commands: #accept #accepted #action #agree #agreed #chair #commands #endmeeting #endvote #halp #help #idea #info #link #lurk #meetingname #meetingtopic #nick #progress #rejected #replay #restrictlogs #save #startmeeting #subtopic #topic #unchair #undo #unlurk #vote #voters #votesrequired15:00
jonowelcome one and all to the Canonical Community Team meeting!15:00
jono*crowd roars*15:00
jonoprepare yourselves for a cacophony of status updates and exciting tidbits15:01
jonofirst up from the toilet crew is a man we all love...15:01
jono...a man who one day will perform live with some kind of oversized animal head on....15:01
jono...dholbach!15:01
dholbachToilet Crew? Is that a new name you guys agreed on while I was away?15:01
jonolol15:02
dholbachthat's a sh.tty band name :-P15:02
dholbachok ok15:02
dholbach☺ Dev initiatives: held first MOTU meeting in a long time, discussed bug fixing initiative among other things. Wrote meeting minutes, followed up on some actions.15:02
* dpm hugs dholbach15:02
* dholbach hugs dpm back :)15:02
dholbach☺ Sponsoring: did a patch pilot shift.15:02
mhall119it was that or "Hootie and the Blowfish"15:02
dpmouch15:02
dholbachok, nevermind then15:02
dholbach:)15:02
dholbach☺ Dev Infrastructure: Got a new Harvest version deployed, which fixes some API issues. This will make it easier to develop a lens for Harvest.15:02
dholbach☺ CC: CC hangout.15:02
dholbach☺ Apps: had a call with David about qreator packaging and general apps-packaging recommendations. Discussions about Apps Track at UDS. Put together a list of current issues in the apps world. Starting running apps from the ARB queue through pkgme, started a document. Had a call with dpm about improving the review capacity. Had a call with james_w about pkgme in general. Wrote a small patch for pkgme and got it included - woohoo.15:03
dholbachHad a call with mhall119 and dpm to catch up.15:03
dholbach☺ Misc: Investigated missing copyrights on changelogs.u.c. Had a day off and went to http://www.karneval-berlin.de/de/15:03
dholbachDone.15:03
jonoany questions for dholbach?15:03
jonook then!15:04
jononext up...15:04
jono...charming is his middle name...jcastro!15:04
jcastroAWWWW YEAH15:05
jcastro# Jorge's Mega short update15:05
jcastro(Brought to you by Megadeth) - http://www.youtube.com/watch?v=-vkh99bIN_c15:05
jcastroShort week, Memorial Day + a day off15:05
jcastroDONE this week:15:05
jcastro- Implemented patch pilot for the charm store15:05
jcastro- Shipped a bunch of swag to juju folks and Nick's QA heroes.15:05
jcastro- Webinar planning15:05
jcastro- Event planning for juju charm schools at OSCON and stuff, see http://juju.ubuntu.com/Events15:05
jcastro- Blueprints all accepted.15:05
jcastroTODO this week:15:05
jcastro- Creating patch pilot calendar and schedule people.15:06
jcastro- juju in Debian hopefully soonish thanks to Clint15:06
jcastro- Organize WI and other dumb bookkeeping, won't take long.15:06
jcastro- Catch up with IS wrt. forums upgrade15:06
jcastroQuestions!15:06
dpmI've got one15:06
dpmare people at Debian excited about getting juju in there?15:06
s-foxo/ jcastro15:07
dholbachgo go patch pilots!15:07
jcastroit's not anything awesome yet15:07
jcastroit's the client only right now15:07
mhall119but cloud-init is there now15:07
mhall119or about to be15:07
jcastroto get the same kind of awesome juju thing Debian would need cloud-init enabled images, etc.15:07
jcastroright, the pieces are there15:07
jcastrothere's infrastructure work to do15:07
jcastrowe're working on a "this is what debian would need" document15:07
jcastrobut it's a start.15:08
dholbachnice15:08
dpmthanks jcastro15:08
jonoany other questions?15:08
s-foxwhat is the update on the forum upgrade?15:08
jcastrothe last update I got was that the openid plugin is broken15:08
jcastroand they need to OSS it so people can fix it15:08
jcastroit was working before and then it stopped working15:09
s-foxi know it went from broken -> fixed -> broken :-(15:09
jcastroright15:09
mhall119s-fox: welcome to openid15:09
s-foxanyone keep a backup? lol15:09
jcastroI'll know more when I talk to michael15:10
s-foxGreat, thank you for the update.15:10
jonoalrighty15:10
jononext up!15:10
jono...Star Wars XX: Return Of The Quicklist, mhall119!15:11
mhall119now with more Jar Jar Binks15:11
jonowatta ting15:11
mhall119well, on that note...15:11
mhall119Unity Quicklists are now available in Gnome Shell via extension15:12
mhall119so all the work of getting them added and upstreamed last cycle will now benefit folks using GS as well as Unity15:12
dholbachnice :)15:12
mhall119on to the actual list:15:13
mhall119Discussed concerns with the FC about new App Dev forum15:13
mhall119There was one outstanding question at the FC's meeting last week, but I sent them an answer this morning, so we should be all set now15:13
mhall119Finished (mostly) a Juju charm for Summit that was 90% generated from the Django project meta-data15:13
jcastro\o/15:13
mhall119I need to setup an LP project for this code, need a cool name15:14
mhall119Investigated what needs to be done to include pkgme in the app developer process15:14
mhall119discussed with dpm, dholbach and jono what our next steps are15:14
mhall119which led to:15:14
mhall119Started learning how to write a pkgme backend15:14
mhall119Facilitated Ubuntu TV discussions between Canonical and new community contributors15:15
mhall119it's great to see someone from the community actively hacking on the TV project, if anybody sees bobweaver online tell him he's awesome15:15
mhall119and finally...15:16
mhall119Fixing Unity documentation bugs identified during UDS15:16
mhall119so I was able to knock out at least a few work items15:16
mhall119all done, any questions?15:16
dpmnice15:16
dpmIs there any document on how to get started hacking on Ubuntu TV?15:17
mhall119yes, but it's all based on the deprecated unity 2d codebase15:17
mhall119there will need to be new docs for the 3d port, once there is a 3d port in progress15:17
dpmgotcha15:18
jonoalrighty15:18
jononext up...15:18
jono...the bell tolls when you ask the last question...15:18
jono...dpm!15:19
dpmo/15:19
dpmno soundtrack, just raw actions for you15:19
dpmApp developers15:19
dpm• Created a document to assess the current app review process in MyApps and provide a set of improvement proposals to lower the barrier for contribution for reviewers15:19
dpm• Call with mhall119, jono, dholbach about the app review process15:19
dpm• Asked and answered a bunch of questions in Askubuntu to use it and promote its usage (the application-development tag is doing well in terms of questions, but we need to grow the number of subscribers)15:20
dpmI was telling the other guys earlier on, I've found it to be a very useful resource for app devs15:20
dpm• Call with dholbach to better understand some concepts about packaging and got some help with qreator. Thanks!15:21
dpm• Just had another what's-up-in-the-apps-world catch up call with dholbach and mhall11915:21
dpmLots of app developer calls this week :)15:21
dpm• Worked with angeloc on the Quickly Qt template. He's finished it, it's got a few bugs pending, but it's fully functional and available on a PPA - https://launchpad.net/quickly-ubuntu-qt-template here's a demo: http://ubuntuone.com/5Aitbvi3gHqPph9pmjJ1TL15:21
dholbach...we're serious :)15:21
dpmabsolutely, even with dead animal caps on15:21
dpm• Talked again with KenVandine to write the Social Networking integration tutorial. He's started, but the tutorial actually working is blocked on a Gwibber SRU that he is planning to upload today15:22
dpm• Worked on spare time on a branch to fix translations for Quickly apps to work in /opt. mterry merged the fix and prepared an SRU with a bunch of other /opt fixes for the ARB. SRU upload pending on feedback from other Quickly developers to give it a +115:22
dpm 15:22
dpmTranslators15:22
dpm• Translations call - UDS summary, updated Trello board at https://trello.com/board/translations-team/4f621c87861db54230b9ca3915:23
dpm• Updated translations roundtable actions and got blueprint approved15:23
dpmActually, I do have a soundtrack...15:24
dpmTo close the update, here's the Rhythm Junkies for you: http://www.youtube.com/watch?v=G3kRgsgBeaM15:24
dpmcheck out the Hare Krishna cameo near the end of the video15:24
dpmand that was me, questions?15:24
jonoany questions?15:24
jonoalright15:25
jononext up!15:25
jono...pure, unfiltered, quality...balloons!15:26
balloons:-)15:26
balloonsI got nothing.. I mean, I got alot of ideas.. but nothing..15:26
balloonsso in we go15:26
mhall119quality balloons, guaranteed to never break15:26
balloons*Discussed with martin and product strategy teams plans for cycle regarding unity testing15:26
balloons*Had an interview with amber graner about last cycle and my role as qa community coordinator. It even includes a surprise "guest" -- and I do mean surprise ;-) http://www.youtube.com/watch?v=dUEldL5-mIg&list=UU1wVYZ7Md7qNvMnLraQIJeQ&index=33&feature=plpp_video15:27
balloons*Cleaned up ubuntu-testing team and laid out plans for next cycle: http://www.theorangenotebook.com/2012/05/quality-in-quantal-community.html15:28
balloons*Took part in first release team meeting of the cycle :-) This should help ensure us qa community folks are represented and have a voice and insight into what's going on all cycle from all of the teams.15:28
balloons*Prepping for iso-testing Alpha 1, getting emails sent out to folks from last cycle and organizing testers around iso's. Testing begins this week get ready15:28
balloons*Held the first qa community irc meeting for the cycle. They are weds @ 1400 UTC in #ubuntu-meeting, please do come out and attend if possible! Consider this your cordial invitation.15:29
balloons*Made plans to kick off the first of the 'calls for testing' this cycle using the improvements to the qatracker tool (yay!). Instructions for participation should go out today/tomorrow :-)15:29
balloons*%100, actually, no lie, got all my blueprints and work items approved and ready to go for the cycle. (changes likely)15:29
mhall119changes are *always* likely15:30
balloonsohh and let's see.. I got popey'd15:30
* balloons wonders, that was last week right?15:31
mhall119that sounds...painful?15:31
balloonsthat's all from me?15:31
balloonslol.. I can be definitive on this.. That's all from me!15:31
jonoanything else?15:31
mhall119when would be the best time for us to upgrade to Quantal on our main machines in order to help testing?15:31
jonoany questions?15:32
balloonsmhall119, alpha 1 is a good time I think.. Help out with iso testing the iso you would use on your machine..15:32
mhall119ok, cool15:32
balloonsif everything looks good, upgrade :-)15:32
jonoalpha testing kicking off soon! :-)15:32
jonothanks balloons15:33
jonoalright, I will wrap this baby up15:33
jono * Team:15:33
jono  - Finalized remaining elements of 12.10 blueprints - I will blog a summary this week.15:33
jono  - Meetings with each member of the team catching up, post-UDS. Things look synced up now.15:33
jono  - Approving expenses and vacation and other house keeping bits and pieces.15:33
jono * App Developers:15:33
jono  - Continued developing our strategy.15:33
jono  - Asked the team to prepare three reports to start collating together our strategic focus around the ARB, wider developer participation, and packaging.15:33
jono  - Started a weekly call to coordinate this work - app developers is going to be a strong focus in 12.10.15:33
jono  - Coordinating with legal around how we can lower the bar to deliver flash games in Ubuntu, thus opening up Ubuntu to thousands of potential apps.15:33
jono * QA:15:34
jono  - Building plans around three phases of QA: (1) ISO Testing (2) Package Testing, and (3) Experience testing.15:34
jono  - Worked with balloons to start finalizing how we refine (1) and (3), with 12.10 kernel on 12.04 as a primary focus for (3).15:34
jono * Travel:15:34
jono  - Still working on finalized UDS date/venue confirmation. Sorry, folks, I am waiting on the events team.15:34
jono  - Coordinating travel to OSCON and other events.15:34
jono * Ubuntu Accomplishments:15:34
jono  - Worked on the preferences dialog, auto-start of the daemon on login, better docs, and hiding U1 bubbles.15:34
jono  - We are now feature-complete for 0.2 which is released in a few weeks.15:34
jono  - Wrote up a spec for the Ubuntu Accomplishments Web Gallery project - see it at https://wiki.ubuntu.com/Accomplishments/Specs/WebGallery - we need Django developers, so if you want to help, let us know!15:34
jonothis was a shorter week due to a holiday, so a little less from me15:35
jonoany questions?15:35
jonoalrighty15:35
jonolets wrap it15:35
jonothanks, everyone!15:35
jono#endmeeting15:36
jcastro\o/15:36
=== meetingology changed the topic of #ubuntu-community-team to: Work Items: http://status.ubuntu.com/ubuntu-precise/canonical-community.html || Don't forget to "flesh them out a little bit" || Community Trello: http://goo.gl/n4or5 (experiment) || Things to work on (in order): work items || dpm's channel: http://goo.gl/o2IR5
meetingologyMeeting ended Tue May 29 15:36:00 2012 UTC.15:36
meetingologyMinutes (wiki):        http://ubottu.com/meetingology/logs/ubuntu-community-team/2012/ubuntu-community-team.2012-05-29-15.00.moin.txt15:36
meetingologyMinutes (html):        http://ubottu.com/meetingology/logs/ubuntu-community-team/2012/ubuntu-community-team.2012-05-29-15.00.html15:36
dholbach:)15:36
balloonshurray!15:36
bkerensa:-p15:37
jonojcastro, hey15:38
jonowhat kind of credentials does AskUbuntu take to log in?15:38
jonoemail/pass?15:38
jonoI don't remember15:38
jcastrojono: openid15:38
jonojcastro, interesting15:38
jcastrojono: there's a launchpad button15:38
jcastrojust click it15:38
jonoso s-fox mentioned that there is an API for it15:38
jonoI would like to explore getting AskUbuntu badges into Ubuntu Accomplishments15:39
jcastroyeah15:39
jcastrohttp://api.askubuntu.com/1.1/usage/methods/badge-recipients15:39
jonobut I assume that we would need to store the users openid URL and password15:39
jcastronot sure, marcoceppi? ^^^15:39
jonoso we need a means of encrypting the password over to the validation server15:40
mhall119jono: I think you are supposed to have the user complete the SSO login, then store their openid identity url15:40
marcoceppijono: users email address are md5 hashes, so you could possibly look up a user in the API if they provide you with their email15:40
jonomarcoceppi, can I look up any user in the API using the md5 hash?15:41
marcoceppijono: yes15:41
jonomarcoceppi, ahhh, and can we get the hash locally/15:41
mhall119shouldn't accomplishments use only public/anonymous APIs?15:41
jonomhall119, this API sounds public15:41
marcoceppijono: Ask Ubuntu also has OAuth15:41
mhall119otherwise the remote validation would have to also have your user credentials15:41
jonomhall119, right, I am wondering if we could do this15:42
mhall119jono: I meant public data, sorry, things that you can read without having to authenticate15:42
jonoprovide a means of encrypting passwords15:42
mhall119like the LTP api15:42
jonomhall119, but it sounds like marcoceppi is saying you can look up any user from the API15:42
jonoso I could look up jcastro if I wanted to15:42
mhall119yeah, if you can do that without authenticating, that should work fine15:43
marcoceppimhall119 jono the basic Ask Ubuntu is open, there's a number of criteria anyone can look up at anytime.15:43
marcoceppiAsk Ubuntu API*15:43
jcastroright, the badges are already public15:43
jonomarcoceppi, so if I wanted to look up any user, could I find their list of badges?15:43
jonojcastro, are there also a list of pre-defined badges on AskUbuntu15:44
jcastroyep15:44
jcastrohttp://api.askubuntu.com/1.1/usage/methods/user-badges15:44
jcastrotry it15:44
marcoceppijono: yes, the user object returns a user's ID, which will allow you get badges: http://api.askubuntu.com/1.1//users/41/badges15:44
jcastroput in my user # there, 23515:44
jonojcastro, that doesnt help15:44
jcastrohttp://api.askubuntu.com/1.1/users/235/badges15:45
popeyhey jcastro look what I found! http://popey.com/~alan/jorge_bird.jpg15:45
jonojcastro, I mean is there a set list of badges that are then awarded to users15:45
jcastroyou wanted to see all my badges right?15:45
jcastrooh, yeah15:45
jcastrohttp://api.askubuntu.com/1.1/badges15:45
jcastropopey: hah, awesome15:45
jonocool that is what I needed, jcastro15:46
jcastrohttp://api.askubuntu.com/1.0/usage15:46
jcastrohas them listed15:46
jcastroI just clicked on them and then there's a button15:46
jonomarcoceppi, ok, so how would I look up a particular users ID - what credentials would I need to ask them for?15:46
jonocan I look it up based on email address?15:46
marcoceppijono: you don't need any creds to access the API unless you're going to be doing more than 250 requests an hour, then you need to sign up for a free API key15:47
marcoceppijono: you can search "email_hash" which is an md5 hash of the user's email15:47
bkerensajono: you still short on sponsors for cls?15:47
* marcoceppi works on a quick example15:47
jonobkerensa, yep15:47
jonomarcoceppi, is that requests from a particular user?15:47
jonoor IP?15:47
marcoceppiIP15:47
jonomarcoceppi, if you could write an example script, that would be handy15:48
jonomarcoceppi, ideally the script will only take an email address in plain text as the auth info15:48
jonoI can work with that15:48
jonobkerensa, do you have someone who can help?15:49
marcoceppijono: I can give you the URL endpoint, I'm not too good with python, so if you can make it take a name and convert that name to an md5 hash, you'd just plug it in to the end point and consume the JSON output15:49
jonomarcoceppi, when you say name, do you mean email address?15:49
bkerensajono: well... how about Oracle or have you talked to Ross Turk?15:50
jonobkerensa, I tried Oracle15:50
marcoceppijono: sorry, yes, email not name15:50
bkerensa=/15:50
bkerensaahh15:50
jonohaven't talked to Ross15:50
jonomight hit him up15:50
bkerensahe might have some ideas if he isnt interested15:50
jonobkerensa, that would be great15:50
jonobkerensa, I wanted to talk to you anyway about promo in Portland15:50
jonobkerensa, can we hop on a G+ later?15:50
bkerensajono: sounds good ping me15:51
jonomarcoceppi, cool, I have never used MD5 hashing from Python, but should be simple15:51
dpmmhall119, btw, I finally got to install Gimp 2.8 from the PPA, I'm loving the single window UI :)15:52
jcastroit's learning tuesday!15:52
jono>>> import md515:52
jono>>> m = md5.new()15:52
jono>>> m.update("jono@ubuntu.com")15:52
jono>>> m.digest()15:52
jonoeasy :-)15:52
* jono loves Python15:53
mhall119dpm: press alt in the single-window UI15:55
jonomhall119, btw,15:55
mhall119it'll change the way you use Gimp forever15:55
dpm:-)15:55
jonoany chance you could have the accoms you committed to done this week?15:55
dpmhud ftw!15:55
jonoI want to get them into the 0.2 release15:55
mhall119which did I committ to again?  Global events and event organizer?15:56
jonomhall119, https://blueprints.launchpad.net/ubuntu/+spec/community-q-growing-ubuntu-community-accomplishments15:56
mhall119jono: no series goal set for that one, no wonder it's not on my status.u.c list15:57
jonomhall119, oops15:58
jonomhall119, done15:59
* bkerensa got CLS up on Calagator16:05
dpmok, calling it a day, but lingering for a bit here...16:09
jcastrodholbach: there?16:10
dholbachjcastro, in a meeting - what's up?16:10
jcastronm, I got it16:11
jcastrojust messing with the pilot thing16:11
dholbachok16:11
mhall119jono: question about [mhall119] write accomplishment for Approved LoCo Team Member: TODO16:14
mhall119that is something that may be true at one point, but false at a later point in time16:15
bkerensaTIL that the Debian way is usually better than the Ubuntu way when it comes to packaging (Our Development Wikis are so out of order :P)16:15
dpmbkerensa, you should be looking at http://developer.ubuntu.com/packaging instead of the wiki ;-)16:20
bkerensadpm: that guide does not cover updating debian packages from new source tarballs from upstream16:25
bkerensa;)16:25
dpmbkerensa, now there's an opportunity for you to write a new chapter ;-)16:31
dpmdholbach, I hear Ben volunteering :) ^^16:32
dholbach:-))16:33
bkerensadholbach: you should ping slangasek since he was the one who said wiki.ubuntu.com/PackagingGuide/Recipes/PackageUpdate was incorrect16:33
bkerensa;)16:33
bkerensahe is more qualified than me to write such doc16:33
dholbachyes, that's part of the docs we want to replace16:34
dholbachhttp://developer.ubuntu.com/packaging is maintained, the wiki isn't16:34
bkerensadholbach: ^ seems more catered to upstream developers trying to get their apps into Ubuntu versus Community Contributors who want to hack on packages (Update/Packae/etc)16:35
dholbachbkerensa, not really :)16:36
dholbachor at least if you have a look at the guide itself16:36
dholbachthis page is more like an introduction, so we can embed it in the more general developer.u.c16:36
bkerensaah16:37
dholbachok, I see what you mean16:37
s-foxjcastro,  any plans for askubuntu to move to a newer version of the api? You guys seem to be running v1.016:40
jcastrono clue, marcoceppi? ^^16:40
marcoceppis-fox: All stack exchange sites run api versions 1.0, 1.1, and 2.016:41
marcoceppi2.0 isn't a site specific API endpoint, so api.stackexchange.com/2.0?site=askubuntu will search the AU endpoint16:42
s-foxahhh16:42
s-foxI see, thanks marcoceppi :)16:42
mhall119jono: can I have multiple accomplishment dependencies now?16:42
marcoceppino problem!16:42
s-foxAll sorted now marcoceppi , thanks again16:43
marcoceppiThe 2.0 api is super powerful from what I've seen16:45
s-foxATM our needs are simple, the main thing we wanted was an api key as we may be making several requests without one could be seen as abusive marcoceppi  :)16:47
jcastrowill it be a 1:1 mapping from accomplishments to badges?16:48
marcoceppis-fox: yeah, an API key will get you 10,000 requests a day I believe16:48
s-foxjcastro,  i really don't know yet. I suppose start with some basics and work  upwards. Of course help would be awesome16:49
s-foxthe accomplishments system is all about firsts, so perhaps not all badges would be appropriate16:49
s-foxlike if you had one for X gold answers for example16:49
s-fox^ jcastro16:51
s-foxmarcoceppi,  i bet that would be okay for now :)16:51
s-foxwe don't want to DOS the api, lol16:51
mhall119cprofitt: ping16:52
marcoceppis-fox: the API is heavily cached, the throttle point is 30 req/s from an IP. At that point API starts dropping your connections. It also has a back_off field in the response wrapper that, when present, will give you the amount of seconds your app needs to wait before it makes another request to that specific endpoint16:53
marcoceppiso it'll try to work with you regarding rate limiting16:53
s-foxthanks for the info marcoceppi16:54
jonomhall119, yes, you can have multiple depends16:54
mhall119how does one do that?16:54
jonomhall119, so this is new in the 0.2 version16:55
jonojust seperate with commans16:55
jonocommas16:55
jonoe.g:16:55
jonodepends = ubuntu-community-registered-on-launchpad, ubuntu-community/foo-bar16:56
mhall119cool, thanks16:56
jonomarcoceppi, did you manage to put together a script?16:57
jonothanks mhall11916:57
jonomhall119, is cprofitt going to write the docs?16:57
mhall119jono: according to the blueprint he is16:58
jonocprofitt, can you help write the docs this week for the accomplishments?16:58
mhall119cprofitt: scripts in question are located at https://code.launchpad.net/~mhall119/ubuntu-community-accomplishments/loco-portal-events-accomplishments16:59
dholbachalright my friends - I call it a day - see you all tomorrow17:00
marcoceppijono: unfortunately they seem to have removed the ability to filter users by email_hash so I'm just writing a quick web service that'll do that17:00
jonomarcoceppi, oh wow17:00
jonolaters dholbach!17:00
dholbachbye jono17:02
s-foxSee you guys17:09
jcastro<-- caffeine refill brb17:54
jcastroI AM JORGE, CRUSHER OF WORK ITEMS18:39
balloonsjcastro, is that anyone's work items? or just yours?18:44
jcastromine of course18:45
jcastro:)18:45
jcastrotechnoviking: where do we file new theme bugs?18:54
jcastroplease don't say that huge megathread. :)18:54
snap-lWho does this jono guy think he is, updating his Art of Community?19:02
snap-l(actually, congrats. Just got the e-mail from O'Reilly that I can upgrade to the new book)19:03
* nhandler never received his copy of the Art of Community :(19:03
mhall119nhandler: just download the ebook from the internet19:06
nhandlermhall119: I've done that. But I was also meant to receive a free hard copy of the original book when it came out (contest). Oh, well19:07
jonosnap-l, thanks!19:09
jononhandler, you didnt get one?19:09
jonoO'Reilly should have sent them out19:09
jononhandler, email me your address I will make sure they get one in the post19:09
jonosnap-l, would you mind writing an Amazon review of the second edition?19:09
snap-ljono: As soon as I get a copy, sure.19:09
jonohttp://www.amazon.com/The-Art-Community-Building-Participation/dp/1449312063/ref=dp_ob_title_bk19:09
jonosnap-l, thanks!19:10
nhandlerjono: You rock!19:10
jonosorry nhandler19:11
technovikingneed to check out 2nd edition.19:12
nhandlerjono: Don't worry about it (you aren't the one mailing them out after all). I was at least able to enjoy reading the online version, but the hard copy will be a great addition to the collection (I can even share it with some of the ACM Members at school)19:12
balloonsupgrades! sheesh!19:54
marcoceppijono: Sorry it took so long to get back to you, today was busier than I expected. You can fetch users by email using this: http://hostmar.co/au/?method=email&search=jorge@ubuntu.com or http://hostmar.co/au/?method=hash&search=d4f7d15de2abdec49cacaac7d14f00fc the `id` field returned is the users actual ID on Ask Ubuntu to you can make further calls like http://api.askubuntu.com/1.1/users/41/badges20:07
marcoceppietc20:07
popeymhall119: ooi what triggered the "hackers gotta eat" ?20:07
marcoceppiThe database is incremented every 20 mins, and every two hours all the records are refreshed20:07
jonomarcoceppi, hmmm so this would depend on us calling your service?20:08
marcoceppijono: I can GPLv3 the code so you can host it yourself if you'd like20:08
marcoceppiit writes everything to a sqlite3 database20:08
jonomarcoceppi, is there no way for us to query the API directly?20:08
jonoI am just concious of maintaining another service for the forseeable future20:09
marcoceppijono: they removed that feature for fear of privacy abuse20:09
jonomarcoceppi, so how do you populate your DB?20:09
mhall119popey: trollbert trollington III didn't like the idea of Bryan Lunduke open sourcing his software in exchange for monthly living expenses20:09
popeyahhh20:09
mhall119also, Trollbert Trollington the Third is what I will hear in my head everytime I see his name20:10
jonopopey, arsehole20:10
jono:-)20:10
mhall119it makes the conversation much more entertaining20:10
marcoceppijono: It currently queries the entire /users API endpoint, for the name, user_id, and profile_image (which is a link to gravatar) gravatar uses md5 hashes of emails to identify users. So parses that URL and caches it in a sqlite database20:10
popeyhaha20:11
balloonswow.. seems quite odd20:11
popeymy browser remembers that picture :D20:11
jonomarcoceppi, gotcha, so there is no way to query based on a hashed email address?20:11
marcoceppijono: nope, I poked one of the devs about it, and that was removed because laywers got nervous20:12
jonothanks marcoceppi for looking into this20:12
jonomarcoceppi, so ideally, I would prefer if someone involved in AskUbuntu maintained this database20:12
jonoand someone maintained the accomplishments too20:12
jonomarcoceppi, would you be happy to maintain the service?20:13
jonoand we can find someone to produce the accomplishments?20:13
jonoI could write a sample accomplishment and they can be replicated20:13
mhall119marcoceppi: correct me if I'm wrong, but all you need is the user id, correct?20:13
marcoceppijono: I wouldn't mind maintaining the service, what would be involved with accomplishment maintenance?20:13
marcoceppimhall119: that's correct20:13
jonomarcoceppi, not a lot in terms of accom maintenance, they just need writing20:13
mhall119marcoceppi: jono: then why not just ask the user for their id (or profile URL, which contains their id and username)?20:13
jonomarcoceppi, so can you expose all badges that a user has?20:14
jonomhall119, that is what I was thinking20:14
jonobut it sounds like I cant query their API directly with the username20:14
marcoceppimhall119: honesty? There is OAuth now in API 2.0 - if you wanted to make it more complex20:14
marcoceppijono: you can query for username20:14
jonomarcoceppi, oh20:14
jonomarcoceppi, so we cant definitely take someone's username20:15
jonoand then use that to query their API20:15
mhall119if the Accomplishment Viewer prompts me to enter my profile URL, and I give it http://askubuntu.com/users/4997/mhall119, that has all the information you need, doesn't it?20:15
marcoceppimhall119: yes, but what's to stop you from putting in http://askubuntu.com/users/41/marco-ceppi ?20:15
marcoceppiI guess it's a matter of how accurate you want to be20:16
mhall119marcoceppi: nothing, the same that stops me from putting someone else's launchpad email address in20:16
jonomarcoceppi, you can add others peoples usernames in Ubuntu Accomplioshments20:16
jonowhich is fine20:16
mhall119if I tell the accomplishments system that I'm Jono, it's going to give me all the trophies that Jono earns20:16
marcoceppimhall119: wasn't sure the scope of data integrity20:16
jonowe show these credentials when people share their trophies20:16
jonoso people would look stupid20:16
jonoif they use another ID20:16
marcoceppiah, then entering the URL would be easy20:16
mhall119marcoceppi: yeah, you could maybe fool your friends into thinking you have more trophies than you deserve20:17
mhall119but that's about it20:17
jonocan't we just ask for the username instead of the URL?20:17
marcoceppithe user_id is the # between /users/ and /marco-ceppi20:17
marcoceppijono: you could, but there's no uniqueness in usernames20:17
mhall119on the server, it's going to say "Jono earned this", regardless of whether it originated from Jono or from me20:17
jonocan we get the user id from the API?20:17
jonoahhh20:17
jonoadding the URL will be fine20:17
mhall119jono: URL would be easy enough, I think, since the user can just copy/paste it20:17
mhall119then you can parse it for id and username20:18
jonocould one of you guys write a sample script that returns all the badges from a user?20:18
jonoI will then write a sample accomplishment and we can go from there20:18
jonomhall119, agreed20:18
mhall119marcoceppi: can you do that ^^ since you're familiar with the API?20:18
jonomarcoceppi, sorry for the misunderstanding20:18
jonoandyour time spent building the DB20:18
marcoceppijono: no problem20:20
jonomarcoceppi, thanks!20:20
jonoonce I have a sample bit of code I can go from there20:20
jonoand get the accomplishments populated20:20
jcastromarcoceppi: idea.20:21
jcastrorun that thing in the juju charm when we charm the accomplishment server?20:21
jcastrobasically, just shove it in the charm along with the other stuff20:21
jonojcastro, we don't need that thing now20:21
jcastroI'm willing to bet this won't be the first thing that needs a shim server to do stuff.20:22
jonojcastro, we can speak to the API directly now :-)20:22
jcastroright20:22
jcastroI am just thinking long term20:22
jonojcastro, well, long term, accessing their API directly makes more sense20:23
jonoI would prefer not to rely on small proxies of data where possible as people get busy20:23
jonoso this should work pretty well20:23
jonomhall119, have you consumed JSON from a web service in Python?20:24
mhall119jono: yeah, the LTP accomplishments do that20:27
jonomhall119, is this how you talk to the LTP in the attend loco event accom?20:29
mhall119jono: btw, there's a lot of copy/paste code in my LTP accomplishments, specifically around creating URLs for the API and consuming the json returned, can I move that somewhere reusable in the accomplishments system?20:29
mhall119jono: yes20:29
marcoceppijono: Are you using py2.7 or 3?20:29
mhall119jono: it's wrapped in the LocoTeamPortal class, but that's really all it does20:30
jonomarcoceppi, 2.7 right now, but we will need to port to 3 in 12.1020:30
jonothanks mhall11920:30
jonodo the badges at http://stackoverflow.com/badges apply to everyone?20:32
jonoto all stack overflow sites...I mean20:32
mhall119jono: is the /scripts/ directory in PYTHONPATH when the accomplishments checks are run?20:33
jonomhall119, the location of the accomplishments dir is specified in .config/accomplishments/.accomplishments20:34
mhall119jono: I'm thinking of somewhere I can put reusable code20:35
mhall119library code20:35
jonomhall119, hmmm good question20:35
mhall119for example, all my LTP accomplishments have a copy of the LocoTeamPortal class, when ideally it would be in only one place that I can import from20:35
jonowe don't have a concept of re-usable code right now20:35
jonomhall119, we could create a lib dir in scripts I guess20:36
mhall119that would work20:36
mhall119though the scripts would then need a way to get a full or relative path to that dir20:36
mhall119so it can be added to sys.path20:36
jonomhall119, hmmm20:37
jonomhall119, for now, just duplicate the code20:37
jonowe will fix this in 0.320:37
jonoactually no20:38
jonowe should fix this in 0.220:38
jonomhall119, can you file a bug about this against ubuntu-accomplishments-daemon20:38
jonojcastro, hey20:40
jonook, so it looks like we might have the scripting side of AskUbuntu badges figured out20:41
jonobut we need some folks to write all the .accomplishment files and the documentation20:41
jonojcastro, who do you think can help?20:41
jcastro.accomplishments are python right?20:41
jcastromaybe george edison20:42
jcastrolemme ping him20:42
jonojcastro, no accomplishments are just text files20:42
MrChrisDruifGood UGT morning everyone20:42
jonobut they need to be detailed documentation of how to accomplish that badge20:42
jonojcastro, I want to set up a branch with all the .accomplishments files and have someone flesh out the info out20:43
jcastrosec, looking20:43
jonothanks jcastro20:43
jcastrooh that, that looks easy20:43
MrChrisDruifubuntu accomplishments is not yet available in the repos?20:43
jcastrowhat's your timeline?20:43
jcastrofor .2?20:43
jonojcastro, lets try for 0.220:45
jonoI think it would be cool addition20:45
jonobut most of the work would need to happen this week20:45
jcastrough, you're killing me bro20:45
jcastrook20:45
jcastro:)20:45
jonojcastro, why? you are not doing the work, right :-)20:45
jonoI am not sure if pestering someone else to do the work is that hard lol20:46
jonoI am the one who needs to review all the scripts and docs ;-)20:46
jcastrono, it's just I usually bother them for my own devious plans20:46
jonoheh20:46
jcastrook got 220:48
jcastrohmm, if these drives don't show up today I might do it20:48
jcastrojono: is it one .accomplishment file per badge?20:49
jonojcastro, so I am going to create a branch with all the files set up20:49
jonojcastro, yep20:49
jcastrook20:49
jcastroping me when you have the branch20:49
jcastroI only need like one example one20:49
jonoand then I will push it and people can do the work there20:49
jcastroheck yeah20:49
marcoceppijono: My python fails me20:50
marcoceppiI'm not sure how to parse the json feed20:50
marcoceppijono: this is what I came up with though, except it doesn't work, so not sure how much help this will be: http://paste.ubuntu.com/1013700/20:51
marcoceppijust replacing the the user id in the query URL (41). the JSON that comes back has a list of "badges" which says it's weight, number of times awarded, and when awarded20:52
mhall119jono: http://bazaar.launchpad.net/~mhall119/ubuntu-community-accomplishments/loco-portal-events-accomplishments/revision/14321:00
mhall119I made a ./lib/ directory in scripts/ubuntu-community/, and then  I'm adding that from each of my LTP accomplishment scripts21:01
jcastrojono: what's the lp address for AU accomplishments?21:01
jcastrolike, what would a person need to branch?21:01
mhall119jcastro: for the code that runs the scripts, or for the accomplishment scripts themselves?21:02
jcastrothe .accomplishment files21:02
mhall119lp:ubuntu-community-accomplishments for the community accomplishments21:02
jcastrook21:05
jcastroand for these they'd be under "support"21:05
jonojcastro, I am creating the branch now21:05
jcastrok21:05
jonojcastro, there are loads of badges so it is taking me a while to set it up :-)21:05
jcastro73 iirc21:06
jcastroyeah so much for the "oh I'll bust it out tonight"21:06
jonoindeed21:06
jcastroit'll be fine though21:06
jonowe will need to divide and conquer on this one21:06
jonobut it will be awesome21:06
* jcastro nods21:06
jcastrohttp://meta.askubuntu.com/questions/3282/lets-integrate-ask-ubuntu-badges-with-the-operating-system21:06
jcastrois what I am working on21:06
jcastroI'll just wait for your branch, work on one, and document21:06
jcastrothen people can just branch and ROCK.21:07
jcastromarcoceppi: are we doing tag badges?21:07
marcoceppijcastro: probably shouldn't?21:08
jcastroI agree21:08
jcastromarcoceppi: is there a way to find out if a person gets a tag badge?21:08
marcoceppijcastro: yup21:08
jcastrowe'd only need to figure out "your first tag badge"21:08
marcoceppiadding it to the example script for jono21:08
jcastroperfect,21:08
jcastroawesome.21:08
jcastrotag badges are hard, people will dig that one21:10
mhall119marcoceppi: jono: See my link above for an example of how to add reusable python code for the AskUbuntu accomplishments, without needing a change to the Accomplishments code itself21:11
jcastrohmm ok, so since ubuntu accomplishments are "experience" based at most you'd get 73 per person21:12
marcoceppijono: here's a working example http://paste.ubuntu.com/1013750/21:14
marcoceppiIt appears Stack Exchange gzips their data stream, so that threw me off21:15
mhall119even if you don't send the http headers telling it that's ok?21:15
marcoceppiguess not21:16
mhall119that's very presumptuous of them21:16
jonothanks marcoceppi, will check in one sec21:17
jonojust finishing up this branch21:17
mhall119popey: dude!21:18
popey?21:18
popeytoo much?21:18
mhall119your reply to our friend Mr. von Trollington21:18
mhall119popey: too awesome21:19
popeyhaha, thanks21:19
mhall119that opening line, it was a thing of beauty21:19
popeyheheh21:19
MrChrisDruifDid I miss something? O_O21:20
mhall119MrChrisDruif: do you follow me on G+?21:20
MrChrisDruifI think I do21:20
mhall119MrChrisDruif: https://plus.google.com/u/0/109919666334513536939/posts/1vyrMGBfPmo21:20
jonoalright, that was the most boring 15 minutes of my life21:22
jonobut the branch is nearly set up21:22
jonojust going to create a single good .accomplishment example, and then you guys can rock with it21:23
jcastrorock21:27
jonojcastro, marcoceppi, mhall119 https://code.launchpad.net/~jonobacon/ubuntu-community-accomplishments/askubuntu-accomplishments21:29
marcoceppi\m/21:29
jonomarcoceppi, so the code is not in there yet21:29
jonojcastro, ok, so your mission...21:29
jonoinside that branch there is accomplishments/ubuntu-community/en/support/21:29
jonothere are a bunch of askubuntu files21:30
jonoeach one of these needs good quality documentation21:30
jonomore information is at https://wiki.ubuntu.com/Accomplishments/Creating/Guide/AccomplishmentFile21:30
jcastrook21:30
jcastrooh nice21:30
jonosubmit merge proposals for my branch21:30
jcastroyou made a template for each one21:30
jonoand then when the docs look good I can merge it in21:30
jonojcastro, indeed21:30
jonoso quick question - can you lose badges?21:31
jcastrono21:31
jonoI want to make sure we have testcases for each of these21:31
marcoceppiunless SE removes the badge from the site, which they've only done 1 or two times21:31
jonojcastro, ok, so can you rock on getting the docs in place from this?21:31
jcastroon it21:31
jonomarcoceppi, looking at your code now21:31
jonothanks jcastro21:31
jcastroI['m going to do one or two to get the process down as I document it21:32
jonojcastro, the only fields that need content adding to are summary, steps, tips, pitfalls, help, and links21:32
jonoignore the rest, I sorted them out21:32
jcastrook, and maintainer right?21:32
jonomarcoceppi, wow, their API is *FAST*21:33
jonojcastro, the person who writes the docs should change the maintainer field to their name and email21:33
jcastroright21:33
jonoahh so the badges are color coded too21:34
jonocool, we can have different colored icons for this :-)21:34
jonoI will sort that out too21:34
jonogotta run for a meeting brb21:34
jonothanks marcoceppi, jcastro, mhall119!21:34
marcoceppijcastro: we should have the gold depend on the silver badge, and the silver depend on the bronze badge for badge sets21:35
marcoceppiso people can trace what they need to do to get each badge21:35
jcastroindeed21:35
jcastroafter or do it now?21:35
marcoceppiwhenever, just make sure whomever is working on that badge puts that in there21:35
jcastrok, let me finish up the meta21:35
marcoceppikk21:35
jcastroshould `links` in the accomplishment point to just aksubuntu.com or the badge page?21:37
jonomarcoceppi, good idea about depends21:38
jonostill have two mins before this call21:39
jonojcastro, links should be anything relavent21:39
marcoceppiI'll work on a few tonight when I get home. I'm confused about where the JSON comes in21:39
jonoI suspect just askubuntu.com should be fine21:39
jcastrook21:39
jonomarcoceppi, thanks for the code, I suspect this is enough for me to be able to write almost all of the scripts21:39
jonoso when someone gets a badge, it cant be taken away for inactivity, right?21:39
marcoceppijono: correct21:40
marcoceppiThe only time a badge disappears is when SE removes it from the system. More often then not though they add badges21:40
jonomarcoceppi, cool, so for each accomplishment we are going to need a username that has the badge and one that doesnt21:40
jonomarcoceppi, thats fine21:40
marcoceppiThe badges each have a unique numerical value assigned to them (badge_id) if you need to track each badge individually (badges *may* be renamed)21:41
jonomarcoceppi, cool21:42
jonomarcoceppi, if it is ok with you, I will write one working accomplishment and then check that it is correct with you21:42
marcoceppijono: sounds good to me21:42
jonothanks!21:43
jonook, back soon!21:43
technovikingok forums should show the Ubuntu font even if it not installed locallly21:43
MrChrisDruifUsing google's webfonts something like that technoviking ?21:44
* marcoceppi is traveling home. Will be back in a bit21:44
technovikingMrChrisDruif: yup21:44
MrChrisDruifLike so "<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold,bolditalic">21:45
MrChrisDruif"21:45
technovikingand mostlly fixed IE rendering21:45
MrChrisDruifI used it on my own webpage21:45
MrChrisDruifThey added the ubuntu font very quickly I must say21:45
technovikingnope, http://paste.ubuntu.com/1013797/ to the base css in Vbulletin21:46
MrChrisDruifAh, k21:47
jcastrojono: yearling accomplishment incoming21:49
marcoceppijcastro: what should we do for "help" in the accomplishment file?21:51
jcastroleaving it is fine I think21:52
marcoceppik21:52
jcastroah nuts21:53
jcastrohe didn't put the space in AskUbuntu21:53
jcastroso we'll have to fix that21:53
jcastrook, yearling done and submitted!21:54
jonothanks jcastro22:53
jcastrook I think I messed that up22:53
jcastrobzr push lp:~jorge/ubuntu-community-accomplishments/askubuntu-accomplishments/yearling-badge22:53
jcastroright?22:53
jcastrobecause I submitted to lp:~jorge/ubuntu-community-accomplishments/yearling-badge and that diff look way wrong22:54
jonojcastro, hmmm, I think so, but then you propose it for merging into my askubuntu-accomplishments branch22:54
jcastrooh22:54
jcastrothat's where I messed up then22:54
jcastrolet me check22:54
jonomarcoceppi, still around?22:55
jonojcastro, oh hang on22:56
jonocan each badge have multiple colors?22:56
jcastrono22:56
jonook cool22:56
jonophew :-)22:56
jcastroa badge is either bronze, silver, or gold22:56
jonoawesome22:56
jonoand do badges depend on other badges?22:56
jcastrono, but you get certain badges on the way to other ones22:57
jcastrohmm, so yeah, I guess22:57
jonook cool22:57
jcastroaha!22:57
jcastrook22:57
jcastronow check out my MP22:57
jcastrothis one should be right22:57
jcastroit defaults to proposing to trunk22:58
jcastronot your accomplishments branch22:58
jonoit should not propose to trunk, but to my branch22:58
jonoI want to get it all working in my branch before we merge into trunk22:58
jcastroright22:58
jcastrook can you doublecheck my commands then?22:58
jcastrohttp://meta.askubuntu.com/questions/3282/lets-integrate-ask-ubuntu-badges-with-the-operating-system22:58
jonoso when you propose it22:59
jonoyou can propose it for merging into lp:~jonobacon/ubuntu-community-accomplishments/askubuntu-accomplishments23:00
jcastropaste in lp:~jonobacon/ubuntu-community-accomplishments/askubuntu-accomplishments23:00
jcastroright23:00
jonowhat is a tag badge?23:00
jcastroif you get votes for a tag23:01
jcastroso like "unity" if you get a bunch of votes in the unity tag, etc.23:01
jcastrohttp://askubuntu.com/badges?tab=tags23:01
jcastrobut we shouldn't count those individually23:01
jcastroso marco made it so you get an accomplishment if you get one of these23:02
jcastrojono: hey so George thinks he can script the whole thing23:03
jcastrohe's saying 80-80% done already23:03
jcastroerrr, 70-80% done23:03
jcastroso I'm standing by to see what he says23:03
jonojcastro, script what?23:05
jcastrothe entire thing23:05
jonowhat entire thing?23:05
jcastrogenerating the accomplishments files23:05
jonohe might be able to add the badge titles and single descriptions, but I will need the steps and summaries adding23:05
jcastronod23:05
jonoso he can probably get the title and description fields done23:06
jonowhich is awesome23:06
jcastroyep23:06
jonoand then the manual work can be the summary, steps, tips, and pitfalls23:06
jononice!23:06
jcastrobasically just a step #2 to what you did23:06
jcastroright23:06
jcastrooh23:06
jonoI nearly have the script working23:06
jcastroyou didn't mention pitfalls in the initial example btw23:06
jonono?23:07
jonooh we will want to add those23:07
jonocan you ask george to script adding those fields?23:07
jcastroyeah one sec23:07
jonook, so jcastro, the big list of badges I added,those are none tag badges, right?23:08
jcastroright23:08
jcastrothose are the ones you want23:08
jonocool23:08
jcastrois tips and pitfalls a requirement or a bonus?23:09
jcastrosome of these are vague on purpose23:09
jcastroor they're so simple the description and/or title are the steps23:10
jonotips and pitfalls are not requirements23:11
jonofor a first cut we don't need them23:11
jonojcastro, any idea where I can find a list of all badges and their badge_id numbers?23:12
jcastrohttp://api.askubuntu.com/1.1/usage/methods/badges23:12
jcastrolook for badge_id23:12
jcastrohttp://api.askubuntu.com/1.1/badges actually23:13
jcastrosorry23:13
jcastrohmm, that includes tag_based23:13
jcastroso I would hit that then look for  "tag_based": false23:14
bkerensajono: making great progress on CLS marketing :P got two local VIP's coming23:17
jonobkerensa, oh nice!23:18
jcastrodon't forget folks23:20
jcastroit's taco tuesday!23:20
marcoceppijono: I'm back23:20
* bkerensa needs to lay off spicy food for awhile... I have been using Sriracha and other hot sauces on nearly everything and last night it went bad23:21
bkerensa>.<23:21
jonomarcoceppi, cool, want to show you something in one sec23:21
marcoceppikk23:21
jcastroI'm confused about the forums accomplishment23:23
jcastro"ubuntu forums ubuntu member" is the same as "approved ubuntu member"23:23
jrgiffordhowdy george_e.23:24
george_eHi.23:24
jcastrojono: meet, george_e, george_e, meet jono23:24
george_ejono: Hello.23:25
pleia2if it's talking about ubuntu members via the forums https://launchpad.net/~ubuntu-forum-members is probably the team that should be used for forums members23:25
jcastroright, but the achievement is the same23:25
jcastroyou become an ubuntu member23:25
pleia2yeah, but it only works in that direction23:26
pleia2you can be an ubuntu member but not be a forums member23:26
george_eI've got the second revision of my script here: http://dpaste.com/hold/753175/23:27
jcastrogeorge_e: oh, we don't want tag badges right now either23:27
jcastrodunno if you check for that23:27
george_eI did.23:27
jcastro<323:27
jcastropitfalls: %(description)s23:28
jcastrocan be pitfalls: A set of things the user should avoid while persuing this accomplishment (each one added on a new line).23:28
jonohey george_e!23:28
george_ejcastro: So revert to your template?23:28
jonomarcoceppi, can I check if a userid exists or not?23:28
jcastrogeorge_e: just for pitfalls23:29
jcastrothe rest looks awesome23:29
jrgiffordjono: yes. it'll return a 404 iirc.23:29
jonojrgifford, it doesnt seem to23:29
jonoit returns 20023:29
george_ejono: Are you using the API?23:29
jonogeorge_e, yep23:29
george_ejcastro: Great, I'll fix that.23:29
george_ejono: Yeah, it will return 200 even if it fails.23:29
george_eYou need to check to see if 'items' in the JSON response is empty.23:29
marcoceppijono: you can make an api call to /users/## and the total: will be 023:29
marcoceppihttp://api.askubuntu.com/1.1/users/9999923:30
jonogeorge_e, thanks23:30
jonothanks marcoceppi23:30
george_emarcoceppi: They're discontinuing v1.1 of the API.23:30
george_eI strongly suggest moving to v2.0.23:30
jrgiffordgeorge_e is correct, better to build it right from the ground up23:31
marcoceppigeorge_e: true, it's just much more convenient to use at the moment23:31
jonook, I will finish getting this script ready and then you guys can take a look23:31
george_ejcastro:  A set of things the user should avoid while persuing this accomplishment (each one added on a new line).23:32
george_eWhoops.23:32
george_eClipboard is being mean to me.23:32
jcastroyes, correct!23:32
jcastro:)23:32
jonomarcoceppi, george_e this is what I am working on: http://pastebin.ubuntu.com/1013911/23:32
jonoit is 1.1 though23:32
george_ejcastro: http://dpaste.com/hold/753176/23:32
george_eThere we go.23:32
jonohow is this different in 2.0?23:32
marcoceppijono: the URL you use will be slightly different23:33
marcoceppilet me get you a more updated sample23:33
jcastrogeorge_e: looks good to me, generate and propose next?23:33
george_eK.23:35
george_eThe updated URL would be something like http://api.stackexchange.com/2.0/users/{id}?site=askubuntu23:36
jonomarcoceppi, ok, so I have this working with 1.123:36
jonolet me try the new URL23:36
marcoceppijono: you just need to change two lines:23:37
jonomarcoceppi, :-)23:37
marcoceppihttp://paste.ubuntu.com/1013916/23:37
marcoceppi22 and 3523:37
jonomarcoceppi, it doesnt like "for badge in badges_data['badges']:"23:39
jononot badges key23:39
marcoceppiah, it's 'items' now23:39
marcoceppiinstead of 'badges'23:39
marcoceppiso, three lines23:39
jonomarcoceppi, awesome, thanks!23:39
jonook, so the script is working23:40
jonoand I can match this to all the badge IDs23:40
jonomarcoceppi, any idea where the 2.0 version of http://api.askubuntu.com/1.1/badges is?23:42
jonoor should the badge IDs be the same?>23:42
marcoceppijono: badge ids are the same23:43
george_ehttp://api.stackexchange.com/2.0/badges?site=askubuntu23:43
jonomarcoceppi, cool23:43
jonothanks23:43
jonogeorge_e, so did you have a MP you wanted to land on my branch?23:43
jonogeorge_e, looking at http://dpaste.com/hold/753176/ - there should be no code in there23:43
jonothe .accomplishment is literally just the fields23:43
jrgiffordjono: that's the code that generates the acomplishments.23:44
jonojrgifford, oh gotcha23:44
george_eI'll have the merge request very soon.23:44
jonothanks george_e23:44
george_eJust finishing up supper.23:44
jonogeorge_e, can you do me one other favor?23:44
george_eWhat?23:44
jonogeorge_e, can you change all references to 'needs-information=askubuntu-username' to 'needs-information=askubuntu-user-url'23:45
jonothanks23:45
george_eSure.23:46
jonothanks george_e23:46
jonojcastro, hey, do you have a hi-res SVG of the Ask speech bubble?23:47
george_eI do.23:47
jonogeorge_e, cool, could you mail it to me at jono@ubuntu.com?23:47
jonothanks!23:47
george_eActually, I have it hosted on my website.23:48
george_ehttp://stackoverflow.quickmediasolutions.com/images/askubuntu.svg23:48
jonothanks george_e23:49
marcoceppijcastro: you know we only have two tag based badges23:56
jcastrono I mean the ones like "11.04"23:56
marcoceppijcastro: yeah, we only have two, 10.10 and unity23:57
marcoceppiwait23:57
marcoceppinvm23:57
marcoceppiWas reading the API wrong23:57
jcastroI count 2723:57
marcoceppiyeah, the API was only showing 2023:57
george_ejono: Which branch do you want me to propose merging into?23:59
jcastrolp:~jonobacon/ubuntu-community-accomplishments/askubuntu-accomplishments23:59
jcastrogeorge_e: ^23:59
george_eK.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!