Merge ~cjwatson/launchpad:db-sync-comments into launchpad:db-devel

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: f063ac8ba728abb5954e1c2a43b91a37be6b9217
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:db-sync-comments
Merge into: launchpad:db-devel
Diff against target: 18 lines (+12/-0)
1 file modified
database/schema/patch-2211-00-1.sql (+12/-0)
Reviewer Review Type Date Requested Status
William Grant db Approve
Andrey Fedoseev (community) Approve
Review via email: mp+427020@code.launchpad.net

Commit message

Apply several comment changes from comments.sql

Description of the change

These were updated to meet inclusive-language guidelines in commits ad6c3101e2 and bd735f4f18, but nothing deals with applying `database/schema/comments.sql` in production so we need this patch to sync things up.

To post a comment you must log in.
Revision history for this message
Andrey Fedoseev (andrey-fedoseev) :
review: Approve
Revision history for this message
William Grant (wgrant) :
review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/database/schema/patch-2211-00-1.sql b/database/schema/patch-2211-00-1.sql
2new file mode 100644
3index 0000000..2b05897
4--- /dev/null
5+++ b/database/schema/patch-2211-00-1.sql
6@@ -0,0 +1,12 @@
7+-- Copyright 2022 Canonical Ltd. This software is licensed under the
8+-- GNU Affero General Public License version 3 (see the file LICENSE).
9+
10+SET client_min_messages=ERROR;
11+
12+COMMENT ON TABLE public.builder IS 'Builder: This table stores the build-worker registry and status information as: name, url, trusted, builderok, builderaction, failnotes.';
13+COMMENT ON COLUMN public.builder.builderok IS 'Should a builder fail for any reason, from out-of-disk-space to not responding to the buildd manager, the builderok flag is set to false and the failnotes column is filled with a reason.';
14+COMMENT ON COLUMN public.builder.url IS 'The url to the build worker. There may be more than one build worker on a given host so this url includes the port number to use. The default port number for a build worker is 8221';
15+COMMENT ON COLUMN public.builder.version IS 'The version of launchpad-buildd on the worker.';
16+COMMENT ON COLUMN public.buildqueue.logtail IS 'The tail end of the log of the current build. This is updated regularly as the buildd manager polls the buildd workers. Once the build is complete; the full log will be lodged with the librarian and linked into the build table.';
17+
18+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 00, 1);

Subscribers

People subscribed via source and target branches

to status/vote changes: