/srv/irclogs.ubuntu.com/2008/05/29/#ubuntu-mozillateam.txt

gnomefreakJazzva: ok im heading to bed let me know what you find out if anything, i was building on intrepid so maybe that is why?00:16
gnomefreaki think i was00:16
gnomefreakgood night00:16
Jazzvahmm, i'm trying on intrepid too. it reports 1 new addon is installed, but it doesn't show up. I'll look into it more00:17
JazzvaGood night, gnomefreak00:17
=== Admiral_laptop is now known as Admiral_Chicago
asachi.08:58
armin76asac: mozilla bug 436133 :)10:46
ubottuMozilla bug 436133 in Networking: Cookies "Cookies build failure on hppa" [Normal,Assigned] http://bugzilla.mozilla.org/show_bug.cgi?id=43613310:46
asacarmin76: so its ok to not complain about base aligned casts?11:03
asacs/base/bad/11:04
armin76asac: i have no clue11:06
armin76asac: with the patch i did? yeah, it compiles11:28
asacarmin76: and starts?11:29
armin76asac: yeah11:36
jeroen-asac: I see that only xulrunner RC1 packages are in hardy-proposed, but not firefox RC1 packages. Will that not give problems; mixing b5 and rc1? For me it doiesnt matter because I have the rc1 packages from launchpad installed.13:25
asacjeroen-: upgrading should not be possible before both arrived13:31
asacif you can upgrade using update-manager or apt-get upgrade let me know13:31
asacdist-upgrade might remove your firefox packages though :/13:32
jeroen-asac: ah ok, thats why it was updating for me, because I have the rc1-packages from launchpad.13:32
asacjeroen-: the packages were just uploaded. will take another two hours or so until all is build13:32
jeroen-ok :-)13:32
asacjeroen-: yes, that should work13:32
jeroen-great13:32
armin76feature!13:34
=== asac changed the topic of #ubuntu-mozillateam to: https://wiki.ubuntu.com/MozillaTeam | Mailing List: ubuntu-mozillateam@lists.ubuntu.com | Mozilla QA tracker https://mozilla.qa.stgraber.org/ => please subscribe to help out | firefox 3 rc1 in intrepid and hardy-proposed | firefox 3 blockers left: http://tinyurl.com/5cdqvp
jetsaredimasac: what's the story with the firefox packages?15:05
asacjetsaredim: which packages?15:05
asacRC1?15:05
jetsaredimgot a list of upgrades this morning for hardy and its set to remove firefox15:06
asacjetsaredim: where do you see that?15:06
asacjetsaredim: what are you running?15:07
asacapt-get dist-upgrade?15:07
jetsaredimjust using the tray tool15:07
jetsaredimfor kubuntu15:07
jetsaredimbut yea - that's probably what its running15:07
asacupdate-manager shouldnt propose removal of packages, instead hide them as partial upgrades15:07
asacif kubuntu behaves differently then thats a problem15:08
jetsaredimi think its related to xulrunner update15:08
asacjetsaredim: well ... the _all package is not yet there as amd64 has finished to build i guess15:08
asacthus the firefox meta package is not yet available and a dist-upgrade might try to resolve this by removing firefox package15:09
jetsaredimfun15:09
jetsaredimok15:09
asacbut that shouldnt happen using the GUI tools nor the apt-get upgrade15:09
asacplease dont remove, but wait another hour or so15:09
asackeep me updated if that goes away15:09
* asac short break15:10
jeroen-is there a way I can find out what the difference are between the build  oof Fx3rc2 in ppa.launchpad and the one in the hardy-proposed repo?15:20
jeroen-just out of curiousity15:20
jeroen-Fx3rc2=Fx3rc115:21
asacjeroen-: you need to inspect the upstream changes15:22
jeroen-asac: ok, and where do I do that?15:23
asacjeroen-: packaging changes should be rare, but documented in debian/changelog15:23
asacjeroen-: bonsai.mozilla.org?15:23
jeroen-ok15:23
asacthere you can see what was checked in15:23
jeroen-great15:23
asacor diff the two orig.tar.gz balls15:23
asacmaybe you can find RC1 changes upstream somewhere15:23
asacto get a prepared list of changes15:23
asacnot sure though if that was drafted yet15:24
asacerr, RC2 i mean15:24
jeroen-rc@?15:24
jeroen-rc2?15:24
jeroen-well there be a rc?15:24
jeroen-another rc15:24
asacyes15:24
asacrc215:24
jeroen-ok15:24
asacnext week15:24
armin76fta: apply my patch!16:07
fta...16:14
armin76fta: noes?16:33
ftalack of context16:33
armin76mozilla bug 43613316:34
ubottuMozilla bug 436133 in Networking: Cookies "Cookies build failure on hppa" [Normal,Assigned] http://bugzilla.mozilla.org/show_bug.cgi?id=43613316:34
jimmy_asac: ping18:01
asacjimmy_: hi18:05
asaccurrently chatting in #ubuntu-mobile18:05
asacjimmy_: what about?18:06
asacjimmy_: ill drop out for a few hours (i think 2-3) ... lets chat then. If my ssh keys are in already let me know, so i can update the packaging branches18:09
jimmy_asac: i'll ping the admin again18:12
asacthanks18:12
asacsorry, for the hurry, but i want the midbrowser bits go up to proposed asap. all other bits are already pushed there and wait for final ack before the whole ball gets rolled to -updates (aka the world masses)18:13
asacall this will hopefully become unnecessary once xulrunner 1.9 is final :/18:13
asacno more breakage during merges (well in theory), speak: paradise :)18:14
jimmy_asac: ok, i'll ping you later on the XDC directory stuff when you are back, I can't get it working :(18:17
asacjimmy_: yes. feel free to write the problem in the meantime ... ill read the backlog18:20
* asac now out18:20
jimmy_asac:           var dirSvc = Components.classes["@mozilla.org/file/directory_service;1"]18:45
jimmy_                                 .getService(Components.interfaces.nsIProperties);18:45
jimmy_          var profileDir = null;18:45
jimmy_          try {18:45
jimmy_            profileDir = dirSvc.get("ProfD", Components.interfaces.nsIFile);18:45
jimmy_          } catch (e) { }18:45
jimmy_asac: i used the above code and I can get the profile directory without problems18:45
jimmy_but I couldn't get any of the XDC directories, what string literals should I put in?18:46
=== jt1 is now known as jtv
asacjimmy_: but didnt the same code work in the javascript case?19:09
asacjimmy_: what is needed to claim "xulrunner-1.9 support" ?19:11
asacavailable in hardy, hardy-updates, hardy-security or mobile PPA?19:11
asacjimmy_: point is xulrunner-1.9 RC1 is in hardy-proposed which your builds might not catch19:12
asacjimmy_: but without midbrowser in hardy-proposed it will not rolled to -updates19:12
asacso its a chicken egg thing19:12
asacjimmy_: once my keys are in I can merge to master, hardy then bake release and upload to -proposed19:12
asaci see no other way of doing this.19:13
asacjimmy_: we might face similar situations in future, so either you have to accept a few days breakage of hardy/master branch or we have to figure out how we can bring the -proposed packages to your build19:13
asaccwong1: ^^^ maybe intersting for you to read as well19:14
asacjimmy_: run xdg-user-dir VIDEOS on the system and see what it prints19:18
asacdoes it give you the right directory?19:18
asacok nickserv fixed :-D20:30
asacrebooting my irssi server20:45
asaclets press thumbs that this old thing comes up again :)20:46
gnomefreakonly reason it wouldnt is if your running intrepid and didnt respin it with new perl20:46
* gnomefreak not really here working on an unbrella diagram20:47
armin76asac is having fun :D20:47
asac_james_w: is there a spec draft for distributed development in wiki yet?20:56
asac_james_w: maybe i can add the notes i have from our discussion to a scratchboard section so you can consider those thoughts while drafting?20:56
james_whttps://wiki.ubuntu.com/DistributedDevelopment/ImporterSpecification20:56
james_wyes, please do.20:56
asac_james_w: to what extend does this cover the topics we talked about like "coupling of ubuntu releases with upstream revisions/branches"?20:57
asac_james_w: what is a "revision spec" ?20:58
asac_tag?20:58
asac_bzr diff -r package:0.3.2-1..package:0.3.2-120:58
asac_?20:58
james_wthat's more advanced than this spec, but if you stick your thoughts in there I will make sure they are taken account of, and will move them to appropriate specs when they come along.20:58
asac_ok20:58
james_wa revisionspec is anything you can pass to the -r option, e.g. tag: revid: date: etc.20:58
james_w"bzr help revisionspec" lists them all20:59
asac_and in our case its just a tag with syntax?20:59
asac_or is that something more generic that wades through commits and picks the topmost commit with that changelog version20:59
james_wyeah, it will resolve to a revision via a tag.20:59
james_wno, that would be a lot slower, so if we can use tags we should, a tag is just a dictionary lookup.21:00
asac_james_w: ok but the tag could be set automatically during ubzr commit ;)21:00
asac_or maybe ubzr release21:00
asac_:)21:00
james_wyep, that's the idea21:00
asac_james_w: ok, from what i see there is not much specified about importing upstream branches21:01
asac_well not really upstream, but rather orig.tar.gz21:01
asac_branches if you want to track debian for instance21:01
james_wnope, Debian is the next stage, with upstreams some time after that.21:02
asac_james_w: but arent orig.tar.gz relevant independent from debian/upstream/ubuntu ?21:02
asac_or are we going native by default for now?21:02
james_wbut for the extension stuff, which I imagine won't be in Debian for the most part, we could have something that does the upstream imports using these branches.21:02
james_woh yeah, I see what you mean, I've ignored that, I should add it in, thanks.21:03
asac_james_w: yes, i think managing the orig.tar.gz + package branch is the most interesting part of that spec.21:03
james_wthere are branches for the .orig.tar.gz imports (though they may not be accessible directly, but you can easily extract them from the packaging branch)21:03
asac_james_w: extract them from the packaging branch?21:04
asac_how?21:04
james_wthere will be a command to extract the branch, add the new version, and then merge it in21:04
james_wyou can extract them with "bzr branch", you just need to know the revision to grab21:04
asac_err, how can i get the pristine upstream branch out of a ubuntu branch?21:04
=== asac_ is now known as asac
james_wthere will probably be some sort of "upstream:" revisionspec so you could do "bzr branch -r upstream:1.2" to get it.21:07
asacjames_w: you say i can extract the upstream source merged into the https://code.edge.launchpad.net/~ubuntu-dev/firefox-extensions/firebug.ubuntu at revision 19 without looking at .upstream ?21:07
asachttps://code.edge.launchpad.net/~jetsaredim/firefox-extensions/firebug.upstream21:08
asaci think thats the upstream branch21:08
asachow can i get it from the .ubuntu branch?21:08
asacjames_w: wow. thats pleasent21:08
asacit really worked like bzr branch -r 1.1.2 firebug.ubuntu test.123421:09
james_wyup21:10
james_wwe just have to be careful to make it clear that the .upstream branches should not be committed to except for upstream releases/snapshots.21:10
asacjames_w: ok, but in case the auto merge fails we wont have a chance to merge manually if we dont have the upstream branch on the net.21:11
asacjames_w: yes, thats for sure21:11
james_wI don't want to make them too visible, and I want to handle them automatically, but I can certainly see the value in being able to access them21:11
asacjames_w: but we should be able to read the "auto-imported" branches21:11
asacjames_w: why hide them?21:11
asacif they are in a read-only area that should be fine imo21:11
james_wah yeah, for auto merge you will need to make them public, that's true.21:12
asacjames_w: s/auto/manual/ => i agree21:12
asacok sounds promissing21:12
james_wthey can't be read-only as you need to write to them for new upstream releases, but things like fixing bugs directly in the upstream branch is wrong.21:13
asacif we can do upstream branch maintenance outside the auto thing that would be even better ... e.g. we could do our own ~extension-upstream team that receives only auto updated .xpi's21:13
james_woh yes, sorry, for manual merges if the auto merge fails.21:13
asacjames_w: right. i thought that we get auto import of new origs right from the beginning21:13
james_woh no, that requires too much of launchpad currently.21:13
james_wwe could perhaps scripts something on the side using watch files21:14
asacjames_w: ok, but can we provide hooks that the distro team can maintain on their own to pull in from different sources, using different code?21:14
james_wand I'd like to get it working for your .xpis which will be a good prototype.21:14
asacyes, something like watches ... but maybe more flexible21:14
james_wI'm not sure what you mean by hooks.21:14
asacawesome21:14
asacjames_w: i think its what you propose: the ability to deploy new scripts21:15
asaceasily21:15
asacat best inside the package (like watch files)21:15
asacso we dont need to request launchpad changes for each and every new upstream source21:16
asacno idea if thats possible by policy though21:16
james_wah, what I meant by launchpad changes is that they want to have links to every upstream project, and a way to watch for new releases of that project.21:16
james_win the long term we would hook in to that for notification.21:17
asacjames_w: so is there anything we can start to do without having the auto-build in launchpad feature?21:17
james_wwe can certainly do our own thing in the mean time.21:17
james_wI can see that the auto-build would be great for your large scale maintenance, in the mean time we can set up all the infrastructure and write some commands that act like it would be autobuilt, but instead dput to the archive.21:18
asacjames_w: yes, thats what i mean21:18
james_wthat's basically what's going to happen across the distro until the auto-build is available.21:19
james_wwe will want to have a command that does it all, so when it's all available we just switch the dput part off.21:19
asacack21:19
asacwell ... maybe soyuz wants to run dput locally even ;)21:19
asacwho knows21:20
james_wheh, yeah, but that's their problem.21:20
james_wone thing that we haven't solved yet (well, not that I've heard) is the trust thing21:20
james_wif a build is triggered by a push then it is just relying on ssh keys, rather than gpg keys.21:21
asacjames_w: in our largescale thing design we require some kind of authoritive seed that enables extension auto import21:21
asacjames_w: i guess we probably need somethign similar for the distro wide thing too21:21
asace.g. some config branch where only archive-admins can commit to21:22
james_wyou mean the list of extensions you want to package?21:22
asacjames_w: yes, the extensions that were approved to get auto orig syncs and merge attempts ;)21:22
asacand in the meantime an authoritive list about what can be uploaded from where21:23
james_wah, ok, we can probably just use a text file stored in bzr on launchpad that it pulls before working.21:23
asacjames_w: i think we have two stages of approval here: 1st. upstream source import -> review license and general quality21:23
asac2nd. packaging review before letting the initial package in21:23
asac3rd. binary review, but that is properly served by the current binary NEW review process imo21:24
james_wyup, I think we can make that work.21:24
asacso three stages, out of which the first two ones need a new bzr driven model21:24
asacjames_w: one step back. if i tag a release on a .upstream branch ... merge that into the .ubuntu branch, can i then get the upstream branch from .ubuntu branch by using that tag?21:27
james_wyep21:28
james_w"bzr branch -r tag:whatever . ../upstream"21:28
asacjames_w: decent21:30
jimmy_asac: back from lunch21:34
asacjimmy_: ok21:38
asacgo ahead21:38
jimmy_asac: i sent the admin another email already, but seem like he might be out on vacation or something21:39
asacjimmy_: unfortunate21:39
asacjimmy_: so whats the problem with XDG :) ?21:40
jimmy_asac: Carl doesn't want me to check anything major in the master branch while he's gone, :(  so I think it would be better for him to come back to do the upgrade to rc1, i think it would be fine to do the hardy branch tho21:41
asacjimmy_: when will he come back?21:41
jimmy_monday21:41
jimmy_he said he'll check his email tho and can respond if neccessary21:42
jimmy_because he's not really out of town21:42
jimmy_but he haven't responded yet21:42
asacok lets hope he responds21:43
jimmy_asac: so with the XDG stuff, I thought that you said the XDG logic is already integrated in firefox, so that i can look up the XDG directories, i tried xdg-user-dir VIDEO, and it just prints my home directory, so how do you really enable XDG in firefox?21:44
asacjimmy_: try xdg-user-dir MUSIC21:45
asacif that works, it should work in general21:45
jimmy_asac: ok, MUSIC works21:46
asacjimmy_: could you show me the code you actually used?21:46
asacyou only posted the ProfD code21:47
jimmy_asac: http://paste.ubuntu.com/15638/21:50
jimmy_am i not using the right string literals? something other than XDG_MUSIC_DIR?21:53
asacjimmy_: the macros are wrong21:53
ftaasac, [reed], https://cube.sofaraway.org/gallery/main.php?g2_itemId=2621:54
asacjimmy_: to get the proper ones do a grep XDG_ xpcom/io/nsDirectoryServiceDefs.h21:54
asacfta: yeah ... are all pics from you?21:54
ftaasac, yes, except the 2 group pics21:55
asacyeah21:55
asaccool21:55
asacjimmy_: ok, think thats going to work21:56
asacgreat21:56
asac:)21:56
jimmy_asac: ok, let me try those21:57
asacjimmy_: i think you need to #ifdef XP_UNIX your code additions to make them feasible for upstream21:57
asacah you did ;)21:58
asacgood21:58
asacjimmy_: why is the code to test "bymimetype" not in the same hunk as the other changes?21:59
asacjimmy_: ok. some nifty clean ups:21:59
asacmaybe browser.download.autoXdgDir22:02
jimmy_asac: i can clean it up a bit after i get it working, because i just re-used the old code i did earlier22:02
asacok fine22:02
asacits mostly that the variables should match the code style22:02
asaclike bymimetype -> byMimeType22:03
asacand maybe useXdgTarget or somethign instead :)22:03
asacbut thats micro thing ... upstream certainly will have their own ideas ;)22:04
asacjames_w: ok i am scripting some skeletons; should we use debian/rules expose the API required to hook in upstream updates?22:08
asacjames_w: like: ./debian/rules orig-stable-upgrade-available :)22:08
james_whow much do these vary across the extensions?22:09
asacjames_w: well ... most come from addons.mozilla.org22:09
asacwe have a script that parses that22:09
asacand we can certainly get the info about current packaged version, latest addons.mozilla.org release versino out of that22:10
asacthe other case is that there are extensions packaged from svn. but for now i am fine to ignore them22:10
james_wthe problem with putting it in debian/rules is if script was required to change for a new upstream release.22:10
james_wso, would you be able to write a script that got the any new .xpi given just the extension name?22:11
james_wor would it be too extension specific for that?22:11
asacjames_w: yes.22:12
ftamozilla bug 43595922:12
asacjames_w:  we could maintain "plugins" for certain upstream methods (e.g. debian, manual, AMO). the AMO script could then implement that.22:12
ubottuMozilla bug 435959 in Security: PSM "Firefox 3 RC 2 should take NSS 3.12 RC 4" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=43595922:12
asacjames_w: and packages could specify Xs-Upstream-Method: AMO22:13
asacin control22:13
james_wasac: if it's not one method per extension then I think keeping it out of the package would be good22:13
james_wah, that could work well.22:13
asacjames_w: yes. i like the idea to maintain a set of methods outside the package that can be used22:13
asacby packages22:13
james_wthough if we have a file that lists the extensions that are approved, then it may make sense to put the information in there.22:14
asacjames_w: hmm22:14
james_wso that we don't have to have a package already for the initial import22:14
james_wor is the initial import going to be done completely by hand?22:14
asacjames_w: good point. however, i'd like to keep the "master list" as stupid as possible22:14
asacif you want to do things locally having that info in the control file would be helpful i guess22:14
james_wwhat are the chances of a plugin changing method?22:15
james_wwould you for instance switch to svn if you wanted a snapshot?22:15
asacjames_w: depends. if the upstream area is not writable for human beings we need to bootstrap through that master/seed file. otherwise doing by hand would be possible22:15
asacjames_w: yes, a switch is unlikely, but we should consider this imo22:15
asacjames_w: maybe put that information in the .upstream branch?22:15
asacso when we switch method we can just commit that change manually to .upstream branch?22:16
james_wI'm not sure where we could put it in .upstream, but it does make sense22:16
asacbut cluttering upstream branch tree is not a good idea22:16
asacjames_w: bzr should really be able to maintain meta info outside the file tree ;)22:17
james_wa text file would work, but yeah, it clutters it, and means you don't have exactly upstream.22:17
asacjust like files, just not in the checkout tree ;)22:17
james_wasac: I agree. There is .bzr/branch/branch.conf, but it doesn't propagate all the values22:18
asacjames_w: is that versioned?22:18
james_wnope22:18
asacquestion is if we the model we want can rely on bzr specifics22:18
asacor should it be implementable on top of other modern vcs soltuions?22:18
james_wfor initial work on this I would just put it in the master file, for the simple reason that it's less code.22:19
asacjames_w: right. makes sense imo22:19
asacjames_w: i think archive admins that will probably maintain that list should see any change of upstream method and approve it manually22:19
asacso that would work22:20
asacbut still the info isnt there in the branch. but well. we will figure something i guess22:20
james_wyeah, it's not great for doing it locally, so we may want to transition away when we have a good plan.22:20
asacjames_w: ok, so i guess we will come up with a plugin script: 'amo-upstream' that allows you to do "./amo-upstream has-new $current_version" and "./amo-upstream fetch-new $target_dir"22:22
james_wthat would be good22:22
asac'amo-upstream' that allows you to do "./amo-upstream $package has-new $current_version" and "./amo-upstream $package fetch-new $target_dir"22:22
asaci guess the comment should be at $1 though22:22
asaccommand22:22
asacsorry22:22
asacjimmy_: where are we for the xdg patch :) ?22:25
jimmy_asac: ok, it is working :)22:28
asacjimmy_: awesome22:28
jimmy_asac: i just need to clean up a code a little bit22:28
asacjimmy_: yeah22:28
ftahttp://www.kaply.com/weblog/2008/05/28/the-browser-with-no-name/22:36
asac[reed]: mozilla bug 421977 lacks review? maybe ask someone != gavin?22:38
ubottuMozilla bug 421977 in OS Integration "nsGNOMEShellService::GetDesktopBackgroundColor should support GConf's actual format" [Normal,Assigned] http://bugzilla.mozilla.org/show_bug.cgi?id=42197722:38
ftahttp://hackademix.net/2008/05/28/unpatched-flash-vulnerability-widely-exploited-in-the-wild/22:51
asacthx22:54
jimmy_asac: http://paste.ubuntu.com/15671/23:16
jimmy_asac: check if this patch is ok23:17
asacjimmy_: ok. i think to get this into upstream we have to come up with some research on whether those mime-type string matches make sense23:25
asacdo we have a list of all "registered" mime-types so we can filter out if we catch most cases of audio/video?23:26
asacand images23:26
asacjimmy_: i dont like the idea to default to documents23:26
asacshouldnt the default be just "DOWNLOADS" dir?23:26
jimmy_asac: Dowloads or desktop would be fine23:27
asacand if you want those to go to documents in Moblin you can setup xdg-user.dirs to point to the proper directoy23:27
asacjimmy_: please use DOWNLOADS as default. if we can find a smart match for standard document types we might add those23:27
asacto DOCUMENTS23:27
jimmy_asac: ok23:28
jimmy_asac: i dun really know of a way to smartly diferentiate audio, video and image mimetypes besides those keywords, unless you actually do a string match of all available types23:29
jimmy_asac: there are always special cases like application/vnd.rn-realmedia-vbr, which is a realmedia video23:30
asacjimmy_: i think in order to decide what to do here, we first have to do some research on what mime type map to what download directory :)23:37
asacif there are just a few cases that are not covered, then we can probably keep the current match23:37
asacjimmy_: how is fingerscroll going?23:38
asacjimmy_: is fingerscroll just grabanddrag for text input fields?23:39
jimmy_are you talking about the moko stuff?23:40
asacjimmy_: i think so ... though i am not referring to moko in particular. What does it do?23:44
asacif its just grabanddragfor text input fields we can do it on our own i guess23:45
jimmy_i believe so23:49
jimmy_because the current grabanddrag is not working for scrollboxes other than the web pages23:50
jimmy_and Carl was trying to integrate moko libraries into the browser, but it has some complications where the browser is using multiple gtk windows, and moko does not support multiple gtk windows well in the current stage23:51
jimmy_so i think they decided to just stick with grabanddrag for now for navigations23:52

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