← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:drop-revision-gpgkey into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:drop-revision-gpgkey into launchpad:master.

Commit message:
Drop Revision.gpgkey

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/388586

It doesn't seem to have ever been used.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:drop-revision-gpgkey into launchpad:master.
diff --git a/lib/lp/code/interfaces/revision.py b/lib/lp/code/interfaces/revision.py
index 998a158..7ab308f 100644
--- a/lib/lp/code/interfaces/revision.py
+++ b/lib/lp/code/interfaces/revision.py
@@ -36,7 +36,6 @@ class IRevision(Interface):
     revision_author_id = Attribute("Revision author identifier id.")
     revision_author = Attribute("The revision author identifier.")
 
-    gpgkey = Attribute("The OpenPGP key used to sign the revision.")
     revision_id = Attribute("The globally unique revision identifier.")
     revision_date = Datetime(
         title=_("The date the revision was committed."),
diff --git a/lib/lp/code/model/revision.py b/lib/lp/code/model/revision.py
index a979c74..f6f29fa 100644
--- a/lib/lp/code/model/revision.py
+++ b/lib/lp/code/model/revision.py
@@ -85,7 +85,6 @@ class Revision(SQLBase):
 
     date_created = UtcDateTimeCol(notNull=True, default=DEFAULT)
     log_body = StringCol(notNull=True)
-    gpgkey = ForeignKey(dbName='gpgkey', foreignKey='GPGKey', default=None)
 
     revision_author_id = Int(name='revision_author', allow_none=False)
     revision_author = Reference(revision_author_id, 'RevisionAuthor.id')