Colin Watson has proposed merging
lp:~cjwatson/launchpad/db-gitrepository-default-branch into
lp:launchpad/db-devel.
Commit message:
Add GitRepository.default_branch.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Related bugs:
Bug #1456625 in Launchpad itself: "Can't set default branch ("HEAD") on a Git
repository"
https://bugs.launchpad.net/launchpad/+bug/1456625
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-gitrepository-default-branch/+merge/259498
Add GitRepository.default_branch.
This is technically a reference path, but "default branch" is what it's called
in the GitHub API/UI and would be a reasonable user-visible name for Launchpad
as well.
--
Your team Launchpad code reviewers is requested to review the proposed merge of
lp:~cjwatson/launchpad/db-gitrepository-default-branch into
lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-61-7.sql'
--- database/schema/patch-2209-61-7.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-61-7.sql 2015-05-19 13:24:11 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2015 Canonical Ltd. This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+ALTER TABLE GitRepository ADD COLUMN default_branch text;
+
+COMMENT ON COLUMN GitRepository.default_branch IS 'The reference path of this repository''s default branch, or "HEAD".';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 61, 7);
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp