summaryrefslogtreecommitdiffstats
path: root/releng/migrations/0003_release_pgp_key.py
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2020-05-23 01:23:55 +0200
committerJelle van der Waa <jelle@archlinux.org>2020-05-31 21:14:53 +0200
commit5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa (patch)
tree0e94ebd294effc4c23a47ca8cdac8826688c6622 /releng/migrations/0003_release_pgp_key.py
parent1c831f6b5afc6b29d869a4889519f368fc802a17 (diff)
downloadarchweb-5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa.tar.gz
archweb-5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa.zip
Add PGP key to the Release model
Add a pgp_key field to the Release model so we can display the PGP fingerprint of the used PGP key on the download page. Closes: #282
Diffstat (limited to 'releng/migrations/0003_release_pgp_key.py')
-rw-r--r--releng/migrations/0003_release_pgp_key.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/releng/migrations/0003_release_pgp_key.py b/releng/migrations/0003_release_pgp_key.py
new file mode 100644
index 00000000..a211a798
--- /dev/null
+++ b/releng/migrations/0003_release_pgp_key.py
@@ -0,0 +1,19 @@
+# Generated by Django 3.0.6 on 2020-05-22 22:14
+
+import devel.fields
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('releng', '0002_auto_20181216_1605'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='release',
+ name='pgp_key',
+ field=devel.fields.PGPKeyField(blank=True, help_text='consists of 40 hex digits; use `gpg --fingerprint`', max_length=40, null=True, verbose_name='PGP key fingerprint'),
+ ),
+ ]