/srv/irclogs.ubuntu.com/2004/11/15/#launchpad.txt

lifelessdaf: thats why there are build from source instructions right there.12:01
lifelessI might modify it to 'ix86 debs are autobuilt, the rest by volunteers that we trust - but we still cannot vouch...'12:01
dafI think a "it's not our fault if Bazaar ruins your life notice" might be less scary :)12:02
dafs/Bazaar/these Bazaar packages/12:02
=== elmo [~james@82.211.81.249] has joined #launchpad
BradBlifeless: what's your email. I'm confused as to why all the tests pass but I still get a failure. Maybe if I forward this you can give me a good reason why it fails.12:10
lifelessrobertc@robertcollins.net12:10
BradBspiv: what's your email?12:11
spivandrew@canonical.com :)12:11
BradBsent12:11
spivHeh.12:14
spivtest_on_merge.py is now *too* strict.12:14
spivThat final ignored exception broke the test for the last line of stderr being "OK\n" :)12:15
spivThe return value is sufficient... I'll fix test_on_merge.py :)12:15
BradBcool, thanks12:16
lifelessheh12:16
lifelessstdout is crack.12:16
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: star-merge from kiko. (patch-729)12:26
kikothat's ME!12:26
=== kiko lands view-hackage into tree
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Make test_on_merge.py rely only on exit code, to avoid spurious failures. (patch-730)12:30
=== bob2 [rob@bob2.user] has joined #launchpad
spivBradB: Try now :)12:32
kikostub, around?12:32
=== BradB will commit one more change locally then try spiv's change
dafkiko: he went to bed about four hours ago, I think12:34
kikoah, pity.12:34
dafum, no12:35
daftimezone confusion :)12:35
dafmake that 9 hours ago12:35
bob2hah12:37
bob2it's 1037 in stub-town12:37
dafyo, bob12:39
dafhow's things in bob2-town?12:39
=== BradB thinks Launchpad needs a Mao plugin
carlosX-)12:41
bob2daf: a bit hot, but not too shabby...how's ye olde wales?12:43
BradBdaf's in the country that just re-elected bush, i thought12:44
kikothey did, huh12:45
dafyeah :(12:45
dafwell, they didn't re-elect him, since they didn't elect him in the first place12:46
BradBwell "elect" him, whatever :P12:47
dafbob2: here is cold12:49
dafbob2: here is also New York12:49
BradBdaf: do you like it there?12:51
bob2daf: oh, wow...for work?12:51
bob2daf: also, wherever you are seems cold and/or wet12:51
bob2"everywhere you go, you always take the weaaaaaather with you"12:52
dafNew York sure is Crowded, Bob12:52
dafBradB: it's interesting :)12:53
stubkiko: am now12:53
bob2daf: hehehehe12:54
=== BradB is all about Montreal
BradBstub: I fixed that db problem; you owe me a sloppy wet kiss.12:55
stubI should warn you about my halitosis12:56
BradBheh heh12:56
kikostub, you da man! :)12:56
stubSee kiko - DVD's just don't cut it.12:56
kikostub, so, if you would like to update mawson you'll get my patches (in want of the views you'd add at the same time)12:56
kikostub, that's depressing, though.12:56
kikospiv is such a weenie he actually accepts and then invalidates the offer by slacking. good grief. 12:57
=== stub starts on updating mawson, before email distracts him for a few hours
kikothanks.01:02
BradBstub: you should wait dude01:02
BradBi've got a bigass commit to land, and one last failing func test (that i just recreated, because i broke the existing one)01:03
BradBstub: could you also configure email to send real emails out? my next commit will start sending global notifications to dilys as well.01:04
BradBand adds the product widget to bug add forms, and make source package not-required01:05
stubBradB: will do. Was brought up at the meeting last night, but I wanted to make sure you were happy with email being switched on01:05
BradByeah, might as well01:05
stubI got branches to merge and configs to backport and update scripts to write anyway ;)01:06
bob2lifeless: launchpad is like 350MB01:21
bob2"Ican't believe you only had 80MB free", indeed.01:21
lifelessI can't believe you only had 350MB.01:21
dafdaf@mabli ~/src/canonical/dists/launchpad> du -sh .01:22
daf165M    .01:22
daf?01:22
bob2hm, I guess I mean launchpad + buildbot01:22
dafbuildbot is 200M?01:22
lifeless(nyah, bob2 is smoking something)01:23
lifelessprobably a pristine tree.01:23
bob2oh01:23
bob2touche01:23
bob2with an accent01:23
=== daf hands bob an
bob2I have no compose key and I want to die.01:29
bob2mac keyboards have a distinct lack of extra keys01:30
bob2make run on current launchpad:01:38
bob2  File "/home/rob/projects/warthogs/launchpad/launchpad/lib/psycopgda/adapter.py", line 259, in ?01:38
bob2    DATE = psycopg.new_type((DATE_OID,), "ZDATE", _conv_date)01:38
bob2zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/rob/projects/warthogs/launchpad/launchpad/site.zcml", line 17.4-17.6401:38
bob2    ZopeXMLConfigurationError: File "/home/rob/projects/warthogs/launchpad/launchpad/package-includes/launchpad-sql-configure-normal.zcml", line 6.2-9.3401:38
bob2    AttributeError: 'module' object has no attribute 'new_type'01:38
dafurg01:40
BradBbob2: which psycopg are you using? it's worth verifying.01:48
bob2the config didn't get one, which zope also complained about01:49
bob2so I checked out...01:49
bob2rocketfuel@canonical.com/psycopgda--test--3.001:49
BradBthat's not psycopg01:50
bob2erm, right01:51
BradBtry importing psycopg from the command line01:51
bob2works01:51
BradBit would01:51
bob2I'll go back and check out the original error01:51
BradBbe see what version and .new_type01:52
BradB>>> import psycopg01:52
BradB>>> psycopg.new_type01:52
BradB<built-in function new_type>01:52
BradB>>> psycopg.__version__01:52
BradB'1.1.15'01:52
BradB>>> 01:52
bob2removing psyopga:01:52
bob2  File "/home/rob/projects/warthogs/launchpad/launchpad/lib/zope/configuration/fields.py", line 141, in fromUnicode01:52
bob2    raise schema.ValidationError(v)01:52
bob2zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/rob/projects/warthogs/launchpad/launchpad/site.zcml", line 5.4-5.3501:52
bob2    ZopeXMLConfigurationError: File "/home/rob/projects/warthogs/launchpad/launchpad/lib/canonical/configure.zcml", line 76.4-76.4401:52
bob2    ZopeXMLConfigurationError: File "/home/rob/projects/warthogs/launchpad/launchpad/lib/canonical/database/configure.zcml", line 5.401:53
bob2    ConfigurationError: ('Invalid value for', 'class', "Couldn't import canonical.launchpad.database, No module named psycopg")01:53
BradBeasy enough01:53
bob2hrm, after remocing psycopgda I can't import psycopg anymore01:53
dafsurely it should be the other way around?01:54
BradByou need to install psycopg is all01:54
bob2bah, I deleted the wrong thing01:54
bob2ok, let me start over01:56
BradBstub: oh well, go ahead and roll out a new lp, there's now six failures on the server again and i don't have time to do any more on this tonight02:12
stubok. sounds like whack-a-mole02:13
BradBargh, this is annoying02:15
BradBoh well, i gotta take off02:16
=== BradB is now known as BradB|out
bob2where can I find LP's psycopg?03:58
bob2it doesn't seem to be in rocketfuel at all03:58
spivbob2: apt-get03:58
bob2yeah, lifeless just said that03:58
bob2silly me03:58
spivThe LaunchpadDevelopmentEnvironment wiki page (or whatever the name is) is reasonably up to date.03:59
bob2ah, forgot about that, thanks04:00
bob2  File "/home/rob/projects/warthogs/launchpad-2/launchpad/lib/canonical/launchpad/database/project.py", line 98, in __iter__04:04
bob2    for row in self.table.select():04:04
bob2  File "/home/rob/projects/warthogs/launchpad-2/launchpad/lib/sqlobject/main.py", line 1198, in __iter__04:04
bob2    return conn.iterSelect(self)04:04
bob2  File "/home/rob/projects/warthogs/launchpad-2/launchpad/lib/sqlobject/dbconnection.py", line 507, in iterSelect04:04
bob2    select, keepConnection=True))04:04
bob2TypeError: iteration over non-sequence04:04
bob2127.0.0.1 - 16 [4/Nov/2004:14:03:13 +1100]  "GET /doap/projects/ HTTP/1.1" 200 292 "http://localhost:8085/doap" "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7) Gecko/20041013 Firefox/0.9.3 (Ubuntu)"04:04
bob2(when viewing the projects)04:04
bob2also when adding one04:04
spivUpdate your SQLOjbect.04:07
spivMake sure you have the latest sqlobject--test--0.604:07
bob2erk, oops04:11
spiv(Make sure the rest of your build config is up to date while you're there...)04:12
bob2this is the buldbot config, which seems a tad...broken04:12
lifelessout of date is more accurate.04:12
lifelessbut yeah04:12
bob2hm, and now it works04:13
bob2but I'm sure it didn't before04:13
lifelessgreat.04:18
lifelessnow you need to setup a simpe cvs repo on your hard disk, and then crate a 'revision control system' entry for that in launchpad04:18
bob2ok04:20
dilysMerge to rocketfuel@canonical.com/dists--devel--0: launchpad dogfood config and snapshot helper (patch-31)04:25
=== doko [doko@dsl-082-082-066-197.arcor-ip.net] has joined #launchpad
lifelessbob2: how is that going ?04:43
bob2lifeless: just cerating the cvs repository04:43
bob2which is suckage on the order of tla04:44
lifelesscvs init DIRECTORY04:44
lifelessor pydoc CVS04:44
bob2nope04:45
bob2-d or $CVSROOT04:45
lifelessimport CVS04:47
bob2oh04:48
bob2good point04:48
bob2lifeless: er, where do I tell LP about it again?04:50
lifelessproject, product, create revision control system04:50
bob2ah04:53
bob2it requires a tarball in addition to the repository url?04:54
lifelessno05:02
lifelessjust leave that field black.05:02
lifeless*blank*05:02
lifelessand give it :local:/path/to/rep in the rep field05:02
bob2the red dot next to it says "you have to fill me in", fwfw05:02
lifelessits bullshitting you05:02
bob2ah05:02
bob2and the module?05:02
lifelesswhatever module you ahve created in there05:02
lifeless(mkdir creates a module, FWIW)05:03
bob2is an empty module ok for buildbot?05:03
lifelessyes, but not for the test you need05:03
lifelesserrr05:03
bob2oh yeah, I need actual stuff to import05:03
lifelessyeah05:03
lifelessso. mkdir foo in the repo05:03
bob2ok, mkdir to make the module, co it out, "cvs add" some stuff, cvs ci05:03
lifelessthen checked with -d..yep05:03
bob2ok, cool05:04
lifelesschieck in a few different things with diff log emssages05:04
dilysMerge to thelove@canonical.com/hackerlab--devo--1.1: merge in chth@gmx.net--tla2004/hackerlab--pika-escaping-fix--0 which extends the character classes to allow bugfixes for tla (patch-3)05:19
dafwhat *is* pika-escaping?05:26
lifelessunicode escaping, NIH style.05:26
dafah05:26
dafyou know you have too many background processes when you have to grep the output of "jobs" to find the one you want05:27
bob2launchpad doesn't whine very hard when I fuck up an import specification05:27
lifelessdaf: garh05:27
lifelessbob2: what did you do ?05:27
bob2lifeless: didn't enter the arch branch details05:27
lifelessheh.05:27
bob2and there's no "sync me harder" button05:28
lifelessright, its fully separate.05:28
lifelessand ?05:28
bob2oh, I just want a button that says "sync me harder"05:29
lifelesstroll05:30
bob2you gotta keep people on their toes05:31
bob2a consistent UI is a bad UI05:31
bob2          File "/home/rob/projects/warthogs/launchpad-2/launchpad/botmaster/master.cfg", line 95, in ?05:43
bob2            clause="product.id = sourcesource.product AND project.id = product.project AND NOT project.name='do-not-use-info-imports' and NOT product.name='unassigned' and sourcesource.processingapproved is not NULL")05:43
bob2          File "./jobstuff.py", line 19, in processDB05:43
bob2            SQLBase.initZopeless(connectionForURI('postgres://' + dbhost +'/' + dbname))05:43
bob2        exceptions.AttributeError: type object 'SQLBase' has no attribute 'initZopeless'05:43
bob2lifeless: ^05:43
lifelessyou dropped in my jobstuff.py file ?05:44
lifelessrun up python with the right PYTHONPATH05:44
bob2in the botmaster dir? yes.05:44
lifelessoh, fraggit.05:45
lifelessI know05:45
bob2my fault?05:45
lifelessno05:48
lifeless.msged you05:48
bob2yeah05:48
stubBad PQM! Bad!05:48
stub'Package rocketfuel@canonical.com/launchpad--dogfood--0 not found in config'05:48
lifelesshmm.05:48
lifelessdo a debug attempt05:49
lifelessmail me the output05:49
stubI think it is because the line in the config is actually: ./dogfood       rocketfuel@canonical.com/launchpad--dogfood--0--base-005:49
stubHmm... I know what I want it to do, but I see why it is bitching...05:50
stubI think I need configs 'dogfood' which just lists the versions, and config 'dogfood-snapshot' which lists the explicit patch levels.05:51
lifelessstub: no, you don't.05:52
lifelessthats not how the code works.05:52
stubI'm thinking I need a 'latest patches' config which pqm uses to checkout a dogfood release to run the tests, and a 'snapshot' config which specifies revisions of all packages that were rolled out.05:55
stubMaybe this snapshot stuff is YAGNI - we probably don't actually care what version of sqlobject we were running last week.05:56
lifelessstub: I'm not tracking your needs here. AIUI a merge failed? please send me the debug run output I requested, and I'll fix it for you05:57
stubI think the debug submit is on the way. I can see why it is failing though.06:00
stubI'm specifying an explicit version in the build-config file (rocketfuel@canonical.com/launchpad--dogfood--0--base-0 atm). So when I tell PQM to merge my local changes of launchpad--dogfood--0 into rocketfuel@canonical.com/launchpad--dogfood--0, it fails. PQM isn't intelligent enough to truncate the --base-0, and I don't know if that would be correct in all situations anyway.06:02
dilysMerge to rocketfuel@canonical.com/arch-pqm--main--0: implement a debug command, which when seen causes all output to be returned in email (patch-14)06:03
stubbah - now pqm just isn't talking to be.06:24
=== stub goes to book plane tickets
stublifeless, elmo: look like I killed pqm07:51
lifelessbooya07:54
stubDon't know if that is any healthier...08:00
stublifeless: Still spinning08:09
lifelessboo08:10
stublifeless: Still no responses. Some lock not cleared?08:40
lifelessno, locks are fine.08:40
lifelessyou had killed it though.08:40
lifelessthere are no messages in its queue08:40
lifelessoh bah08:41
lifelessit doesn't barf anywhere nearly loud enough on a locked lock.08:41
dilysMerge to thelove@canonical.com/bazaar--devo--1.0: merge chth@gmx.net--tla2004/tla--taglineescaping--0 which fixes a lack of escaping in inode signatures (patch-60)08:50
dilysMerge to rocketfuel@canonical.com/dists--devel--0: seperate dogfood.snapshot config (patch-32)09:23
=== lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has joined #launchpad
=== Kinnison [~dsilvers@haddenham.pepperfish.net] has joined #launchpad
=== cprov [~cprov@200.158.100.251] has joined #launchpad
Kinnisonmorning cprov 11:45
cprovKinnison: morning, how are you ?11:59
KinnisonNot bad thanks12:00
=== bob2 [rob@bob2.user] has joined #launchpad
cprovKinnison: do you know any news about the lp_dogfood code update ? isn't it supposed to be yesterday night ?12:02
=== Kinnison has no idea; sorry
=== Kinnison has been too busy running through pretend domination exercises ready to write up that bit of lucille
cprovKinnison: ok.12:04
=== Kinnison thinks he's ready to write canonical.lucille.Dominator
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: get more gina bits merged (patch-731)12:13
Kinnisonthanks babe12:15
=== debonzi [~debonzi@200.158.100.251] has joined #launchpad
Kinnisonhey debonzi.12:28
=== carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad
carloshi12:32
debonzihi Kinnison12:33
stubSo - how do I restart that twisted thing I had to kill on Mawson to update the database schema?12:35
Kinnisoncd into the /srv/launchpad.ubuntu.com/librarian dir12:35
Kinnisonrun ./run-librarian.sh12:36
stubAnd that somehow telepatically picks up the correct ports and addresses? Or are the defaults fine?12:36
Kinnisonthe defaults are correct12:36
Kinnisonand it overrides the librarianroot etc.12:36
=== elmo [~james@82.211.81.249] has joined #launchpad
stubWell.. it appeared to do nothing so I'll assume it worked :-)12:37
stubprocess running at least12:38
Kinnisonheh12:40
Kinnisontail the log in that dir and see if it thinks it started up okay12:40
stubseems to have started up happily on port 8000 and set its uid & gid. No errors :)12:42
stubI like it when software works.12:42
=== Kinnison has a brainwave; replaces the word "binarypackage" with the word "build" in a whole pile of his mental processes and feels as the concepts intrinsically simply and a corner-case falls away for free
Kinnisons/simply/simplify/01:59
=== kiko [~kiko@200-206-134-238.async.com.br] has joined #launchpad
Kinnisonhey kiko02:28
kikohey kinni02:29
kikowhat's on? my views ruining the morning?02:30
=== Kinnison hasn't looked at 'em :-)
=== Kinnison is writing domination code
kikoheh02:31
kikospiv, you spivster!02:31
spivkiko, you... kikoster!02:35
kikonow I'm actually going to have to *work* on this holiday02:36
kikowaaaah02:36
spivHeh.02:38
=== stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has left #launchpad []
=== ddaa [~ddaa@nemesis.xlii.org] has joined #launchpad
=== ddaa has done some queries on the taxi data
ddaaspiv, lifeless: that stuff looks sane02:59
ddaaThe involvement of the branch table was not obvious at first, so I got some weirdness initially, though.03:00
ddaaI can get the revision listing, the hashes for log files, and there are no hashes for checksum files.03:01
spivddaa: Excellent :)03:01
ddaai would not bet my job that it is correct though, but it has passed the "is not obviously borken" test as far as I am concerned.03:02
ddaanot tested for sync though.03:02
ddaaspiv: are different code paths exercised for sync than for import?03:02
spivNo idea.03:09
lifelesstaxi is working - spiv has fixed the issue that was breaking us.03:10
lifelessbob2 is fixing the logic issue that he left behind in oxford.03:11
ddaalifeless: you are telling me there is not point in being paranoid?03:11
lifelessyes, exactly.03:11
=== ddaa puts --no-paranoid in his argv
lifelesstaxi itself is a thin wrapper around the database arch stuff, which was heavily tested.03:12
=== ddaa reloads
ddaaHello, my name is cindy.03:12
=== ddaa purge the cache and reload.
lifelessand I'm a material girl o/03:12
lifelessnight03:12
ddaaMaterial?03:12
lifelesssong reference03:13
ddaaHa. Weak reference then ;-)03:13
ddaag'night.03:14
ddaaspiv: do you have some pointers/keywords to find the magic stuff to get a python backtrace from gdb?03:16
spivddaa: I have it in my .gdbinit back in .au :/03:22
spivI remember it being difficult to google for, too :/03:22
ddaayup... google did not turn up anything useful...03:22
ddaatrying gmane, now03:22
ddaakw: python gdb backtrace03:23
spivAh: http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/gdbinit?view=markup03:23
spivWell, the python term is usually "traceback" :)03:23
spivLooks like it's in python cvs these days.03:24
ddaathis can explain that :-)03:24
ddaaI assume that twistd will use whatever python is first in the path, right?03:24
spivAlternatively, there's: "call PyRun_SimpleString("import sys, traceback; sys.stderr=open('/tmp/tb','w',0); traceback.print_stack()")"03:24
spiv(from http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope)03:25
ddaathat looks totally unsafe03:25
ddaathe python interpreter is all but reentrant.03:25
spivThe debian package of twistd's #! is #!/usr/bin/python2.303:26
=== ddaa sighs...
spivYou could do "/path/to/my/python `which twistd` ...."03:26
ddaaha, good. Thanks.03:27
spivIf you run Twisted out of a SVN checkout, "/path/to/my/python bin/twistd ...." would work.03:27
ddaaDo i look like a guy to run Twisted out of a SVN checkout? :-)03:28
=== debonzi -> lunch
=== BradB|out is now known as BradB
=== stub [~stub@dsl-246.248.240.220.dsl.comindico.com.au] has joined #launchpad
=== BradB is now known as BradB|brb
=== debonzi [~debonzi@200.158.100.251] has joined #launchpad
=== kiko is now known as kiko-fud
=== BradB|brb is now known as BradB
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Added some code to detect the po directories (patch-732)05:05
=== BradB notes how difficult it is to find the place to say "I forgot my password" on ubuntulinux.org
carlosBradB: there is a bug report open about that feature, because seems to be failing05:07
BradBthat's what i'm looking at :)05:07
carlos:-P05:07
BradBdebonzi: Do you have access to the error log for the forgottenpassword functionality? It's not part of the regular Plone site, so I have no idea where to look to find out what the error was.05:09
debonziBradB, I have no idea about it.. sorry05:15
carlosBradB: I think it's in our production launchpad server05:22
carlosbut I'm not sure05:22
BradBdebonzi: Who knows, Steve?05:23
=== salgado [~salgado@200-206-134-238.async.com.br] has joined #launchpad
debonziBradB, probably.. 05:26
carlosBradB: not sure, but I think spiv was working on it05:27
spivI know nothing about how the forgottenpassword thing works.05:29
=== Kinnison -> out for a bit; got mobile if you need me
carlosspiv: I thought you worked on the integration of launchpad's logins with our plone site..05:29
spivcarlos: Yes, I did. :)05:30
spivBut not the forgottenpassword bit :)05:30
BradBcarlos: It was debonzi and SteveA05:30
carlosoh, ok O:-)05:30
debonziBradB, Ive implemented it, but I have no idea where it is running and how it was inserted in the ubuntulinux site05:31
=== BradB punts this one to the eggman
=== carlos goes to the university
carloslater05:36
luluBradB: and elmo only added a single redirect to macquarie, so it looks like SteveA is the man to sort this!05:51
BradByep06:12
=== kiko-fud is now known as kiko
luluBradB:ping07:26
Kinnisonc'ya guys07:27
Kinnisontime for me to head off for the evening07:27
lulukinnison: ciao07:27
BradBlulu: pong07:29
luluBradb: :o) hey! Once RSS is enabled on the site, will it allow users to add an feed themselves?07:30
lulua feed...07:30
BradBlulu: not afaik07:34
luluoh, I was hoping they could! another item in the "add new item" drop down list.....07:35
luluok - thanks for that :o)07:36
BradBno prob. i don't know the sin_tool really well, but it's pretty simple, so perhaps we can look at that again when we know for sure which feeds we'll show, and then maybe we can see if there's some way to do what you want to do.07:37
luluBradB: yup - perhasp we should do a test run on ubuntu_test :o)07:50
luluI'm outta here - have a great weekend :o)07:51
=== lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has left #launchpad []
=== cprov [~cprov@200.158.100.251] has joined #launchpad
BradBkiko: you're evil.08:08
BradBclass SourcePackageRelease(SQLBase):08:08
BradB    implements(ISourcePackageRelease)08:08
BradB    _table = 'VSourcePackageReleasePublishing'08:08
BradB:(08:09
BradBno wonder i couldn't figure out why the table sourcepackagerelease has two rows, but my vocab was only spitting back one term every time.08:09
BradBkiko: can you look into this? this is the last thing preventing me from checking in now (the solution seems to either be to fix your view to outer join as needed to make absolutely sure that it returns a row for each row in sourcepackagerelease, or to set _table = "SourcePackageRelease", and create another class for this.08:12
=== BradB goes for lunch
=== BradB is now known as BradB|lunch
kikoBradB|lunch, I am indeed evil, you got that part right.08:38
kikoBradB|lunch, can you elaborate in details what your problem is?08:38
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: improves on soyuz people/person pages (patch-733)08:39
salgadostub: ping08:45
kikoI can only imagine stub's asleep08:49
=== kiko is now known as kiko-afk
=== mdz [~mdz@69-167-148-207.vnnyca.adelphia.net] has joined #launchpad
=== carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad
ddaaHo my... vte looks terribly like it used arch back in 200209:18
ddaathe first revision is removing a .arch-ids directory...09:18
ddaalifeless: what do we do of that one? Contact upstream to figure out what's up?09:19
=== carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad
=== BradB|lunch is now known as BradB
BradBkiko-afk: the problem is that you made SourcePackageRelease a view.09:41
BradBkiko-afk: this creates two issues (correct me if i'm wrong):09:41
BradB1. it doesn't behave the same as if the table were SourcePackageRelease (as mentioned above, there's two rows in SPR, but I only get one result now that your view has been swapped in place of what used to be the SPR table)09:42
BradB2. people who expect to assign to SPR attributes are in for a surprise.09:42
=== debonzi -> dinner
dafBradB: I haven't received any Malone announcements yet10:11
=== debonzi [~debonzi@200-158-107-151.dsl.telesp.net.br] has joined #launchpad
=== debonzi is now known as debonzi|dinner
BradBdaf: i haven't been able to land my changes yet10:14
BradBdaf: and i have to wait for kiko-afk till i can10:14
kiko-afkoy oy10:15
BradBwoo, the man who can save the dya10:15
kiko-afkBradB, you're right on the second count. I'm not *entirely* sure that you're right on the first one10:15
BradBi am right on the first one, i'm seeing it happen, and my tests are now breaking because of it :)10:16
kiko-afkheh10:16
BradBif you want to reproduce it, you can check against your sample data.10:16
kiko-afksure10:16
kiko-afkcan you describe it more precisely?10:16
kiko-afkthe real fix is to use a separate class for the view, btw10:16
kiko-afkand not hitch on sourcepackagerelease for it10:16
BradBindeed it is10:16
kiko-afkproblem is that's not a trivial task10:16
kiko-afkcan you by any chance work around me for today? I've got salgado on it10:17
BradBhere's the exact problem (one sec):10:17
spivOuch, go to https://launchpad.ubuntu.com/malone/bugs, click on #5.10:17
BradBthat's a dead chicken anyway10:18
BradBit was a bug mdz entered when i demo'd malone to him10:18
BradBso the data has since gotten blown away it looks like10:18
=== BradB resets his db to show kiko the spr view prob
BradBkiko-afk:10:20
BradBlaunchpad_dev=# select count(*) from sourcepackagerelease;10:20
BradB count 10:20
BradB-------10:20
BradB     210:20
BradB(1 row)10:20
BradBlaunchpad_dev=# select count(*) from vsourcepackagereleasepublishing;10:20
BradB count 10:20
BradB-------10:20
BradB     110:20
BradB(1 row)10:20
kiko-afkI wonder how that happens.10:20
kiko-afkcan I see the rows themselves?10:20
BradBmissing an outer join surely10:20
BradBkiko-afk: http://paste.husk.org/193110:22
BradBa quick hack might be to do whatever you tell me to do with that row to make it join, but then, it's possible that'd break something else10:23
kiko-afkBradB, can't you just comment out the test?10:23
BradBalternatively, to just put the table name back in _table, but that too might cause tests to fail10:23
BradBkiko-afk: nope, it's about 7 of my page tests10:23
kiko-afkthis needs some looking into -- it seems that you're using broken sample data10:23
BradBkiko-afk: i'm using *the* sample data :)10:23
dafkiko-afk: get a move on :)10:23
kiko-afkit may be broken -- it's not a gina run -- because the essential join with release is in the publishing tables and I suspect yours is empty.10:24
BradBkiko-afk: in any case, i'm not concerned about the details of the view itself, SourcePackageRelease's table needs to be the correct one again (i.e. SourcePackageRelease) without everything blowing up. I can try simply making that change, but I'm dubious.10:25
spivIs adding a comment to a bug expected to fail with an IOError.10:25
kiko-afkr=kiko on trying that, as anything I would do would take more time.10:25
kiko-afkseriously10:25
kiko-afkI have salgado on it but I would be producing the "correct" fix10:25
kiko-afknot a reversal hack.10:25
BradBspiv: yes! heh, no :P10:26
kiko-afkyou can revert to the original table and comment out the extra columns, I guess10:26
spivBradB: OError: [Errno 13]  Permission denied: '/var/tmp/launchpad_mailqueue/tmp/1099602988.9384.rosetta' :)10:26
spivEr, IOError :)10:26
BradBwee, mail delivery doesn't have the correct perms10:26
BradBthat's stub's problem10:26
spivstub: Whee!10:26
=== BradB tries the SPR hack
=== spiv files a bug...
BradBspiv: thanks10:27
spivBradB: Except I can't -- not in malone...10:28
BradBah, good point10:28
spivBecause of the same error :)10:28
BradByes, urgh10:28
=== spiv resorts to bugzilla
dilysNew bug 2157 for Launchpad/Malone: Can't add new bugs or comments due to IOError10:30
dilyshttps://bugzilla.warthogs.hbd.com/bugzilla/show_bug.cgi?id=215710:30
BradBkiko-afk: From my end, I'll change ISourcePackageRelease and SourcePackageRelease to be suitable for the SPR table. From your end, all you should need to do is make a new interface and class for the view, and then change whatever code's using it to use that view class instead of SPR.10:38
kiko-afkBradB, will do. salgado, sounds okay?10:39
salgadokiko-afk: yes10:40
BradBkiko-afk: What do we call SQLObjects that are views then? VFoo?10:41
BradBMaybe the same as the view name in the DB, who knows...10:41
BradBkiko-afk: Also, could you give me meaningful descriptions of each of the following please:10:44
BradB    builddepends = Attribute("")10:44
BradB    builddependsindep = Attribute("")10:44
BradB    architecturehintlist = Attribute("")10:44
BradB    dsc = Attribute("")10:44
kiko-afkthose 4?10:46
kiko-afkkinni would be a better person to ask.10:46
kiko-afkbuilddepends is a list of packages on which this package depends on to build (comma-separated)10:47
kiko-afkdsc is the dsc file (I believe it's a librarian ID for it or something)10:47
kiko-afkbuilddependsindep are architecture-independent packages this package depends on to buid; according to elmo this is a hack that could go away IIRC10:48
kiko-afkarchhintlist is beyond me, I don't know.10:48
BradBWhat's a DSC file?10:49
BradBI've heard the term bandied about, but I'm no package maintainer so I still don't know what it means.10:49
kiko-afkDEB source description? Something like that.10:49
BradBah10:49
kiko-afkit lives inside a source package10:49
BradBis it like a manifest?10:50
lifelessddaa: look on google.10:51
lifelesssee if you can determine if arch is still in use.10:51
lifelessif it is, and they have the history, we can just mirror.10:51
=== BradB uses google to find out what a dsc is :P
lifelessotherwise we cscvs and use their ids10:51
ddaaWill do. Just not today.10:52
ddaaI checked the supermirror and did not find anything convincing.10:52
ddaaAnd I know jblack has been to great lenghts to get his hands on anything google could find.10:52
ddaabtw the "use their ids" part eludes me. How?10:53
lifelesscscvs can use a reference tree to determine file ids10:55
ddaaI know, I wrote that feature...10:56
ddaaI mean, how do I put that into the import process?10:56
ddaaHow, and btw, what gave me the clue is that some cvs rvsns do put the ids in the tree, or other revisions remove them.10:57
=== ddaa checks the changelog
ddaaNeverminh...10:58
ddaabrainfart...10:58
ddaagot confused by the presence of id files in the changelog...10:59
dilysNew bug 2158 for Launchpad/Database: SourcePackageRelease table does not have comments10:59
dilyshttps://bugzilla.warthogs.hbd.com/bugzilla/show_bug.cgi?id=215810:59
ddaalifeless: vte looks good to go, then.10:59
lifelessddaa: can you do the project & product mappings for it?11:00
ddaaAye aye.11:01
elmodebian source control I think, but it's basically, a file ending in ".dsc"11:06
=== netjoined: irc.freenode.net -> sendak.freenode.net
=== salgado [~salgado@200-206-134-238.async.com.br] has joined #launchpad
=== netjoined: irc.freenode.net -> sendak.freenode.net
=== salgado [~salgado@200-206-134-238.async.com.br] has joined #launchpad
salgadoBradB: mark asked me to create a new sampledata, and it's done now. it's a mix of a gina run and the current sampledata. can you try it, and tell me if it's ok for you?11:40
BradBsalgado: hm? that's not the real problem here.11:40
BradBthe fix for the Real Problem is currently being merged by pqm (at least i hope i don't get yet another failure, anyway)11:41
salgadoBradB: I know it's not the problem. 11:41
salgadoI only want to get some feedback of the new sampledata, before merging it11:42
BradBsalgado: the real problem from my perspective was that SourcePackageRelease wasn't a SourcePackageRelease. I'm leaving the view stuff in your guys' hands though, because it doesn't affect me once the latter problem is fixed, which it now is.11:42
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: built a forcefield for malone. some cleanup, and moving around of pagetest-related code. bug add form fixes. unbroke SourcePackageRelease. (patch-734)11:45
salgadoBradB: tomorrow I'll be hacking on the VSPR bug. the new sampledata has nothing to do with it11:45
=== BradB praises the lord (re: pqm accepting my merge :)
BradBstub: time for a new dogfood rollout dude!11:46
BradBspiv, kiko-afk, stub: can you think of any reason why I'd care what the "nickname" of a bug is?11:52
=== kiko-afk is now known as kiko
kikoit's an alias, it's often useful when you have gobs of thousands of bugs.11:52
BradB(I'm now cleaning up the bug listing to rename Owner => Submitted, add Assigned To, and remove "nickname" probably)11:52
kikoinstead of bug 231421321111:52
BradBhm11:52
kikoyou can have bug "sourcepackage-views"11:52
BradBkiko: bugzilla uses numbers though11:52
BradBI'd rather have "2113"11:53
BradBkiko: realistically nicknames'll go the way of hotmail addresses: "sourcepackage-views-69"11:53
kikoBradB, bugzilla has both numbers and aliases, for the record.11:59
kikoI should know -- I helped review the original code ;)12:00
BradBfair enough :P12:00

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