Merge lp:~jelmer/launchpad/cronjob into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Gavin Panella on 2010-11-11 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11923 |
| Proposed branch: | lp:~jelmer/launchpad/cronjob |
| Merge into: | lp:launchpad |
| Diff against target: |
261 lines (+172/-4) 7 files modified
configs/development/launchpad-lazr.conf (+4/-0) cronscripts/sync-packages.py (+25/-0) database/schema/security.cfg (+43/-0) lib/canonical/config/schema-lazr.conf (+12/-0) lib/lp/registry/browser/distroseries.py (+2/-1) lib/lp/soyuz/model/syncpackagejob.py (+5/-2) lib/lp/soyuz/tests/test_syncpackagejob.py (+81/-1) |
| To merge this branch: | bzr merge lp:~jelmer/launchpad/cronjob |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gavin Panella (community) | 2010-11-11 | Approve on 2010-11-11 | |
|
Review via email:
|
|||
Commit Message
[r=allenap]
Description of the Change
This adds a cronjob for synchronizing packages between archives, and adds the body of the SyncPackageJob.run.
| Jelmer Vernooij (jelmer) wrote : | # |
| Gavin Panella (allenap) wrote : | # |
Looks good. I have several comments, but only [3] is likely to be of
importance, maybe [2] also.
[1]
+oops_prefix: IDSJ
Does this need to be configured for other environments too? Or is that
in production-configs?
[2]
+error_dir: /var/tmp/soyuz.test
Any idea how this pans out with parallel testing?
[3]
=== modified file 'database/
This is targeted to devel. Because of the changes to security.cfg, you
might be better off landing this to db-devel, because you'll need to
prepare an extra script to grant these permissions on qastaging and
production otherwise.
[4]
=== added file 'cronscripts/
Scripts named with hyphens outnumber those with underscores 49 to 7.
Consider doing the right thing here ;)
Or tell me to f*** off :)
[5]
+ vars = job.getOopsVars()
vars is a builtin, so consider renaming this to avoid confusion.
[6]
Consider running utilities/
in your branch.

This branch is lint clean.
tests: ./bin/test lp.soyuz. tests.test_ syncpackagejob