Merge lp:~salgado/launchpad/do-not-migrate-ubuntu-work-items into lp:launchpad
Proposed by
Guilherme Salgado
on 2012-03-12
| Status: | Merged |
|---|---|
| Approved by: | Curtis Hovey on 2012-03-12 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 14939 |
| Proposed branch: | lp:~salgado/launchpad/do-not-migrate-ubuntu-work-items |
| Merge into: | lp:launchpad |
| Diff against target: |
111 lines (+49/-4) 2 files modified
lib/lp/scripts/garbo.py (+28/-1) lib/lp/scripts/tests/test_garbo.py (+21/-3) |
| To merge this branch: | bzr merge lp:~salgado/launchpad/do-not-migrate-ubuntu-work-items |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | code | 2012-03-12 | Approve on 2012-03-12 |
|
Review via email:
|
|||
Commit Message
[r=benji][bug=953316] Change the workitem-migrator to migrate only the Blueprints of Linaro-related projects.
Description of the Change
Migrate work items only from the Blueprints of Linaro-related projects.
The Ubuntu project doesn't want their Blueprints migrated now, so we've agreed
to migrate only the Linaro blueprints for now.
To post a comment you must log in.

This branch looks good. If it were me, I would use
query = ("product in (select id from product where name in (%s))" sqlvalues( self.projects_ to_migrate) ))
% ",".join(
instead of
quoted_names = [ to_migrate] quoted_ names))
"'%s'" % name for name in self.projects_
query = ("product in (select id from product where name in (%s))"
% ",".join(
because it states a little more clearly why we're doing what we're
doing and is a little shorter.