[12:30] well im just going into my second year in computer science [12:30] so i dont have any projects that ive worked on besides programming assignments [12:31] but im familiar with python, java, C, and bash, and can pick up any other language as needed [12:31] cool [12:31] so you are interested in real-development vs. packaging? [12:32] im going to go with real-development because im not entirely sure what you mean by packaging [12:32] :) [12:32] packaging needs development too ... but its nothiner that is usually visible in the application itself [12:32] ah, i see [12:32] ok [12:32] and what would that consist of [12:33] we have multiple things going on that are important and need coding :) [12:33] id just like to be put where i can be of use [12:33] ah, this is good news [12:33] any language of preference? [12:33] we have a python thing: [12:34] i just downloaded SPE if that is of any use [12:34] its about firefox-distro-addons ... which will allow us to integrate debian packages into the mozilla plugin wizard [12:34] for that we have to create a database that contains plugin package information [12:35] its basically a small program on its own ... and should be fairly simple [12:35] i already have some code ... [12:35] so basically something like synaptic, but for mozilla plugins? [12:36] hmmm ... do you know the mozilla plugin wizard? [12:36] fraid not [12:36] firefox plugin wizard [12:36] if you miss a plugin for some content you get an area with a puzzle piece in the webpage ... you saw that? [12:37] oh [12:37] righto [12:37] yeah, ive noticed it tends to not find anything :P [12:37] yes ... if you click on it ... firefox opens a plugin wizard ... one component invokes a webservice [12:37] right [12:37] that brings info of what extensions can be installed from where [12:37] to serve that content [12:37] alright [12:37] now ... it doesn't work with packages [12:37] ah [12:38] e.g. people will install plugins from upstream sites [12:38] so it just works with like a file somewhere [12:38] or it just directs to an url [12:38] basically ... its a database on the webserver site [12:38] and firefox submits info like version, architecture, et al [12:38] the webservice returns xml with info [12:38] k [12:39] i have someone who wants to work on that webservice ... but in order to start with it, we need a database [12:39] that contains the info [12:39] now ... we already uploaded packages that have that kind of meta information in their package description [12:39] k [12:39] the task is to build a program that iterates through all packages and extracts that information ... [12:39] and sends it to the database [12:40] then it would either inject that data to the datbase directly, or sends out sql commands to console [12:40] k [12:40] right ... the latter would allow you to use command line tools to fill database [12:40] sounds doable [12:40] yeah wait [12:40] k [12:40] http://people.ubuntu.com/~asac/npp_cache_dump.py [12:40] that is almost ready ;) [12:40] but it needs some care [12:41] ok .. i have taken care that the python api for apt/dpkg has been improved for our purpose [12:41] alright [12:41] you see the file [12:41] ? [12:41] got it d/led [12:42] do you know how debian package information looks like? [12:42] havent the faintest clue [12:42] ok its simple [12:42] wait [12:43] http://www.ibm.com/developerworks/linux/library/l-debpkg.html [12:44] would that be a good way to learn? [12:45] http://codebrowse.launchpad.net/~asac/firefox/ubuntu-2.0.0.x/annotate/asac%40jwsdot.com-20070719095124-di7t53q98djslrg4?file_id=control-20070321172126-hx4btlytc64jyo4n-4 [12:45] look at that [12:45] just the first 20 lines [12:45] its the package description ... contains name of source ... and binary files .. description and dependenceies [12:45] et al [12:45] ok [12:45] always just a Tagname: some-content-like-name-or-description [12:46] its not really important [12:46] right [12:46] but now we do add Extended headers to add meta info about plugins, like what content/mime-type they serve: [12:46] http://launchpadlibrarian.net/8309042/sun-java5.debdiff [12:46] thats the update for sun that hjmf prepared [12:47] k [12:47] ok ... if you look back at code you see that its basically a simple for loop [12:47] for pkg in cache: ... [12:47] it iterates through all packages [12:47] right [12:48] we want the meta data for every single package? [12:48] then you see how it extracts the content of those headers [12:48] yes ... [12:48] most packages don't have any [12:48] only plugins [12:48] ah [12:48] k [12:48] but you have to iterate through all [12:48] to find [12:48] right [12:48] ok ... that info needs to go to a datbase [12:49] that is what dump_combination on top does [12:49] and you see that i dump a db entry for each mime_type + app_id combination [12:49] yup [12:49] because each plugin can serve N mime-types and app-ids [12:49] ok [12:50] so [12:50] ok ... its almost done ... however [12:50] whats left to code in this script [12:50] there is a tricky thing missing [12:50] ;) [12:50] hehe [12:50] oh course [12:50] of* [12:50] all starts with cache = Cache() [12:50] you see that? [12:50] right [12:51] yes ... thats bad because it uses the apt info that is in your computer apt cache [12:51] which can be out of date [12:51] which means: you only see packages for the architecture you are on [12:51] ... yes and to update it you need root access [12:51] that too [12:51] suck [12:51] yeah ... but you can provide a path to Cache [12:51] look in the API [12:52] its /usr/lib/python2.5/site-packages/apt [12:53] the constructor impl of Cache: http://pastebin.mozilla.org/157137 [12:53] you see you can pass a rootdir [12:54] a few lines below you see that it looks for /var/lib/dpkg/status [12:54] beneath that rootdir [12:54] ok ... work needed is: [12:55] download Packages files for all architectures [12:55] put them somewhere beneath /var ... look in the cache.py code to see where [12:55] and run the current script on them :) [12:56] uh [12:56] question [12:56] yeah [12:56] go ahead [12:56] how much space will that take up? [12:56] was too fast i guess ;) [12:56] doesn't matter [12:56] well no, i only have 2gb free here ;P [12:56] for now we don't have that many plugin packages [12:56] yeah that is much moire than you need [12:56] ah [12:56] oh right [12:56] its just the package files [12:56] not the files themselves [12:56] sorry [12:56] you need maybe 10 Packages files that are each max. 6mb [12:56] blonde moment [12:56] the datbase is small [12:57] yes [12:57] just the Packages file [12:57] okay [12:57] so [12:57] i understand what needs to be done [12:57] can i do it [12:57] right now [12:57] no [12:57] but i will teach myself [12:57] so dont expect it tomorrow [12:57] but ill figure it out [12:57] yeah ... just do a basic implementation first [12:57] can be rudimentary [12:58] sure ;) [12:58] would be great [12:58] any deadline on this? [12:58] yeah ;) [12:58] yesterday [12:58] haha [12:58] good [12:58] no ... [12:58] the sooner the better [12:58] k [12:58] ill get right on it [12:59] thanks a bunch [12:59] gotta get some supper [12:59] yeah ... [12:59] thanks [12:59] if you need info ... let me know :) [12:59] will do [12:59] thanks [12:59] cya === asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam [07:43] morning [07:59] hmm, trying to reproduce bug 126917 would be hard [07:59] Launchpad bug 126917 in firefox "With many tabs open, requesting print preview causes instant crash" [Undecided,New] https://launchpad.net/bugs/126917 [08:01] The provided test case states: ...main window has 176 tabs open... [...] ... tab 173 is two pages long.... [08:02] if main window has 176 tabs open, might mean that could be other "no main window" firefox windows with a similar number of tabs opened... [08:02] crazy [08:03] rofl :D [08:03] there is no need for that many tabs [08:03] it ends up destroying the need for tabbed browsing [08:04] yeah, the max number of tabs I ever had open it might be less than 20 [08:04] you can get lost with that number [08:04] :) [08:05] the reporter easily can provoke a DoS on the whole internet if he continues doing that :) j/k [08:05] i usually do like 6 browsing for email and the like and another window for work [08:06] yea, he'll netsplit the internet [08:06] also he states that if he tries to RESTORE that damn session the crash happens again [08:06] crazy [08:06] :) [08:09] I'm off for now [08:09] cy Admiral_Chicago [08:11] bye hjmf === ondra_AllPeers [n=smrt@81.104.95.80.ip.b26.cz] has joined #ubuntu-mozillateam === ondra_AllPeers [n=smrt@81.104.95.80.ip.b26.cz] has joined #ubuntu-mozillateam === ondra_AllPeers [n=smrt@81.104.95.80.ip.b26.cz] has joined #ubuntu-mozillateam [09:10] ondra_AllPeers: welcome back [09:10] btw, that is a great application the team is developing === DarkSun88 [n=Ma@ubuntu/member/darksun88] has joined #ubuntu-mozillateam === DarkSun88 [n=Ma@ubuntu/member/darksun88] has left #ubuntu-mozillateam ["Sto] === Starting logfile irclogs/ubuntu-mozillateam.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mozillateam === Topic for #ubuntu-mozillateam: Home of Ubuntu Mozilla Team - https://wiki.ubuntu.com/MozillaTeam | Bug Triagers please read: https://wiki.ubuntu.com/MozillaTeam/Bugs/ | Firefox trunk package source : https://code.launchpad.net/~asac/firefox/trunk | Mailing List: ubuntu-mozillateam@lists.ubuntu.com | === Topic (#ubuntu-mozillateam): set by Admiral_Chicago at Sun Jun 24 10:33:47 2007 === lu [n=ettore@ip-137-185.sn2.eutelia.it] has joined #ubuntu-mozillateam [03:13] hi [03:14] someone helpme to see qt in firefox on ubuntu 7.04 ? [03:14] sorry for my english , i'm italian === lu [n=ettore@ip-137-185.sn2.eutelia.it] has left #ubuntu-mozillateam ["Ex-Chat"] [04:02] ondra_AllPeers: ping [04:02] ondra_AllPeers: you are all peers dev right? [04:02] ondra_AllPeers: in latest gutsy we ship compatibility links for libnspr and libss [04:03] so you don't need to link those in statically [04:39] asac: back === Admiral_Chicago [n=FreddyM@adsl-68-72-110-119.dsl.chcgil.ameritech.net] has joined #ubuntu-mozillateam === JenFraggle [n=jen@91.84.43.217] has joined #ubuntu-mozillateam === JenFraggle_ [n=jen@91.84.43.217] has joined #ubuntu-mozillateam === asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam === asac [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam === asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam === Admiral_Chicago_ [n=FreddyM@adsl-68-72-109-103.dsl.chcgil.ameritech.net] has joined #ubuntu-mozillateam === asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam === Admiral_1hicago_ [n=Freddy@adsl-68-72-109-103.dsl.chcgil.ameritech.net] has joined #ubuntu-mozillateam === Admiral_Chicago [n=FreddyM@adsl-68-72-109-103.dsl.chcgil.ameritech.net] has joined #ubuntu-mozillateam [12:20] hmm, looks like bug 127235 is a problem [12:20] Launchpad bug 127235 in firefox "All Add-ons are broken after 2.0.0.5 upgrade" [Undecided,New] https://launchpad.net/bugs/127235