/srv/irclogs.ubuntu.com/2011/08/31/#ubuntu-locoteams.txt

trinikrono1i agree with you AlanBell i have also wondered why it would redirect there00:21
elkyAlanBell, should be checking by referrer at minimum, you'd think00:32
bkerensaAny council members stirring?02:47
paultaghey bkerensa 02:47
bkerensaHey paultag can I PM02:47
bkerensaor better yet can you join #ubuntu-or-us02:48
bkerensa#ubuntu-us-or even :)02:48
paultagsure02:50
Neo31Hello, are there some ubuntu packagers here? I may need some assistance to make the first packaging participation in UGJ for my loco team.06:50
AlanBellNeo31: perhaps try #ubuntu-motu07:17
elkyhe did.07:17
AlanBelljolly good07:18
Neo31I already got there AlanBell :) thanks07:18
czajkowskiAlanBell: opinion on what ?07:47
AlanBellin the loco directory if you are on an event such as http://loco.ubuntu.com/events/ubuntu-ie/1211/detail/ is the "Back to Events List" first subnav option ever useful?07:49
czajkowskime sits up and tries to focus 07:49
AlanBellbecause it does exactly the same as the top nav option a few pixels above07:50
AlanBellI am thinking of changing it to *always* go back to the team07:50
AlanBellso to http://loco.ubuntu.com/teams/ubuntu-ie07:50
czajkowskino I like it namely if I tweet that link url 07:50
czajkowskithe going back button brings em to a list of events tis kinda nice 07:50
czajkowskibut thats me07:51
AlanBellbut it does the same as the big events button at the very top07:58
AlanBellso for me if I saw a tweet about something in a hackerspace in Galway I might think, OK, can't make that, click Back and see stuff in Venezuela and have no easy way to get back to the -ie page and see there is an event in Dublin and Limerick which I might be able to get to08:00
AlanBelland if I start here http://loco.ubuntu.com/teams/ubuntu-ie and want to read about all the events it is too hard to get back to the team page08:02
AlanBellthe link *is* there, but burried 3/4 of the way down the details08:02
AlanBelland the thing in the top that starts with "Back . . ." takes me to the bewildering global list and I have to hunt through it to find my way back to the team I want08:03
AlanBell"Back to Teams List" on a team object makes perfect sense08:04
AlanBellbut on an Event or Meeting I find it highly improbable that the user came from the global list, or if they did, that the global list is where they want to go back to08:05
AlanBellI am not just complaining about it, I am proposing that I fix it, but I am asking first to see if anyone disagrees with the change08:06
nigelbAlanBell++08:08
nigelbAlanBell: I agree. For a majority of the use cases, this fits.08:09
AlanBellI think my primary frustration with the LoCo directory is that I am constantly accidentally escaping from the microsite for the team08:09
AlanBellare there any events with a large number of organising teams?08:16
AlanBellI don't mean the global event object, real events08:17
nigelbI don't think we have that use case yet.08:17
AlanBellyeah, I don't think you can do it in the UI08:17
AlanBellfine, I will code it as a loop so it would support two teams organising an event if one day that can be done, if a large number of teams organise one event it will run out of button space08:19
AlanBellbut that can't happen08:19
AlanBellcode done, will test and merge request later08:22
czajkowskiAlanBell: coolio :)08:22
AlanBellI should just do the merge request and get it live really http://tinyurl.com/whenitest08:25
AlanBellbug 80250808:47
=== Quintasan_ is now known as Quintasan
mhall119AlanBell: we've only had one event with multiple teams as a test, we don't have a UI to do it yet11:46
AlanBellcool, if I can get loco directory to actually run I will test and merge11:51
AlanBellImportError: No module named django.core.management11:51
AlanBellnot sure how to install what it wants to do a "make live" and import the test data11:52
mhall119did you run make init?11:53
AlanBellsame error11:55
AlanBelldid sudo make depends11:56
mhall119do make clean, then make init again11:59
mhall119what version of Ubuntu are you using?11:59
AlanBell11.0412:00
AlanBellNo distributions at all found for python-feedparser (from -r requirements.txt (line 21))12:02
AlanBellbut I have python-feedparser12:02
mhall119in pip, it's just "feedparser"12:02
mhall119take the python- out of that line in requirements.txt, then make clean; make init again12:02
nigelbWas the make file a bad idea?12:02
mhall119no :P12:02
nigelbI think its complicated things for people who do help us.12:03
nigelb(personally)12:03
AlanBellhmm, I have python-feedparser from the repos, so now I have that and something else somewhere12:04
AlanBellso these tar.gz things it is downloading from somewhere, it is just putting them in this source tree right?12:05
mhall119AlanBell: it gives a clean separation, so your loco-directory development requirements don't force the rest of your system to have things installed12:05
mhall119AlanBell: it's putting them in the 'env' directory12:06
AlanBellok, so not screwing up my system altogether then :)12:06
nigelbWe're trying to make sure it doesn't screw up your system :P12:06
mhall119no, it creates a separated python environment12:06
mhall119make depends is the only one with system-wide impact12:06
AlanBellok, that is fine. Mixing packaged python and  pip egg stuff scares me12:07
AlanBellthe easy_install stuff looks like a recipe for pain12:08
AlanBellthis is now doing promising looking stuff12:09
AlanBellso that requirements.txt thing was a bug right/12:09
nigelbyeah, it was12:09
nigelbplease propose an MP12:09
AlanBellum, I can fold it into the MP I am doing12:10
AlanBellreally wish I hadn't gone for the live option13:04
mhall119it's slow, yeah13:13
AlanBellhttps://code.launchpad.net/~alanbell/loco-directory/backbutton/+merge/7352613:25
nigelbAlanBell: would you mind writing tests? :)13:27
AlanBellhow?13:27
nigelbThere should already be a few tests in the test folder .13:27
nigelbmhall119 is the expert to ask in case you're stuck.13:28
AlanBellI can't see a test folder and I don't really understand what structured test could be done13:30
AlanBellyou run it, open an event or meeting and observe that the nav no longer contains a pointless back to global list option and contains a back to team option13:32
nigelbAlanBell: YOu could do this13:32
nigelbcreate a team13:32
nigelbcreate an event13:32
nigelbgo to the event page13:33
nigelbmake sure the back is pointing to the team's page13:33
AlanBellhmm, I see events/tests.py but I don't understand how to use it13:35
mhall119AlanBell: each django app directory can have a tests.py 13:53
mhall119there should already be some in /teams/13:53
AlanBellthere is a tests.py there13:53
AlanBellbut I don't know what to assert13:54
mhall119I did a class on this a while back, I'll see if I can find the logs13:54
mhall119nigelb: do you remember what day that was?13:54
nigelbmhall119: No, I can check though13:55
AlanBellso does everything need a test now?13:56
mhall119it's preferred13:56
* AlanBell sees a two line patch turning into a big old test13:56
nigelbyes13:56
AlanBellwhat runs the tests? some firefox plugin?13:57
mhall119AlanBell: ideally we would have already had a test case for that link, and you'd just have to update it, but we don't, so one has to be made13:57
nigelbAlanBell: ./manage.py test13:57
mhall119no, just django's built-in test runner13:57
AlanBellI don't think I can write a test for it based on the tests that are already there14:01
AlanBelleven if I managed to get the test to create a team and an event and a meeting14:02
AlanBellif I did assertContains(response, "test team") that would be meaningless as it is on the page anyway14:03
AlanBellit would need some kind of xpath statement to assert the link was in the right place, had the right target and name14:03
nigelbAlanBell: You need to assert the full <a href=...>14:03
nigelbor we could use pyquery14:04
AlanBellI certainly can't make a test for the requirements.txt change14:09
mhall119no, but for the Back link you can14:10
mhall119if you want to make the requirements.txt change a separate MP, I'll approve it right away14:10
AlanBellI don't know how14:11
mhall119how to do which?14:11
AlanBellI am not making a separate whole instance of loco directory just to split out a one line patch14:11
nigelbYou don't have to14:11
mhall119you shouldn't need to do that14:11
nigelbJust commit one change, propose a merge14:11
nigelbAlso, you should have branches setup.14:12
mhall119nigelb: would you like to write up a doc for doing an init-repo, branch and lightweight checkout specifically for loco-directory?  I think that would help14:12
AlanBellso do I have to roll back to the start and do them as two commits?14:12
AlanBellI have three copies of loco directory already14:13
AlanBellI tried bzr pull in one of the others but that didn't work so I branched a new one14:14
nigelbI think I need to give clear documentation on using branches14:15
nigelband how to use co-located branches in bzr so that you can share envs14:15
mhall119AlanBell: this is the workflow most of us use now for loco-directory, summit, etc: http://micknelson.wordpress.com/2011/05/19/sharing-your-development-environment-across-branches/14:21
AlanBellok14:24
nigelbI use something slightly different, but probably slightly harder as well.14:25
=== kinoucho` is now known as kinouchou
=== jpds_ is now known as jpds
Ronniejono: do you have time to answer some question about the trademark name Ubuntu19:53
paultagRonnie: 99.999% of inqueries come down to: "Is it about or exactly pertaining to Ubuntu?". If the answer is "Yes", in general, it's OK. LoCos are included in that official stuff19:58
paultagcommon sense seems to be right right(tm) thing19:58
bkerensapaultag: unless its a domain name right?20:01
Ronniepaultag: a while ago Michelle Surtees-Myers send me this message: """We want to support you in establishing your foundation, however, a     special license is required for this, and we are currently working     on this. We will need to have some further discussions in this regard.    If you need any more information, please contact our Community     Manager, Jono Bacon (cc'd here)."""20:03
Ronniewere almost at the point of officially creating the foundation, and therefore we want to know if its 'safe' to use that 'Ubuntu' in the name of the foundation20:04
jonoRonnie, is this the NL thing?20:04
Ronniejono: yes20:04
jonoRonnie, I thought Michelle followed back up20:05
jonolet me check into it and see what is going on20:05
paultagbkerensa: domain names are fine20:33
paultagbkerensa: providing it's the loco it's self20:33
paultagthere's a bit more then that, but that's basically it20:33
paultagbrb20:33
AlanBellRonnie: you are creating a legal entity for the LoCo?20:53
AlanBellwell seeing as ./manage.py test returns errors already I am not sure adding my tests to it is a good idea http://paste.ubuntu.com/679228/21:17
cjohnstonAlanBell: ya.. the tests need to be updated if you are talking about LD21:20
bkerensapaultag: How do certain commercial blogs get to use the ubuntu name in their domain like OMG Ubuntu? I couldnt figure out that one21:37
AlanBellbkerensa: they ask for permission21:38
AlanBellsometimes retrospectively21:38
AlanBellhave a look in the bottom right of their footer21:38
AlanBellhttp://www.ubuntu.com/aboutus/trademarkpolicy21:39
bkerensaok... well I was gonna do a Ubuntu/FOSS podcast personally but I decided to not use the Ubuntu name and used a Linux varient domain name because I didnt wanna deal with TM issues21:39
AlanBellreally not a big deal21:40
AlanBellif you are doing community advocacy of any kind the answer will be yes21:41
JanCOTOH, using a more general name makes it easier to stray from the pure Ubuntu stuff in that podcast...  ;)21:41
AlanBelland there is a whole class of things where you don't need to ask permission21:42
AlanBellyup, plenty of reasons to build your own brand identity21:42
RonnieAlanBell: yes we are creating a legal entity (and yes we are aware of the concequences of being a legal entity in our country)21:58

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