text
stringlengths
15
499
[00:35] <thumper> yay for fixes already landed :)
[00:35] <spm> heh
[00:38] * thumper afk to get Maia
=== kiko is now known as kiko-zzz
[02:01] <mwhudson> lunchtime
[03:19] <thumper> for an api write operation does the changed object get streamed back to the launchpadlib client?
[03:20] <thumper> also, is the vocabulary checked?
[03:20] <thumper> hmm...
[03:21] <wgrant> A Choice argument is checked server-side.
[03:21] <wgrant> And client-side in really new launchpadlibs.
[03:21] <wgrant> And IIRC the object does get given back in response to a PATCH, but I'm not sure why you care.
[03:22] <thumper> wgrant: IBranch.setOwner
[03:22] <thumper> wgrant: changes the state of the branch
[03:23] <thumper> wgrant: and possibly the branch name if there is a clash
[03:23] <wgrant> Oh dear.
[03:23] <wgrant> That's awkward.
[03:23] <thumper> wgrant: I'm wondering what gets sent back to the client
[03:23] <thumper> ideally I'd like it to just work
[03:23] <wgrant> It should.
[03:24] <wgrant> Because launchpadlib just looks at self_link to work out the name.
[03:24] * thumper looks in registry/interfaces/person.py
[03:25] <wgrant> I know one good way to find out.
[03:27] <thumper> wgrant: which is?
[03:28] * thumper broke buildbot
[03:28] <wgrant> thumper: Use launchpadlib on launchpad.dev.
[03:28] * thumper broke the build, not buildbot
[03:28] <wgrant> buildbot doesn't seem to need people to break it.
[03:28] <thumper> heh
[03:35] <mwhudson> thumper: a http redirect gets sent back if the url has changed, i think
[03:35] <thumper> mwhudson: hmm...
[03:36] <mwhudson> yeah
[03:36] <thumper> mwhudson: http://pastebin.ubuntu.com/235582/
[03:36] <thumper> mwhudson: for my testfix :(
[03:37] <mwhudson> lazr.restful/src/lazr/restful/_resource.py:1099 and tharabouts
[03:37] <thumper> mwhudson: what is the meaning to the client though?
[03:37] <mwhudson> thumper: r=me with a side of 'ya doctests'
[03:37] <mwhudson> thumper: it will go to the new url and presumably get the new version of the object
[03:37] <mwhudson> i guess
[03:37] * thumper hopes
[03:37] <mwhudson> i dunno, like wgrant says, try it, i guess
[03:38] <mwhudson> thumper: in some sense, it's not so different to any other modifying operation, is it?
[03:38] <thumper> mwhudson: well... this one will change the canonical_url of the branch
[03:39] <mwhudson> thumper: oh right
[03:41] <thumper> mwhudson: generate_entry_adapter -- hmm, I wonder if lazr is gaining adapters
[03:42] <mwhudson> there are certainly adapters all over
[03:42] <mwhudson> thumper: about your testfix, are you sure that that's the only test that is broken?
[03:45] <thumper> yes
[03:45] <mwhudson> cool
[03:45] <thumper> almost
[03:45] <thumper> pretty sure
[03:45] <thumper> 99.9%
[03:45] <thumper> can I pqm-submit a branch on LP without a local copy?
[03:52] <mwhudson> you can write the submit mail by hand i guess
[03:52] <mwhudson> bzr pqm-submit --dry-run in some other branch, copy paste into email client, change, send
[03:57] <mwhudson> spm: you'd think in the 1hr10 since i pinged you, i could have written the queries :)
[03:57] <mwhudson> but no
[03:57] <thumper> oh the irony
[03:57] <thumper> bzr branch lp:hg-git
[03:58] <thumper> I just approved the import
[03:58] <spm> mwhudson: heh. "no comment"
[03:59] <mwhudson> spm: select distinct 'https://code.edge.launchpad.net/' || unique_name from codeimportresult, codeimport, branch where codeimportresult.code_import = codeimport.id and codeimport.branch = branch.id and codeimportresult.log_excerpt like '%extant%';
[03:59] <mwhudson> spm: staging is fine
[03:59] <thumper> oh FFS
[04:00] <spm> mwhudson: timed? or results?
[04:00] <mwhudson> spm: results
[04:06] <thumper> ok
[04:06] <thumper> got jml's branch in pqm
[04:13] <thumper> spm: do you know if our buildbot is smart enough to check the commit log before saying testfix mode?
[04:13] <thumper> spm: although I have a feeling our commit regex won't allow [testfix] through until we are in testfix right?
[04:14] <spm> thumper: off hand I don't know - I suspect it's a mix of pqm'isms vs buildbot'isms working in new and interesting ways.
[04:14] * thumper waits until buildbot complains before submitting the testfix
[04:16] <spm> thumper: the not-thinking-hard-eyeballing suggests that being in testfix won't matter to the RE
[04:16] <spm> as in both the success and failure configs look for testfix
[04:17] <thumper> really?
[04:17] <thumper> spm: so I could submit a [testfix] now?
[04:17] <thumper> spm: does [testfix][r=xxx] with no [ui work?
[04:19] <spm> thumper: to devel? no. db-devel - I believe! will
[04:19] <thumper> gah
[04:56] * thumper is shepharding his 7th landing
[05:07] * thumper waits for buildbot to crap itself to submit testfix...
[05:08] <thumper> spm: what is the regex for devel in failure mode?
[05:08] <spm> thumper: commit_re=(?is)^\s*\[testfix\]\s*\[(?:release-critical|rs?=[^\]]+)\]
[05:09] <thumper> spm: ta
[05:27] <thumper> mwhudson: a start -- https://dev.launchpad.net/Code/PostThreeDotO
[05:30] <wgrant> Mmmm. Sphinx.
[05:30] <thumper> maybe...
[05:31] <wgrant> Only maybe? Sad.
[05:31] <thumper> we need to get the entire idea approved first
[05:31] <thumper> but I'd like to see it happen
[05:31] <thumper> I think it has a good chance as far as any site hosting goes
[05:32] <thumper> my thoughts are that we'd have an option of "No processing" or "Sphinx it" on the contents of a branch
[05:32] <thumper> to host the content
[05:32] <thumper> although we should also support existing documentation in a subdirectory of an existing branch
[05:32] <thumper> hence the other task
[05:32] <wgrant> Right.
[05:33] <thumper> that was basicly a brain dump from Monday
[05:33] <thumper> I've been meaning to write it up
[05:33] <thumper> I'm sure it isn't complete
[05:33] <thumper> as I said, doesn't count any bug work
[05:33] <thumper> nor general UI improvements