/srv/irclogs.ubuntu.com/2008/07/07/#ubuntu-mozillateam.txt

xipietoteccan anyone tell me, when installing flash10, should I install to /usr/lib/firefox or /usr/lib/firefox-3.0 ?01:03
asachi09:13
asacsorry, was gone for the sweeked09:14
jtvasac: hey there11:29
asacjtv: yeah. great to see you11:29
asacwas just about to hunt you ;)11:29
jtvasac: uh-oh... is this where I'm given 10 seconds to run or hide?11:30
asacjtv: too late ;)11:30
asacjtv: but first, what can i do for you?11:30
jtvasac: actually, it's sort of more a thing I've been doing for you, that you could test.11:30
jtvasac: I prototyped xpi export this weekend.11:30
asacjtv: \o/11:31
asacsounds cool11:31
jtvasac: sudden inspiration11:31
jtvasac: even does multiple languages in one file.11:31
asacso you did a complete rewrite?11:31
jtv asac: I know of several things that are still missing though:11:31
jtvNo no no, it was just a matter of writing a new export plugin.  Not an easy one, mind you, but the existing code is intact.11:32
jtvasac: still missing: install.rdf generation, merging in the non-locale files from the template, those special tags that don't carry any translations, and some details on template export.11:33
asacjtv: ok11:33
asacsounds good11:33
jtvasac: I'm not sure which of those you need, and some of them could be very hard.11:33
asacjtv: we have the install.rdf generation code in the po2xpi thing11:33
jtvasac: gimmegimme!11:33
asacjtv: err. its a filter actually based on the en-US.xpi install.rdf11:34
jtvasac: that's pretty much what I need (though we can add some of our own metadata as well)11:34
asacjust: cat en-US.xpi/install.rdf | sed -e 's/en-US/YOURLOCALE'11:34
asacwell with proper syntax11:35
jtvasac: duh11:35
asacjtv: the other nifty thing you have to do is setting up proper defaults11:35
asacfor cases where we have two country codes for one language11:35
* jtv shivers11:35
asacjtv: you have two chrome.manifest i guess right?11:36
asacwell ... most likely concat'ed into one for the final en-US.xpi11:36
jtvasac: two?11:36
asacone for pt-PT and one for pt-BR11:36
jtvOne XPI file, one chrome.manifest.  I know it's harsh, but they don't grow on trees you know11:36
jtvI've produced a very simple canonicalized layout, so a manifest may look like:11:37
jtvlocale de foo jar:locale/de.jar!/foo/11:38
jtvlocale fr foo jar:locale/fr.jar!/foo/11:38
jtvlocale de bar jar:locale/de.jar/bar/11:38
jtvetc.11:38
jtv(actually, sorted by locale)11:38
asacjtv: and for pt?11:39
jtvasac: it depends on what's in your database.  If you wanted, you could have pt, pt_PT and pt_BR and you could export them all in a single xpi file.  Each of the 3 would have its own jar file and its own manifest entriese.11:39
jtv*entries11:40
* jtv makes a note that the manifest wants to use dashes, not underscores, to attach country codes to language codes11:40
asacjtv: ok. let me tell what we are currently doing for pt-PT11:40
asacand pt-BR11:41
asacwe have entries for both and add entries for "pt" which point to the locale we want to be default for LANG=pt11:41
asacor LANG=pt_UNKNOWN11:41
asacunderstood?11:41
asacso we have locale pt-BR jar:...pt-BR.jar!/...11:42
asacand locale pt-PT jar:...pt-PT.jar!/...11:42
jtvasac: ah, an example helps, thanks.11:42
asacand locale pt jar:...pt-PT.jar!/...11:42
jtvasac: for import we don't support multiple languages in one file yet, so what happens is this:11:42
jtvyou upload a file.  If it's e.g. pt.xpi, that's easy; it gets auto-approved.11:42
asacjtv: no its for export11:43
asacjtv: we need at least the same features we have now ... where we upload pt-PT.xpi and pt-BR.xpi ... and export that all into the same pt.xpi ;)11:43
jtvasac: shouldn't be a problem.  You just browse to the *template* and request a download of pt and pt_BR, in XPI format.11:44
jtvThat'll give you a single xpi containing both languages.11:44
jtvasac: there is one catch, of course.11:44
asacjtv: ok, so where can i test current code?11:46
jtvSince we stick to the convention of "pt" rather than pt_PT, the two languages in your export (right now) will be pt and pt_BR11:46
asack11:46
jtvasac: if you've got devpad access, you can bzr my branch from there.11:46
asacjtv: i doubt i have that ;) ... so what do you want me to test? or did you just want to talk about this?11:48
jtvasac: ah, you didn't think all this came for free, did you?  :)11:50
jtvasac: I want to produce some test files for you, and ask you to see if they're any good.11:50
asacjtv: ok cool11:55
asacjtv: my question was more of bug nature ;)11:55
jtvasac: go ahead11:55
asacjtv: did you came to fix the comment (//) issue in .properties files?11:56
jtvasac: yes and no11:57
jtvasac: I still need to write the tests.11:57
asacok11:58
armin76bumb11:58
asacjtv: https://translations.edge.launchpad.net/ubuntu/hardy/+source/xulrunner-1.9/+imports11:58
asacthere are two items that need review?11:58
armin76asac: bumb!11:58
asacarmin76: what?11:58
armin76asac: bumb yourself!12:01
jtvasac: did we really want that old fi.xpi blocked?  I thought it was a mistake, in which case we'd better just delete it.12:04
asacjtv: i cant remember what that upload was about12:04
asacjtv: afaik all except the // thing is ok now in fi so we probably dont want that12:05
asacjtv: en-US.xpi needs to be approved though12:05
jtvasac: ahhh, wasn't that the one with some problem that made the import fail?12:05
asacdidi i forget to tr - _ ?12:05
jtvasac: I already approved those two.12:05
jtvasac: not in the filename, that's for sure!12:05
asacjtv: ok ... also uploaded en-US.xpi for ffox 312:13
asacthanks!12:13
asac(for approval)12:13
asachttps://translations.edge.launchpad.net/ubuntu/hardy/+source/firefox-3.0/+imports12:14
jtvasac: that should be auto-approved, no?12:15
asacjtv: hmm. not sure12:16
asacwhy would that be auto approved, but the previous xulrunner one not?12:16
jtvasac: auto-approval may take a while.12:17
asachi Jazzva12:59
Jazzvahey asac :)12:59
asacJazzva: how are you?12:59
Jazzvaasac, good :). Had an exam on Saturday at 8am, still feeling tired. You?13:00
asacnot so bad either ;)13:00
asacJazzva: how was your exam?13:01
asacwent well?13:01
Jazzvaasac, this one did went well :)... telecom exam didn't. but, that's ok for now13:01
asacJazzva: you think you have to redo telecom?13:01
JazzvaI know. I failed it (as most of the people who did it)13:02
asachmm. sry for that13:02
asacexams are one of the things i certainly dont like to do twice ;)13:02
Jazzvano problem :). I had to do some of them more than once...13:04
Jazzvaasac: btw, do you know where I can find wiki administrators?13:04
Jazzvaasac, and is it ok if I move MT/Firefox3Extensions/LargeScaleMaintenance to MT/Extensions/LargeScaleMaintenance?13:06
asacJazzva: not sure about wiki admins. feel free to rename the LargeScaleMaintenance page ... can you figure if we can create a redirect or somethign?13:08
Jazzvaasac: I think it automatically creates a redirect when a page is renamed. But I didn't know that when I started, so I created new pages. Then I found that out, so I deleted the new pages, and tried to rename the old ones. Now it reports I can't rename them, since those pages already exist. Let me try again.13:09
Jazzvaheh, not redirecting for LargeScale... Let me check help for moin wiki13:12
Jazzvaasac, we can redirect13:34
Jazzvajust add "#REDIRECT NewPage" in the OldPage.13:34
Jazzvahttps://wiki.ubuntu.com/MozillaTeam/Firefox3Extensions/LargeScaleMaintenance13:35
asacJazzva: cool13:42
JazzvaI'm doing that for the rest of the extensions' pages now13:42
asacJazzva: largescale does not yet redirect form e13:43
asacfor me13:43
Jazzvait doesn't? Weird. It always redirect and shows notice at the top of the page13:44
Jazzvatry to refresh page :)13:44
Jazzvamaybe it didn't pick the new one, and loads it from cache13:44
asacJazzva: ah ok13:45
asacthanks13:46
Jazzvanp13:46
asachmm ... still doesnt redirect13:46
asacjust shows that it wants to13:46
asacbut that never happens13:46
Jazzvatry with http://wiki.ubuntu.com/MozillaTeam/Firefox3Extensions/Packaging13:46
Jazzvabtw, do we need this one: https://wiki.ubuntu.com/MozillaTeam/Firefox3Extensions/Bzr ? Most of those instructions are incorporated in Packaging page13:47
asaci think it works now.. wierd13:49
asacJazzva: the packaging page is ment to be a tutorial page ... that doesnt cover all cases13:50
asacso yes, Bzr page makes sense. just needs to be populated with more use-cases13:50
asac(imho)13:50
JazzvaOk... I'll see with gnomefreak what did he planned to do with it :)13:51
Jazzvaand I think we can ditch this one: https://wiki.ubuntu.com/MozillaTeam/Firefox3ExtensionsReview , when we move some of the contents to MT/Extensions/List13:52
asacJazzva: yeah ... delete the review page13:54
Jazzvaasac, you also created this one: https://wiki.ubuntu.com/MozillaTeam/Firefox3Extensions/BogusList ... We keep that info in tables at List page, so I'll remove BogusList13:54
asacif you add the ones that are not on Extension list to the table that "is missing info" that would be great13:55
asacbut not needed imo13:55
JazzvaI planned on doing that13:55
asacJazzva: i am not sure if the normal list page shouls also get the  bogus list13:56
asacthat table was ment to track reported issues13:56
asace.g. if someone files a bug like "this freature is broken" and finall we find that its caused by extension X13:56
Jazzvawe keep "Extensions that are not suitable for Ubuntu" table at the list page13:56
asacwe would add that incident to that page13:56
Jazzvaaham... ok13:56
asacof course so far we didnt do that ;)13:56
asacso not sure if thats the right thing13:56
Jazzvaso, it's not the same as "not suitable extension" list13:56
Jazzvajust to know :)13:57
asacmaybe tagging bugs that someone confirmed as being "extension caused"13:57
asacwould be a good start13:57
asacJazzva: yeah. its different13:57
asacjtv: so now all is imported. do we have to wait for a new delta tarball to arrive based on this?14:04
asacor can we trigger the creation of a delta now?14:05
asacjtv: if you used the po2xpi code we had, then you could have used runpo2xpi to do the copying of the non .dtd/.properties files as well as the install.rdf creation14:20
jtvasac: how do you map the directory layouts between the "template" (en-US) and the translation?14:24
jtvasac: about the deltas: those are for the entire Ubuntu release, so better coordinate with Arne & Martin.14:25
asacjtv: the directory layout is always the same14:34
asacwith en-US replaced by xx-YY14:34
asacin the end those files should be single translatable entities imo14:34
asace.g. one entity for the complete file14:35
asacwhich then the po2xpi transformer identifies and handles correctly14:35
jtvasac: translatable?  So that means that you don't always want the versions from the en-US.xpi?14:38
jt1asac: think I lost my connection for a bit there.14:43
jt1asac: sorry, connection trouble.  I know how to fix it, but believe it or not, getting it fixed involves contacting my favourite pizza place.14:54
=== jt1 is now known as jtv
asacjtv: haha14:59
asacjtv: well. if they are in en-US.xpi and they are resolvable through a chrome://xxx/locale/ URI, then those are in the end translatable files14:59
asaclike complete .xhtml files14:59
asacor images.14:59
asaci think we dont want to support images right from the beginning14:59
asacbut xhtml file translation would be great14:59
jtvasac: probably not this week though  :-)15:01
jtvasac: I was thinking it might be healthier for now to produce a simple canonical directory structure, and if people want to merge other files into the XPI, they can just unzip/add/rezip.15:02
jtvasac: though I do understand that you'll probably want complete, merged xpi archives.15:03
jtvasac: one big advantage of what I have right now is that it works without looking at the en-US.xpi at all.15:03
jtvasac: and it keeps a very simple mapping between chrome paths and "xpi paths."15:04
jtvasac_: ah, having trouble as well?15:04
asac_no ... i think this was daily reconnect ;)15:04
asac_emphasize on "think" ;)15:05
jtvasac_: the files from en-US.xpi that you'd want merged into a translation... do they all live in the locale directories covered by the locale entries in the manifest?15:10
asac_jtv: if they are not accessible through a locale/ directory, then we dont need to copy them15:12
jtvasac_: I see.  That was the one big question I had.  At some point I'll have to scan the en-US.xpi as part of the export process anyway, so that's doable without adding too much weight.15:18
jtvasac_: what I've done for now has the advantage of not needing any knowledge of the template, and keeping a simple mapping between chrome paths and directory layout.15:19
=== asac_ is now known as asac
=== Moot2 is now known as MootBot
rzrhi17:51
rzrasac: I saw the Flashblock bug17:53
rzrdoes something need to be done to backport it to hardy ?17:54
rzrI proposed to merge a branch a couple of week ago I think17:54
asacrzr: you want to backport a bug?18:24
asaci'd suggest to backport the fix ;)18:24
asachehe18:24
asacrzr: we havent yet setup the auto-notification if you suggest a merge18:24
rzrit = flashblock :)18:24
rzrauto-notification ? did I miss something ?18:25
asacrzr: no ... thats nothing you missed, but we missed it18:26
asacrzr: we cannot upload a "may fix something unknown" to -proposed18:29
asacwe should upload this to hardy-backports18:30
asacand once we know about a specific bug get a minimal patch to -proposed18:30
rzrok18:30
asacrzr: just change the changelog target to hardy-proposed18:30
asacand document that its a upload to backport18:30
asac* backport, may fix trouble with firefox 318:31
asacif you have "may", just leave that part18:31
rzr<asac> rzr: just change the changelog target to hardy-proposed18:32
rzror hardy-backoprts ?18:32
rzr-op+po18:32
asacrzr: backports18:35
asacrzr: did i upload the release to intrepid yet?18:36
rzrok this makes sense now18:36
rzryes you did18:36
asacok18:36
rzryou asked me this twice :)18:36
asacrzr: use the same bug id in changelog18:36
asacrzr: today?18:36
rzrlast week :)18:36
asacok, then i am not scared about brain-damage ;)18:36
asacrzr: can you also change the Vcs-Bzr header to point to the backports branch?18:38
asacVcs-Bzr: https://code.launchpad.net/~ubuntu-dev/firefox-extensions/flashblock.ubuntu.hardy-backports18:38
rzrlet's do this now ..18:38
asacrzr: wait a second ;) ... let me think if thats the right procedure (in regards to auto merging)18:39
rzrabout the version name18:42
asacrzr: i think should be fine18:42
asacno. all fine18:42
asacjust do as said18:42
rzrsee : https://launchpad.net/ubuntu/+source/cmake18:42
asacchange Vcs-Bzr header like above18:42
rzr2.6.0-4~hardy118:43
rzrwhile18:43
rzryou suggested me to name it : 1.3.10a~snapshot20080611-0ubuntu0.8.04+backports.118:43
asacrzr: no18:43
asacthis is not about version18:43
asacthis is about branch name18:43
asacthe version is ok like this18:43
rzrok I see18:43
asacjust hardy-backports for the distribution18:44
rzrhumm18:44
rzri am not sure we talk about the same thing18:44
rzrthe cmake guys just added ~hardyN to package version which was in X-Y form18:45
rzryou explained me that wont fit because it's not in X-(Y minus 1)  form18:46
rzrwell I commit this changeset then18:49
rzrasac: at your service sir : http://bazaar.launchpad.net/~rzr/firefox-extensions/flashblock.ubuntu/revision/1218:52
=== rzr is now known as rZr
armin76asac: hows that you don't use the distro useragent string on ff3?19:11
stek79_hello19:56
asacstek79_: hi21:10
Jazzvaasac, we did previous package for foxyproxy from xpi file. But there is a svn repo, which provides the build script and the rest. Should we switch to that one?21:13
Jazzvathe build script is not present in the xpi file21:14
asacJazzva: its not yet really understood how the auto syncher/merger would work for svn upstreams21:31
asacso for now we might wanna stick with svn21:31
asacerr, xpi ;)21:31
Jazzvaeasier for me :)21:32
asacJazzva: how do we unpack .xpi's?21:33
asacdo we we have a standard format?21:33
Jazzvai use unzip :)21:33
asacJazzva: yes, but the chrome jars need to be unpacked too21:34
asacjust committing .jar files is ugly21:34
Jazzvadownload xpi, unpack it, unpack chrome.jar (if present), create rules that will zip it all up, install, and then remove jar on clean21:34
Jazzvait's two more lines of code21:34
asacJazzva: where do you unpacke chrome.jar?21:34
Jazzvato chrome/21:34
asacJazzva: what do you do when there is more than one .jar in crhome?21:34
Jazzvathis extension have icons/ and foxyproxy.jar in chrome/.21:34
asacshould be quite common21:34
JazzvaMore than one? Still haven't bumped into that21:35
asacreally21:35
asachmm21:35
asacwe should do something about that imo21:35
JazzvaBut I suppose I would use debian/some_temp_dir21:35
asacJazzva: yes, but we need a working standard21:35
asacso every xpi extension is done in the same way ;)21:35
JazzvaCOUNT = 0; for JAR_FILE in `find chrome -name *.jar` ; do unpack_to($TEMP_DIR+$COUNT) ; $COUNT++ ; done21:37
Jazzvain pseudo-bash-pseudo-code :)21:37
asacwell. you would loose information about the name21:37
Jazzva$JAR_NAME+$COUNT21:37
Jazzva:)21:37
asacupack_to "$JAR_FILE!"21:37
asacwhy count?21:38
Jazzvaoh, right :)21:38
asac$JAR_FILE should be unique21:38
Jazzvayep, agree..21:38
asacappend the ! which is used in chrome.manifest to denote a .jar delimiter21:38
asacJazzva: ok, then we need a script to xpi_unpack <xpifile> <todir>21:39
asacand xpi_pack <xpifile> <indir>21:39
Jazzvaok, i'll try to make it. where to put it?21:39
asac:)21:39
asacJazzva: mozilla-devscripts21:39
Jazzvainside xpi.mk?21:39
asacJazzva: depends. i think we should make scripts out of them and then add convenience rules to xpi.mk that basically use xpi_pack21:40
asacJazzva: the scripts should be installed in $bindir21:40
asace.g. /usr/bin/21:40
asacltes name them mds-xpi-unpack and mds-xpi-pack21:40
asacor21:41
asacmed-xpi-...21:41
Jazzvak21:41
asacwhatever you prefer21:41
Jazzvaoff to dinner now. I'll see what I can do tonight :)21:42
Jazzvaasac, which mozilla-devscripts branch to use :)?22:23
[reed]asac / fta2: where do you all disable safebrowsing?22:32
[reed]I couldn't find it22:32
asac[reed]: its not disabled (anymore)22:51
asacJazzva: which branches do exist?22:51
asacJazzva: https://code.edge.launchpad.net/~mozillateam/mozilla-devscripts/mozilla-devscripts22:51
Jazzvaasac, sorry, was away from keyboard. Thanks for the link23:04
gnomefreakdo i need to be scared of my email tonight?23:27

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