diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-14 12:19:17 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-14 12:27:38 -0600 |
commit | 12408702eaf89ea338670ba808da9ef49e35c562 (patch) | |
tree | bd68ff85cadd03f88b5d5c333d33e9f62c69a953 /packages/models.py | |
parent | b7439cacf08288d8533910e08d093e9276167ed2 (diff) |
Allow population of signoff specs with SVN commit messages
This pulls them from the latest SVN commit on trunk. We don't have a
failproof method of getting the exact right commit, but this should be
close if it is run on a regular basis via cron (aka hourly).
Note that running locally, I needed the development version of South to
get the migration included here to apply because of information_schema
changes in the current version of MySQL.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
-rw-r--r-- | packages/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py index b70c21bf..0d02ab31 100644 --- a/packages/models.py +++ b/packages/models.py @@ -73,7 +73,7 @@ class SignoffSpecification(models.Model): epoch = models.PositiveIntegerField(default=0) arch = models.ForeignKey('main.Arch') repo = models.ForeignKey('main.Repo') - user = models.ForeignKey(User) + user = models.ForeignKey(User, null=True) created = models.DateTimeField(editable=False) required = models.PositiveIntegerField(default=2, help_text="How many signoffs are required for this package?") |