/srv/irclogs.ubuntu.com/2009/05/30/#ubuntu-desktop.txt

spcanyone has those problems?01:11
spchttp://www.uluga.ubuntuforums.org/showthread.php?t=1137700&page=301:11
spcim stuck i cant work with my mouse.01:11
spcany info?01:11
rickspencer3didrocks: hey20:46
didrocksrickspencer3: hi ;)20:51
rickspencer3didrocks: I'm at the airport in Atlanta, working on quickly spec20:52
rickspencer3i'm wondering if it makes more sense to make the templates easier20:52
rickspencer3so you would go:20:52
rickspencer3$quickly new-ubuntu-project coolio20:52
rickspencer3and then you could go quickly new-window stuff20:53
rickspencer3thoughts?20:53
didrockshum, that make sense. So, all templates will work like this? (ubuntu-project -> "quickly new-ubuntu-project name" to create it, foo-project -> "quickly new-project name")20:54
rickspencer3right20:55
rickspencer3so to make a new command, create a folder with the command you want, and then put a script in there called run.py, or something20:55
didrocksI'm just wondering how the user can understand that if he wants to take another command from another project, he can do quickly -t ubuntu-project command-name20:55
rickspencer3well, if we do what I suggest, then any command could work in any project20:56
rickspencer3so I would rename "new.py" in the ubuntu-project template to "run.py"20:56
rickspencer3and quickly.py would always look for "run.py"20:57
rickspencer3(not sure I'm making sense, maybe I should just change the code)20:57
didrocksrickspencer3: I don't really get it actually :)20:57
rickspencer3(sorry, I'm tired)20:58
didrocksno problem, I understand ^^20:58
didrocksI was just thinking about implementing a bash completion process20:58
rickspencer3so to make a new command called foo ...20:58
didrocksthis one can do some introspection stuff to look at available commands20:59
rickspencer3create a directory called foo20:59
rickspencer3then inside that directory, create a file called run.py20:59
didrocksok, and so, you remove the template idea20:59
rickspencer3so then $quckly foo20:59
rickspencer3that would run run.py in the foo directory20:59
rickspencer3sort of remove the template idea, more like remove the distinction between commands and templates20:59
didrocks(let me a second, I'm thinking abouy it)21:00
rickspencer3so like: $quickly ppa could easily be made that way, and new commands for existing templates would be easy to create21:00
didrocksabout*21:00
didrockscommands will be longer…  Imagine someone wants to add some features to the "quickly release" command: this can't be do in this way… or creating a new folder + command with another name21:01
rickspencer3hmmm21:02
didrocksThe template made some kind of "getting things that works well together"21:03
rickspencer3hmmm21:03
didrocksnot displaying 30 commands, some incompatibles with a project created for another template21:03
rickspencer3so for quickly release, that runs a script, how would you add that?21:03
didrocksrickspencer3: there is already one kind of release command in the bzr branch21:04
rickspencer3(your point about project incompatibilities is well taken)21:04
didrocks(not complete at all)21:04
rickspencer3oh?21:04
didrocksyes, it's just setupping lp crendential and bzr-launchpad binding :)21:04
rickspencer3so that would be21:04
rickspencer3$quickly release ubuntu-project?21:05
didrocksno no21:05
didrocksyou just cd the project path21:05
didrocksand then "quickly release"21:05
rickspencer3the release script gets added to the project?21:05
didrocksthe call by default is done with the template it was created with21:05
rickspencer3copied over from the template?21:05
didrocksno, I just copy the template name in a .quickly file21:06
didrocks(in the project directoryà21:06
didrocksso, I can retrieve it afterwards21:06
didrocksretreive*21:06
didrocksif then, someone wants to call the "ubuntu-my-awesome-template" release command, even if this project has been created with quickly new ubuntu-project foo, it can be done by calling:21:07
didrocksquickly -t ubuntu-my-awesome-template release21:07
rickspencer3so the .quickly file keeps a reference to the project template used, right?21:08
didrocksand so, it will call release.py in template/ubuntu-my-awesome-template/21:08
didrocksexactly21:08
rickspencer3hmm21:08
didrocksbut we can still call some commands from another templates with the example above21:08
rickspencer3the bzr integration is sweet, btw21:09
didrocksI think that's what we have to do, at least with the ubuntu-project template21:09
didrocksbzr + lp21:09
rickspencer3right21:09
didrocksI have to write some errors check, so. Don't play too much with it, atm :)21:10
rickspencer3ok, this was awesome21:10
rickspencer3hehe21:10
rickspencer3well ... let me check it out21:10
rickspencer3I want to work on the spec for both using it, and adding a template21:10
rickspencer3it looks like lool got it all set up for debian packaging too!21:10
rickspencer3it changed a lot over the week :)21:11
didrocksyes, awesome, even if I was planning to do it myself :)21:11
didrocksso, also, to reminds you of the current implementation:21:11
rickspencer3beuno wants to pimp out the app that is created21:11
didrocksgreat ;)21:11
didrocks- appart from the new command, the command you call is search first in the template you defined (with -t option)21:12
rickspencer3 I suppose the .quickly file can be used to both scope project related commands, as well as be checked by other commands if they want to change behavior by project template21:13
didrocks- if not, we look at the .quickly file and use the template defined there21:13
didrocks- if the command is not in the template, we try to call a default command in your own bindings/main.py file21:13
didrocks- it also look for hooks, like pre_foo, post_foo21:14
didrocksso, calling "quickly foo" will do:21:14
didrockspre_foo if present21:14
didrocksfoo, found with the previous rules discussed21:14
didrocksand then post_foo, if present21:14
didrocksrickspencer3: and yes, I'm planning adding more stuff to the .quickly file (I already have a list)21:14
rickspencer3the pre, post idea is good21:15
rickspencer3I will try to get this documented in the next few days21:15
rickspencer3so that it is easy to create new templates21:15
rickspencer3in fact, I want to create:21:15
rickspencer3$quickly quickly foo21:15
rickspencer3so you can use quickly to create a quickly template21:15
rickspencer3:)21:15
didrocksyou really want to add entropy to the world ? :)21:16
rickspencer3heh21:16
rickspencer3I guess it might be:21:16
didrocksmore seriously, that's a great idea, and it can be achieved easily21:16
didrocks(and so, quickly ;))21:16
rickspencer3quickly quickly-template, or quickly-command21:16
rickspencer3I'll dink with it and see21:16
rickspencer3thanks didrocks!21:16
didrocksyou're really welcome :)21:17
rickspencer3this could be really fun! :)21:17
didrocksI'm sure it will be!21:17
didrocksthink to "bzr pull" the trunk regularly!21:17
didrocksit will be difficult for me this week as I will be away from the Internet during the day and james_w is planning to come at home for 3 days, but after that, not problem to push some hard work on it21:18
didrocksrickspencer3: have a good flight and a good rest then ;)21:20
rickspencer3didrocks: thanks, and I will pull daily :)21:24
rickspencer3have a good week21:24
didrocksrickspencer3: thanks, you too :)21:25
didrocksrickspencer3: oh, btw, you need ubuntu-dev-tools and bzr to run the release command21:32
rickspencer3didrocks: thanks for the heads up21:32
calc i am so bored21:59
calci am stuck in layover for 5hr :(21:59
calc3 down and 2 to go21:59
calcrickspencer3: looks like you have a nice layover as well, heh22:02
rickspencer3calc: yea22:02
* calc needs to remember to book his flights really early so he can get better booking next time22:03
rickspencer3still have an hour before my plane boards :(22:03
calci don't even know when mine boards delta seems to think it should be a secret22:13
calci'm guessing ~ 30-40m before takeoff time22:13
rickspencer3calc: it's normally 30 mins. before for a domestic flight22:20
calcok22:22
* calc gets ready to leave, bbl23:02
didrockscalc: have a nice trip :)23:08

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