Re: [Launchpad-dev] Filtering out conjoined/private bugs in python with no extra DB queries

2012-03-21 Thread Guilherme Salgado
On 21/03/12 04:57, Stuart Bishop wrote: On Mon, Mar 19, 2012 at 11:37 PM, Guilherme Salgado guilherme.salg...@linaro.org wrote: (This is for ProductSeries tasks; need similar for DistroSeries) if productseries is not None and product is None: if (productseries.id

Re: [Launchpad-dev] Filtering out conjoined/private bugs in python with no extra DB queries

2012-03-21 Thread Guilherme Salgado
On 21/03/12 06:40, Robert Collins wrote: On Tue, Mar 20, 2012 at 5:37 AM, Guilherme Salgado guilherme.salg...@linaro.org wrote: Hi there, In order to implement https://dev.launchpad.net/Projects/WorkItems we have a query for BugTasks that returns all tasks assigned to any member of a team

Re: [Launchpad-dev] Filtering out conjoined/private bugs in python with no extra DB queries

2012-03-21 Thread Guilherme Salgado
On 21/03/12 09:50, Guilherme Salgado wrote: On 21/03/12 06:40, Robert Collins wrote: On Tue, Mar 20, 2012 at 5:37 AM, Guilherme Salgado guilherme.salg...@linaro.org wrote: Hi there, In order to implement https://dev.launchpad.net/Projects/WorkItems we have a query for BugTasks that returns

[Launchpad-dev] Filtering out conjoined/private bugs in python with no extra DB queries

2012-03-19 Thread Guilherme Salgado
guys think it's possible we can afford that sort of thing? -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev

[Launchpad-dev] Notifying owners/assignees of BPs whose work items cannot be migrated

2012-03-15 Thread Guilherme Salgado
file attached here has all the steps necessary to do so, for when the time comes to do the migration of Ubuntu blueprints. Hope it helps. -- Guilherme Salgado https://launchpad.net/~salgado 1. Get the logs /srv/launchpad.net-logs/scripts/ackee/garbo-frequently.log 2. Every time the garbo runs

[Launchpad-dev] QA of the new work items UI

2012-03-14 Thread Guilherme Salgado
not specific to work-items; it affects any inline textarea widgets as I mentioned in the bug. No idea how much work it'd be to fix that, though. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: OpenPGP digital signature

[Launchpad-dev] Clarifications about native support for blueprint work items

2012-03-08 Thread Guilherme Salgado
-lp-property/+merge/96135 [4] https://lists.launchpad.net/launchpad-dev/msg09104.html -- Guilherme Salgado https://launchpad.net/~salgado attachment: new-wi-ui.png signature.asc Description: OpenPGP digital signature ___ Mailing list: https

Re: [Launchpad-dev] Exploratory testing for the work items branch

2012-03-06 Thread Guilherme Salgado
:948201]] multiple edits lose the previous data. * [[Bug:948194]] work items Widget red border seems displaced * [[Bug:948197]] help link seems in the wrong place. maybe put it next to the work items header? Commented on the bugs. Cheers, -- Guilherme Salgado https://launchpad.net/~salgado

[Launchpad-dev] Blueprints with work items that cannot be migrated

2012-03-05 Thread Guilherme Salgado
). Does anybody have concerns with that, or any other ideas? [1] just copy from one text area to another, save, get an error because something's wrong with them, fix the errors and save -- all in a single page with no full-page reloads -- Guilherme Salgado https://launchpad.net/~salgado

[Launchpad-dev] Where should we announce the BP work-item changes?

2012-02-28 Thread Guilherme Salgado
this as well? [1] This is a trivial change which I'm going to propose for lp:launchpad-work-items-tracker but the folks running an instance of that will have to pull those changes Cheers, -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: OpenPGP digital signature

Re: [Launchpad-dev] Parsing/validating work items

2012-02-22 Thread Guilherme Salgado
On 21/02/12 20:27, William Grant wrote: On 22/02/12 06:12, Guilherme Salgado wrote: Hi, (resending this as I wasn't subscribed to the list when I sent the first time; I apologise in advance if you get this twice) As we've mentioned earlier the new UI to edit work items is going

Re: [Launchpad-dev] Parsing/validating work items

2012-02-22 Thread Guilherme Salgado
On 21/02/12 17:44, Benji York wrote: On Tue, Feb 21, 2012 at 2:12 PM, Guilherme Salgado guilherme.salg...@linaro.org wrote: And this means the parsing (which implies validating the input as well) will happen twice: once when the form machinery validates the input and again when it passes

[Launchpad-dev] Parsing/validating work items

2012-02-21 Thread Guilherme Salgado
around having to parse the whole thing twice, but I thought I'd ask in case anyone knows a better way to do this. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: OpenPGP digital signature ___ Mailing list: https

Re: [Launchpad-dev] Displaying work items in the correct order

2012-02-16 Thread Guilherme Salgado
complicated if we wanted to batch it as well (can we even do it?), so it's starting to feel like the best alternative is to actually keep the code simple and let it issue as many updates as necessary, which won't be that many even when all rows are changed. KISS IMO. -- Guilherme Salgado https

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-10 Thread Guilherme Salgado
On 10/02/12 05:00, Jonathan Lange wrote: On Thu, Feb 9, 2012 at 12:57 AM, Robert Collins robe...@robertcollins.net wrote: On Thu, Feb 9, 2012 at 12:49 PM, Guilherme Salgado salg...@canonical.com wrote: I think that's going to be challenging. My gut reaction would be to look for 1. Code

[Launchpad-dev] Can we get rid of +specworkload?

2012-02-10 Thread Guilherme Salgado
that are not used much and then consider killing them or combining with others [1] https://blueprints.launchpad.net/~loco-philippine-team/+specworkload -- Guilherme Salgado https://launchpad.net/~salgado specworkload-stats.sh Description: application/shellscript signature.asc Description

Re: [Launchpad-dev] Can we get rid of +specworkload?

2012-02-10 Thread Guilherme Salgado
On 10/02/12 13:22, Martin Pool wrote: On 11 February 2012 07:51, Guilherme Salgado guilherme.salg...@linaro.org wrote: After grepping through the logs I found that there were only 115 requests (after excluding the ones that came from google searches for things seemingly unrelated to LP

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-09 Thread Guilherme Salgado
On 08/02/12 16:57, Robert Collins wrote: On Thu, Feb 9, 2012 at 12:49 PM, Guilherme Salgado salg...@canonical.com wrote: I think that's going to be challenging. My gut reaction would be to look for 1. Code that's no longer used and can be removed 2. Duplicated code which could be moved

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-07 Thread Guilherme Salgado
On 06/02/12 15:55, Guilherme Salgado wrote: Hi Francis, On 06/02/12 13:57, Francis J. Lacoste wrote: On 12-02-03 02:28 PM, Guilherme Salgado wrote: Hi, So, we had a chat with Matt earlier this week and while we work on the user-testing for the team-based report we'd like to present our

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-06 Thread Guilherme Salgado
On 06/02/12 10:17, Clint Byrum wrote: Excerpts from Matthew Revell's message of Mon Feb 06 04:15:30 -0800 2012: On 3 February 2012 19:28, Guilherme Salgado guilherme.salg...@linaro.org wrote: So, we had a chat with Matt earlier this week and while we work on the user-testing for the team

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-06 Thread Guilherme Salgado
On 06/02/12 04:15, Matthew Revell wrote: On 3 February 2012 19:28, Guilherme Salgado guilherme.salg...@linaro.org wrote: So, we had a chat with Matt earlier this week and while we work on the user-testing for the team-based report we'd like to present our plan to migrate the work items from

Re: [Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-06 Thread Guilherme Salgado
Hi Francis, On 06/02/12 13:57, Francis J. Lacoste wrote: On 12-02-03 02:28 PM, Guilherme Salgado wrote: Hi, So, we had a chat with Matt earlier this week and while we work on the user-testing for the team-based report we'd like to present our plan to migrate the work items from the whiteboard

[Launchpad-dev] Plan to migrate Blueprint work items from whiteboards

2012-02-03 Thread Guilherme Salgado
://code.launchpad.net/~linaro-infrastructure/launchpad/workitems-migration-script -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~launchpad-dev Post

Re: [Launchpad-dev] Blueprint work items as first class objects, and a bit more

2012-01-26 Thread Guilherme Salgado
On 26/01/12 09:03, Matthew Revell wrote: On 20 January 2012 20:18, Guilherme Salgado guilherme.salg...@linaro.org wrote: In Linaro we've been discussing a new report that would show the upcoming work assigned to a given team, aggregating work items from blueprints and bugs (see the attached

Re: [Launchpad-dev] Blueprint work items as first class objects, and a bit more

2012-01-23 Thread Guilherme Salgado
On 23/01/12 09:46, Stuart Bishop wrote: On Sat, Jan 21, 2012 at 3:18 AM, Guilherme Salgado guilherme.salg...@linaro.org wrote: Oh, I'm also attaching the SQL for the new tables we think would be necessary for this. We can worry about the indexes and such later when this becomes more

Re: [Launchpad-dev] Fun fact of the day: Launchpad permissions

2011-03-31 Thread Guilherme Salgado
On Thu, 2011-03-31 at 09:28 +0100, Jonathan Lange wrote: On Wed, Mar 30, 2011 at 8:09 PM, Guilherme Salgado salg...@canonical.com wrote: On Wed, 2011-03-30 at 10:12 +0100, Gavin Panella wrote: On 29 March 2011 17:52, Jonathan Lange j...@canonical.com wrote: [...] (grep 'permission

Re: [Launchpad-dev] Fun fact of the day: Launchpad permissions

2011-03-30 Thread Guilherme Salgado
] is the best tool we have for this sort of thing as it leverages our zope component declarations to show a lot of information about our interfaces/adapters/utilities. [1] https://devpad.canonical.com/~gary -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description

Re: [Launchpad-dev] do we have guidelines on what goes in model, and what in browser?

2010-12-13 Thread Guilherme Salgado
utilities to get access to model code. That's to ensure browser code can't get access to non-security-proxied model code. This should certainly be documented, but I don't think it's directly related to what Robert is proposing? -- Guilherme Salgado https://launchpad.net/~salgado signature.asc

Re: [Launchpad-dev] Failing to start postgres

2010-12-02 Thread Guilherme Salgado
On Thu, 2010-12-02 at 15:41 +0700, Stuart Bishop wrote: On Mon, Nov 29, 2010 at 9:57 PM, Guilherme Salgado salg...@canonical.com wrote: Hi there, Since the last kernel upgrade (yesterday, IIRC) I can no longer start postgres up. I get the following error, and /proc/sys/kernel/shmmax

Re: [Launchpad-dev] download-cache repo upgraded to 2a (was Re: rocketfuel-get failure when branching download-cache)

2010-11-30 Thread Guilherme Salgado
On Mon, 2010-11-29 at 16:27 -0500, Gary Poster wrote: On Nov 29, 2010, at 2:00 PM, Gary Poster wrote: On Nov 29, 2010, at 12:34 PM, Guilherme Salgado wrote: On Mon, 2010-11-29 at 11:02 -0500, Gary Poster wrote: download-cache has been upgraded to 2a. The following works for me

[Launchpad-dev] Failing to start postgres

2010-11-29 Thread Guilherme Salgado
documentation contains more information about shared memory configuration. [fail] -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] download-cache repo upgraded to 2a (was Re: rocketfuel-get failure when branching download-cache)

2010-11-29 Thread Guilherme Salgado
to the same format for better performance. bzr: ERROR: KnitPackRepository('file:///var/launchpad/download-cache/.bzr/repository/') is not compatible with RemoteRepository(bzr+ssh://bazaar.launchpad.net/% 2Bbranch/lp-source-dependencies/.bzr/) different rich-root support -- Guilherme Salgado

Re: [Launchpad-dev] Postgres doesn't have an array_agg() function in ec2?

2010-11-22 Thread Guilherme Salgado
://help.launchpad.net/ListHelp -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe

Re: [Launchpad-dev] Postgres doesn't have an array_agg() function in ec2?

2010-11-22 Thread Guilherme Salgado
On Mon, 2010-11-22 at 15:37 +, Gavin Panella wrote: On 22 November 2010 13:37, Guilherme Salgado salg...@canonical.com wrote: On Fri, 2010-11-19 at 18:59 +, Jonathan Lange wrote: On Fri, Nov 19, 2010 at 6:49 PM, Deryck Hodge deryck.ho...@canonical.com wrote: On Fri, Nov 19, 2010

Re: [Launchpad-dev] Page and Windmill Test Experiment

2010-11-03 Thread Guilherme Salgado
the tests under lp.app.bugs disabling just the windmill tests? -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post

Re: [Launchpad-dev] database layer resetting sequences cronjob tests

2010-10-01 Thread Guilherme Salgado
been written to the db - or ??? Or force a DB reset whenever a test runs anything in a subprocess, regardless of changes to the DB. Not optimal but we shouldn't have many tests that run subprocesses, so maybe worth considering if all else fails. -- Guilherme Salgado https://launchpad.net

Re: [Launchpad-dev] Performance Tuesday, high diving into BugTask:+index

2010-09-21 Thread Guilherme Salgado
/prepare method is called. What do you think? -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev

Re: [Launchpad-dev] Need some help to understand weirdness with the propertycache API

2010-09-14 Thread Guilherme Salgado
=... / in ZCML to call your python code that does the actual registration. health. Remember that different layers load different sets of ZCML. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] Some launchpad data model thoughts

2010-08-26 Thread Guilherme Salgado
don't even know what MGPP stands for, so I can't answer that. Anyway, I'd be really happy to help evaluating the feasibility of such a refactoring and/or doing it. [1] At least most of the ones that have been touched in the last couple years -- Guilherme Salgado https://launchpad.net/~salgado

Re: [Launchpad-dev] Some launchpad data model thoughts

2010-08-26 Thread Guilherme Salgado
On Thu, 2010-08-26 at 16:44 +0100, Jonathan Lange wrote: On Thu, Aug 26, 2010 at 2:47 PM, Guilherme Salgado salg...@canonical.com wrote: ... On Thu, 2010-08-26 at 08:52 +1000, Ian Booth wrote: [...] What would I do? Well layered architectures I've worked with in the past include

Re: [Launchpad-dev] Binary upload processing

2010-08-24 Thread Guilherme Salgado
On Tue, 2010-08-24 at 08:34 +0100, Julian Edwards wrote: On Monday 23 August 2010 21:44:01 Guilherme Salgado wrote: And that means we don't need to accept binary-only uploads on the security policy either, right? The security policy is redundant, we can remove it entirely. I've got

Re: [Launchpad-dev] Binary upload processing

2010-08-23 Thread Guilherme Salgado
On Mon, 2010-08-16 at 22:27 +0100, Julian Edwards wrote: On Monday 16 August 2010 19:24:56 Guilherme Salgado wrote: Each policy sets can_upload_source, can_upload_binaries and can_upload_mixed, but you have to set the first two to True to have the last checked, meaning that all three

Re: [Launchpad-dev] New coding standard for formatting imports

2010-08-19 Thread Guilherme Salgado
provide much the same convenience, but leave us still writing standard Python. We would also lose the ability to use in-editor pyflakes to find undefined names. It's true we wouldn't need it for missing imports anymore, but that's not the only source of undefined names. -- Guilherme Salgado https

Re: [Launchpad-dev] New coding standard for formatting imports

2010-08-18 Thread Guilherme Salgado
similar plugins I'd found. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net

Re: [Launchpad-dev] Best way to fix canonical_url

2010-08-18 Thread Guilherme Salgado
@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https

Re: [Launchpad-dev] Best way to fix canonical_url

2010-08-18 Thread Guilherme Salgado
, or maybe even a simple mapping of rootsites to layers. Mostly because even though the view check in canonical_url() is not doing the correct thing, it still catches 404 links. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] Binary upload processing

2010-08-17 Thread Guilherme Salgado
On Mon, 2010-08-16 at 22:27 +0100, Julian Edwards wrote: On Monday 16 August 2010 19:24:56 Guilherme Salgado wrote: Each policy sets can_upload_source, can_upload_binaries and can_upload_mixed, but you have to set the first two to True to have the last checked, meaning that all three

Re: [Launchpad-dev] Binary upload processing

2010-08-16 Thread Guilherme Salgado
Hi Julian, This was a discussion we had off-list but since I'm going to start working on it, I thought it'd be a good idea to see if you're happy with the proposed solution. On Fri, 2010-07-30 at 16:48 -0300, Guilherme Salgado wrote: Hi James, On Fri, 2010-07-30 at 13:56 -0400, James Westby

Re: [Launchpad-dev] Binary upload processing

2010-08-16 Thread Guilherme Salgado
On Mon, 2010-08-16 at 15:24 -0300, Guilherme Salgado wrote: Hi Julian, This was a discussion we had off-list but since I'm going to start working on it, I thought it'd be a good idea to see if you're happy with the proposed solution. On Fri, 2010-07-30 at 16:48 -0300, Guilherme Salgado

Re: [Launchpad-dev] ec2 instances not shutting down

2010-08-13 Thread Guilherme Salgado
on? jml ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp -- Guilherme Salgado https

Re: [Launchpad-dev] Spurious failures?

2010-08-13 Thread Guilherme Salgado
-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

[Launchpad-dev] Spurious failures?

2010-08-12 Thread Guilherme Salgado
I've got these failures from ec2 but can't reproduce them locally nor on ec2. Has anyone seen them before? Forwarded Message From: Guilherme Salgado salg...@canonical.com To: Guilherme Salgado salg...@canonical.com Subject: Test results: FAILURE Date: Thu, 12 Aug 2010 23:03:52

Re: [Launchpad-dev] optimizing adding team members

2010-08-11 Thread Guilherme Salgado
python/storm but now does most of its stuff using SQL directly. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post

Re: [Launchpad-dev] Isolating shipit

2010-08-10 Thread Guilherme Salgado
proposing, but I thought it'd be worth mentioning. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev

[Launchpad-dev] apidoc.launchpad.dev

2010-07-29 Thread Guilherme Salgado
them, adapters, views, global utilities, zcml directives and a few other things, so go check it out. Before you can do that, though, you need to either run rocketfuel-setup or manually add apidoc.launchpad.dev to your /etc/hosts. As always, feedback and patches are appreciated. -- Guilherme

Re: [Launchpad-dev] Would you like to have zope's apidoc for Launchpad?

2010-07-21 Thread Guilherme Salgado
On Tue, 2010-07-20 at 23:12 +0200, Guilherme Salgado wrote: On Mon, 2010-07-19 at 10:05 +0200, Guilherme Salgado wrote: Hi there, In case you haven't seen http://apidoc.zope.org I strongly suggest you check it out -- it's very convenient for us using zope3/ztk. I've been trying

Re: [Launchpad-dev] Would you like to have zope's apidoc for Launchpad?

2010-07-20 Thread Guilherme Salgado
On Mon, 2010-07-19 at 10:05 +0200, Guilherme Salgado wrote: Hi there, In case you haven't seen http://apidoc.zope.org I strongly suggest you check it out -- it's very convenient for us using zope3/ztk. I've been trying to get that to work on Launchpad (at apidoc.launchpad.dev) so

[Launchpad-dev] Would you like to have zope's apidoc for Launchpad?

2010-07-19 Thread Guilherme Salgado
. The diff is at http://paste.ubuntu.com/465796/ and you need to add apidoc.launchpad.dev to /etc/hosts before you can give it a try. Cheers, -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] Adapters API

2010-06-30 Thread Guilherme Salgado
use case) because it has the potential of complicating things significantly, given the number of dependencies the registry has on other apps. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] [Fwd: Test results: FAILURE]

2010-06-08 Thread Guilherme Salgado
. Could that import line have been automatically dropped because python2.6 was the default? Gary On Jun 7, 2010, at 11:23 AM, Guilherme Salgado wrote: Hi Gary, I was hoping to land my branch switching LP to use the default system python today, but got this failure. It only happens

Re: [Launchpad-dev] Anyone here doing Launchpad development in VMs?

2010-05-26 Thread Guilherme Salgado
on a ramdisk - we're doing a lot of random seeking - memory pressure is pushing stuff pagetests need out - windmill is slow - ... blocktrace is probably your key friend here. That and/or systemtap. Martin speaks highly of 'prof' but I've not had time to play with it yet. -Rob -- Guilherme

Re: [Launchpad-dev] Anyone here doing Launchpad development in VMs?

2010-05-25 Thread Guilherme Salgado
we just get SSDs to the boxes that run the buildbot slaves? ;) -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post

Re: [Launchpad-dev] Connections left open after switching to read only mode

2010-05-24 Thread Guilherme Salgado
On Fri, 2010-05-21 at 16:49 -0400, Gary Poster wrote: On May 8, 2010, at 8:34 AM, Stuart Bishop wrote: On Fri, May 7, 2010 at 8:28 PM, Guilherme Salgado salg...@canonical.com wrote: The latter should work as long as the ROMDP returns the romode store (pointing to the standalone DB

[Launchpad-dev] faq-views.txt failing on python2.6

2010-05-19 Thread Guilherme Salgado
(view.render(), 'portlet-latest-faqs') Differences (ndiff with -expected +actual): + WARNING:root:Memcache set failed for pt:testrunner:lp/answers/templates/faqcollection-portlet-faqs.pt,10892:p:20,2:1,http_//127.0.0.1?None2DKOg161sJ3XE2Z2MJNcXq -- Guilherme Salgado https

Re: [Launchpad-dev] Connections left open after switching to read only mode

2010-05-11 Thread Guilherme Salgado
out can proceed -- the LOSAs don't proceed with a roll out if there's any open connections to any DB other than the standalone (read-only) replica. -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] Connections left open after switching to read only mode

2010-05-07 Thread Guilherme Salgado
On Fri, 2010-05-07 at 17:46 +0700, Stuart Bishop wrote: On Fri, May 7, 2010 at 12:56 AM, Guilherme Salgado salg...@canonical.com wrote: We could do what you suggest, but that'd require teaching the librarian about read-only stores as well, as I think we're using the read-only.txt file

[Launchpad-dev] Connections left open after switching to read only mode

2010-05-06 Thread Guilherme Salgado
-foundations/+bug/531834 [2] IIRC, this was done to support LaunchpadZopelessLayer.switchDBUser() -- Guilherme Salgado https://launchpad.net/~salgado signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net

Re: [Launchpad-dev] Connections left open after switching to read only mode

2010-05-06 Thread Guilherme Salgado
On Thu, 2010-05-06 at 23:23 +0700, Stuart Bishop wrote: On Thu, May 6, 2010 at 9:41 PM, Guilherme Salgado salg...@canonical.com wrote: My changes for the read-only switch, though, introduced a way of changing config values at runtime, thus exposing the problem. Is there any particular

Re: [Launchpad-dev] Appserver death and meliae overruns, oh my!

2010-04-06 Thread Guilherme Salgado
large to convert to int ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp -- Guilherme Salgado

Re: [Launchpad-dev] Appserver death and meliae overruns, oh my!

2010-04-06 Thread Guilherme Salgado
On Tue, 2010-04-06 at 13:38 -0400, Aaron Bentley wrote: On 04/06/2010 01:34 PM, Guilherme Salgado wrote: On Tue, 2010-04-06 at 10:28 -0400, Aaron Bentley wrote: Since PyGPGME is busted on Lucid, I've been trying to run tests on a Karmic VM. Unfortunately, that is busted too. See output

Re: [Launchpad-dev] [tech] Help creating the Architectural Vision!

2010-03-31 Thread Guilherme Salgado
? -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev

Re: [Launchpad-dev] Trouble loading a meliae dump

2010-03-30 Thread Guilherme Salgado
On Sat, 2010-03-20 at 00:40 -0500, John Arbash Meinel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guilherme Salgado wrote: Hi John, I've used meliae to get a memory dump from Launchpad, but when I tried to load that dump I got http://paste.ubuntu.com/397273/ (the first line

Re: [Launchpad-dev] [Branch ~launchpad-pqm/launchpad/devel] Rev 10575: [r=gary][ui=none] Make it possible to use launchpadlib in web service

2010-03-26 Thread Guilherme Salgado
at your branch to see how you refactored the code to avoid the unnecessary expensive operations in setupGlobs(). [1] https://code.edge.launchpad.net/~mwhudson/launchpad/aiee-everything-is-broken/+merge/22185 -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally

Re: [Launchpad-dev] Can't seem to 'ec2 land' a merge proposal

2010-03-18 Thread Guilherme Salgado
On Thu, 2010-03-18 at 11:27 +, Jelmer Vernooij wrote: On Fri, 2010-03-12 at 09:11 -0300, Guilherme Salgado wrote: I've tried to land one of Adi's MP[1] for 3 times but it didn't reach PQM and Adi didn't get any failure emails. Is that a known issue? If not, how would I go about

[Launchpad-dev] Can't seem to 'ec2 land' a merge proposal

2010-03-12 Thread Guilherme Salgado
Hi there, I've tried to land one of Adi's MP[1] for 3 times but it didn't reach PQM and Adi didn't get any failure emails. Is that a known issue? If not, how would I go about debugging it? Cheers, [1] https://code.edge.launchpad.net/~adiroiban/launchpad/bug-531261/+merge/20748 -- Guilherme

[Launchpad-dev] New vhost on development instances: testopenid.dev

2010-03-10 Thread Guilherme Salgado
can either do it manually or run rocketfuel-setup. Cheers, -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev

Re: [Launchpad-dev] odd test failure for an IHasBugs attribute of an IPerson object

2010-03-09 Thread Guilherme Salgado
object that is wrapped by SQLObjectResultSet. That should be as efficient as what you currently have. for task on foobar.all_bugtasks: ... print task work, while foobar.all_bugtasks.limit(1) fails... -- Guilherme Salgado salg...@canonical.com signature.asc Description

Re: [Launchpad-dev] Faster TDD cycle: persist test services between test runs

2010-03-01 Thread Guilherme Salgado
be a problem. Set up canonical.testing.layers.MemcachedLayer in 0.172 seconds. ... Tear down canonical.testing.layers.MemcachedLayer in 5.013 seconds. And for LibrarianLayer I get the opposite: 10.979 to start up and close to 0 for tear down. -- Guilherme Salgado salg...@canonical.com signature.asc

[Launchpad-dev] Interactive test runner

2010-02-24 Thread Guilherme Salgado
, but given the above I'm thinking it may not be feasible, so I'm dropping it for now. I'd be happy to reconsider that decision if anybody has any ideas for working around these issues. -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message

Re: [Launchpad-dev] xx-resetpassword-of-sso-account.txt and community contributors

2010-02-11 Thread Guilherme Salgado
to worry about it -- I have a branch which changes Launchpad to send users to login.launchpad.net to authenticate (just like shipit does), thus allowing us to remove the reset-password functionality (and the test in question) from LP. -- Guilherme Salgado salg...@canonical.com signature.asc

Re: [Launchpad-dev] RFD: Overhauling the Launchpad authorization adapters

2010-02-05 Thread Guilherme Salgado
___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp -- Guilherme Salgado salg...@canonical.com signature.asc

[Launchpad-dev] Using HTTP basic auth on windmill tests

2010-02-03 Thread Guilherme Salgado
://trac.getwindmill.com/ticket/279 -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe

[Launchpad-dev] Urllib2 or curl as HTTP fetcher for python-openid?

2010-02-03 Thread Guilherme Salgado
is not currently a dependency of lp-deps and that it causes problems when developing (it doesn't like our self-signed certs), I'd like to set urllib2 as the default. Any objections? [1] This is just a matter of calling openid.fetchers.setDefaultFetcher(Urllib2Fetcher) -- Guilherme Salgado salg

[Launchpad-dev] (spurious?) Failure on ec2: test_pottery_detect_intltool

2010-02-02 Thread Guilherme Salgado
://paste.ubuntu.com/367691/ -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe

Re: [Launchpad-dev] (spurious?) Failure on ec2: test_pottery_detect_intltool

2010-02-02 Thread Guilherme Salgado
And it only fails when running the full test suite -- if I tell ec2test to run just the failing test, it passes. On Tue, 2010-02-02 at 14:46 -0200, Guilherme Salgado wrote: I've tried to run lp:~salgado/launchpad/bug-515494 twice through ec2 and got identical failures

Re: [Launchpad-dev] Python2.6

2010-02-02 Thread Guilherme Salgado
to port it. -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https

Re: [Launchpad-dev] OK, I'm stumped

2010-01-25 Thread Guilherme Salgado
. That seems an easy way to solve this particular issue as well as ensure we don't have to load a 500k file on every page. Cheers, deryck -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-11 Thread Guilherme Salgado
On Sat, 2010-01-09 at 10:26 +0700, Stuart Bishop wrote: On Fri, Jan 8, 2010 at 6:27 PM, Guilherme Salgado salg...@canonical.com wrote: We'll have a bunch of callsites for the utility (DatabaseConfig.main_master/slave, model/pofile.py, webapp/adapter.py, webapp/authorization.py, webapp

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-11 Thread Guilherme Salgado
On Mon, 2010-01-11 at 15:32 -0500, Gary Poster wrote: On Jan 11, 2010, at 2:59 PM, Guilherme Salgado wrote: On Fri, 2010-01-08 at 09:27 -0200, Guilherme Salgado wrote: On Thu, 2010-01-07 at 15:43 -0500, Francis J. Lacoste wrote: On January 7, 2010, Guilherme Salgado wrote: As I

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-08 Thread Guilherme Salgado
On Thu, 2010-01-07 at 15:43 -0500, Francis J. Lacoste wrote: On January 7, 2010, Guilherme Salgado wrote: As I explained earlier, to make the read-only mode switching transparent, I turned the main_master/slave config variables into properties of DatabaseConfig, which return either rw_main_

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-07 Thread Guilherme Salgado
On Wed, 2010-01-06 at 12:43 -0500, Francis J. Lacoste wrote: On January 6, 2010, Guilherme Salgado wrote: On Wed, 2010-01-06 at 20:26 +0700, Stuart Bishop wrote: On Wed, Jan 6, 2010 at 8:20 PM, Guilherme Salgado salg...@canonical.com wrote: After realizing that I came up with another

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-06 Thread Guilherme Salgado
On Tue, 2010-01-05 at 21:12 +, Tom Haddon wrote: On Tue, 2010-01-05 at 18:54 -0200, Guilherme Salgado wrote: (CCing launchpad-dev as others might have ideas/suggestions) On Tue, 2010-01-05 at 08:13 +, Tom Haddon wrote: On Mon, 2010-01-04 at 18:16 -0200, Guilherme Salgado wrote

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-06 Thread Guilherme Salgado
refactoring in the infrastructure shared by both lp.net and login.lp.net. -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net/~launchpad-dev Post

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-06 Thread Guilherme Salgado
On Wed, 2010-01-06 at 20:26 +0700, Stuart Bishop wrote: On Wed, Jan 6, 2010 at 8:20 PM, Guilherme Salgado salg...@canonical.com wrote: After realizing that I came up with another approach, which relies only on the presence/absence of the read-only.txt file to figure out the mode

Re: [Launchpad-dev] Using a signal to switch to read-only mode

2010-01-05 Thread Guilherme Salgado
(CCing launchpad-dev as others might have ideas/suggestions) On Tue, 2010-01-05 at 08:13 +, Tom Haddon wrote: On Mon, 2010-01-04 at 18:16 -0200, Guilherme Salgado wrote: On Mon, 2009-12-21 at 09:21 +, Tom Haddon wrote: On Fri, 2009-12-18 at 10:37 -0500, Gary Poster wrote: I like

[Launchpad-dev] Import policy violations, was [Fwd: Test results: SUCCESS]

2010-01-04 Thread Guilherme Salgado
. SUBMITTED TO PQM: [r=abentley][ui=none] Fix remaining templates that were using +style-slimmer.css to use combo.css -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list

Re: [Launchpad-dev] CSS files now combined

2009-12-23 Thread Guilherme Salgado
the error occurs. I got something like that, but I ran make clean, and that seemed to fix it. This is caused by a spurious trailing slash in a css file that is part of lazr-js. It's fixed in the current lazr-js used by LP, so a make clean will get rid of the error. -- Guilherme Salgado salg

[Launchpad-dev] CSS files now combined

2009-12-21 Thread Guilherme Salgado
-macros.pt (where you'd normally add a new CSS file) explaining where it should be added instead. -- Guilherme Salgado salg...@canonical.com signature.asc Description: This is a digitally signed message part ___ Mailing list: https://launchpad.net

Re: [Launchpad-dev] Can we drop 'ssh' from launchpad-developer-dependencies?

2009-12-14 Thread Guilherme Salgado
On Mon, 2009-12-14 at 16:46 +1300, Michael Hudson wrote: Tim Penhey wrote: On Sat, 12 Dec 2009 02:33:43 Guilherme Salgado wrote: https://bugs.edge.launchpad.net/launchpad/+bug/495454 If not, can we just replace it with openssh-client? I defer to Michael. Michael, can we remove

Re: [Launchpad-dev] Can we drop 'ssh' from launchpad-developer-dependencies?

2009-12-14 Thread Guilherme Salgado
On Mon, 2009-12-14 at 15:46 +0200, Bjorn Tillenius wrote: On Mon, Dec 14, 2009 at 11:36:35AM -0200, Guilherme Salgado wrote: On Mon, 2009-12-14 at 16:46 +1300, Michael Hudson wrote: Tim Penhey wrote: On Sat, 12 Dec 2009 02:33:43 Guilherme Salgado wrote: https

  1   2   >