Merge lp:~mthaddon/launchpad/buildjob-nagios-check-perms into lp:launchpad/db-devel
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-01-04 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~mthaddon/launchpad/buildjob-nagios-check-perms |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
15 lines (+5/-0) 1 file modified
database/schema/security.cfg (+5/-0) |
| To merge this branch: | bzr merge lp:~mthaddon/launchpad/buildjob-nagios-check-perms |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2009-12-23 | Approve on 2010-01-04 | |
|
Review via email:
|
|||
| Tom Haddon (mthaddon) wrote : | # |
| Aaron Bentley (abentley) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Haddon wrote:
> Tom Haddon has proposed merging lp:~mthaddon/launchpad/buildjob-nagios-check-perms into lp:launchpad.
>
> Requested reviews:
> Canonical Launchpad Engineering (launchpad)
>
>
> Permissions needed by a nagios check for whether there are build jobs that have started but don't have a builder assigned - obsolete once bug 499421 is fixed
>
>
I need to ask some questions because this isn't in our standard format
for review requests:
1. Was there a pre-implementation call?
2. Did you run "make lint", and was the output clean?
> === modified file 'cronscripts/
> --- cronscripts/
> +++ cronscripts/
> @@ -51,6 +51,12 @@
> help="Skip removing files on disk with no database references"
> " or flagged for deletion."
> )
> + self.parser.
> + '', "--skip-expiry", action=
> + dest="skip_expiry",
> + help="Skip expiring aliases with an expiry date in the past."
> + )
How does this relate to the permissions issue?
> +
>
> def main(self):
> librariangc.log = self.logger
> @@ -66,6 +72,8 @@
>
> # Note that each of these next steps will issue commit commands
> # as appropriate to make this script transaction friendly
> + if not self.options.
> + librariangc.
> if not self.options.
> librariangc.
> if not self.options.
>
> === modified file 'database/
> --- database/
> +++ database/
> @@ -1838,6 +1838,11 @@
>
> [nagios]
> type=user
> +public.archive = SELECT
> +public.build = SELECT
> +public.buildqueue = SELECT
> +public.
> +public.job = SELECT
> public.
> public.
> public.branch = SELECT
>
> === modified file 'lib/canonical/
> --- lib/canonical/
> +++ lib/canonical/
> @@ -55,6 +55,22 @@
> self.client = LibrarianClient()
> librariangc.log = MockLogger()
>
> + # A value we use in a number of tests. This represents the
> + # stay of execution hard coded into the garbage collector.
> + # We don't destroy any data unless it has been waiting to be
> + # destroyed for longer than this period. We pick a value
> + # that is close enough to the stay of execution so that
> + # forgetting timezone information will break things, but
> + # far enough so that how long it takes the test to...
| Tom Haddon (mthaddon) wrote : | # |
I think this was a case of operator error - I branched off devel and so I think it shows a bunch of irrelevant changes - have fixed to branch off db-devel and re-pushed. The only change should be to database/
Thanks, Tom
| Aaron Bentley (abentley) wrote : | # |
> I think this was a case of operator error - I branched off devel and so I
> think it shows a bunch of irrelevant changes - have fixed to branch off db-
> devel and re-pushed. The only change should be to database/
Ah, much better.
Aaron

Permissions needed by a nagios check for whether there are build jobs that have started but don't have a builder assigned - obsolete once bug 499421 is fixed