summaryrefslogtreecommitdiff
path: root/releng
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:40:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:40:34 -0400
commitea00a099dffd7157c93af54b5817734348d2bbc6 (patch)
tree89fa4ba0c0ac19a4286ba4c4cb64f77536b1a098 /releng
parent1a1fd4a3d6aa7f6b2338f7751f5f97a30a059a04 (diff)
parent0f0ce18109f8104d7b2abe9024ef26fa07ff0292 (diff)
Merge branch 'archweb' into archweb-generic
Conflicts: templates/public/download.html templates/public/index.html
Diffstat (limited to 'releng')
-rw-r--r--releng/migrations/0001_initial.py443
-rw-r--r--releng/migrations/0002_auto__add_field_iso_removed.py99
-rw-r--r--releng/migrations/0003_auto__chg_field_test_ip_address.py99
-rw-r--r--releng/migrations/0004_auto__add_release.py121
-rw-r--r--releng/migrations/0005_auto__add_field_release_file_size__add_field_release_torrent_data.py127
-rw-r--r--releng/migrations/0006_auto__add_unique_release_version.py117
-rw-r--r--releng/migrations/0007_auto__add_field_release_md5__add_field_release_sha1.py122
-rw-r--r--releng/migrations/0008_auto__del_field_release_torrent_infohash__del_field_release_file_size.py118
-rw-r--r--releng/models.py6
9 files changed, 187 insertions, 1065 deletions
diff --git a/releng/migrations/0001_initial.py b/releng/migrations/0001_initial.py
index 91fab8b7..b56f389d 100644
--- a/releng/migrations/0001_initial.py
+++ b/releng/migrations/0001_initial.py
@@ -1,258 +1,185 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding model 'Iso'
- db.create_table('releng_iso', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('active', self.gf('django.db.models.fields.BooleanField')(default=True)),
- ))
- db.send_create_signal('releng', ['Iso'])
-
- # Adding model 'Architecture'
- db.create_table('releng_architecture', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['Architecture'])
-
- # Adding model 'IsoType'
- db.create_table('releng_isotype', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['IsoType'])
-
- # Adding model 'BootType'
- db.create_table('releng_boottype', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['BootType'])
-
- # Adding model 'HardwareType'
- db.create_table('releng_hardwaretype', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['HardwareType'])
-
- # Adding model 'InstallType'
- db.create_table('releng_installtype', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['InstallType'])
-
- # Adding model 'Source'
- db.create_table('releng_source', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['Source'])
-
- # Adding model 'ClockChoice'
- db.create_table('releng_clockchoice', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['ClockChoice'])
-
- # Adding model 'Filesystem'
- db.create_table('releng_filesystem', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['Filesystem'])
-
- # Adding model 'Module'
- db.create_table('releng_module', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['Module'])
-
- # Adding model 'Bootloader'
- db.create_table('releng_bootloader', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
- ))
- db.send_create_signal('releng', ['Bootloader'])
-
- # Adding model 'Test'
- db.create_table('releng_test', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('user_name', self.gf('django.db.models.fields.CharField')(max_length=500)),
- ('user_email', self.gf('django.db.models.fields.EmailField')(max_length=75)),
- ('ip_address', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('iso', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.Iso'])),
- ('architecture', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.Architecture'])),
- ('iso_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.IsoType'])),
- ('boot_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.BootType'])),
- ('hardware_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.HardwareType'])),
- ('install_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.InstallType'])),
- ('source', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.Source'])),
- ('clock_choice', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.ClockChoice'])),
- ('filesystem', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.Filesystem'])),
- ('bootloader', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['releng.Bootloader'])),
- ('rollback_filesystem', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='rollback_test_set', null=True, to=orm['releng.Filesystem'])),
- ('success', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('comments', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ))
- db.send_create_signal('releng', ['Test'])
-
- # Adding M2M table for field modules on 'Test'
- db.create_table('releng_test_modules', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('test', models.ForeignKey(orm['releng.test'], null=False)),
- ('module', models.ForeignKey(orm['releng.module'], null=False))
- ))
- db.create_unique('releng_test_modules', ['test_id', 'module_id'])
-
- # Adding M2M table for field rollback_modules on 'Test'
- db.create_table('releng_test_rollback_modules', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('test', models.ForeignKey(orm['releng.test'], null=False)),
- ('module', models.ForeignKey(orm['releng.module'], null=False))
- ))
- db.create_unique('releng_test_rollback_modules', ['test_id', 'module_id'])
-
-
- def backwards(self, orm):
-
- # Deleting model 'Iso'
- db.delete_table('releng_iso')
-
- # Deleting model 'Architecture'
- db.delete_table('releng_architecture')
-
- # Deleting model 'IsoType'
- db.delete_table('releng_isotype')
-
- # Deleting model 'BootType'
- db.delete_table('releng_boottype')
-
- # Deleting model 'HardwareType'
- db.delete_table('releng_hardwaretype')
-
- # Deleting model 'InstallType'
- db.delete_table('releng_installtype')
-
- # Deleting model 'Source'
- db.delete_table('releng_source')
-
- # Deleting model 'ClockChoice'
- db.delete_table('releng_clockchoice')
-
- # Deleting model 'Filesystem'
- db.delete_table('releng_filesystem')
-
- # Deleting model 'Module'
- db.delete_table('releng_module')
-
- # Deleting model 'Bootloader'
- db.delete_table('releng_bootloader')
-
- # Deleting model 'Test'
- db.delete_table('releng_test')
-
- # Removing M2M table for field modules on 'Test'
- db.delete_table('releng_test_modules')
-
- # Removing M2M table for field rollback_modules on 'Test'
- db.delete_table('releng_test_rollback_modules')
-
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Architecture',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Bootloader',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='BootType',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='ClockChoice',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Filesystem',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='HardwareType',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='InstallType',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Iso',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255)),
+ ('created', models.DateTimeField(editable=False)),
+ ('removed', models.DateTimeField(default=None, null=True, blank=True)),
+ ('active', models.BooleanField(default=True)),
+ ],
+ options={
+ 'verbose_name': 'ISO',
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='IsoType',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'verbose_name': 'ISO type',
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Module',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Release',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('release_date', models.DateField(db_index=True)),
+ ('version', models.CharField(unique=True, max_length=50)),
+ ('kernel_version', models.CharField(max_length=50, blank=True)),
+ ('md5_sum', models.CharField(max_length=32, verbose_name=b'MD5 digest', blank=True)),
+ ('sha1_sum', models.CharField(max_length=40, verbose_name=b'SHA1 digest', blank=True)),
+ ('created', models.DateTimeField(editable=False)),
+ ('available', models.BooleanField(default=True)),
+ ('info', models.TextField(verbose_name=b'Public information', blank=True)),
+ ('torrent_data', models.TextField(help_text=b'base64-encoded torrent file', blank=True)),
+ ],
+ options={
+ 'ordering': ('-release_date', '-version'),
+ 'get_latest_by': 'release_date',
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Source',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=200)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Test',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('user_name', models.CharField(max_length=500)),
+ ('user_email', models.EmailField(max_length=75, verbose_name=b'email address')),
+ ('ip_address', models.GenericIPAddressField(verbose_name=b'IP address', unpack_ipv4=True)),
+ ('created', models.DateTimeField(editable=False)),
+ ('success', models.BooleanField(default=True)),
+ ('comments', models.TextField(null=True, blank=True)),
+ ('architecture', models.ForeignKey(to='releng.Architecture')),
+ ('boot_type', models.ForeignKey(to='releng.BootType')),
+ ('bootloader', models.ForeignKey(to='releng.Bootloader')),
+ ('clock_choice', models.ForeignKey(to='releng.ClockChoice')),
+ ('filesystem', models.ForeignKey(to='releng.Filesystem')),
+ ('hardware_type', models.ForeignKey(to='releng.HardwareType')),
+ ('install_type', models.ForeignKey(to='releng.InstallType')),
+ ('iso', models.ForeignKey(to='releng.Iso')),
+ ('iso_type', models.ForeignKey(to='releng.IsoType')),
+ ('modules', models.ManyToManyField(to='releng.Module', null=True, blank=True)),
+ ('rollback_filesystem', models.ForeignKey(related_name=b'rollback_test_set', blank=True, to='releng.Filesystem', null=True)),
+ ('rollback_modules', models.ManyToManyField(related_name=b'rollback_test_set', null=True, to='releng.Module', blank=True)),
+ ('source', models.ForeignKey(to='releng.Source')),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ ]
diff --git a/releng/migrations/0002_auto__add_field_iso_removed.py b/releng/migrations/0002_auto__add_field_iso_removed.py
deleted file mode 100644
index d5cd09c8..00000000
--- a/releng/migrations/0002_auto__add_field_iso_removed.py
+++ /dev/null
@@ -1,99 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('releng_iso', 'removed', self.gf('django.db.models.fields.DateTimeField')(default=None, null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('releng_iso', 'removed')
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
diff --git a/releng/migrations/0003_auto__chg_field_test_ip_address.py b/releng/migrations/0003_auto__chg_field_test_ip_address.py
deleted file mode 100644
index 78297f14..00000000
--- a/releng/migrations/0003_auto__chg_field_test_ip_address.py
+++ /dev/null
@@ -1,99 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.alter_column('releng_test', 'ip_address', self.gf('django.db.models.fields.GenericIPAddressField')(max_length=39))
-
- def backwards(self, orm):
- db.alter_column('releng_test', 'ip_address', self.gf('django.db.models.fields.IPAddressField')(max_length=15))
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
diff --git a/releng/migrations/0004_auto__add_release.py b/releng/migrations/0004_auto__add_release.py
deleted file mode 100644
index fe4acea5..00000000
--- a/releng/migrations/0004_auto__add_release.py
+++ /dev/null
@@ -1,121 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.create_table('releng_release', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('release_date', self.gf('django.db.models.fields.DateField')(db_index=True)),
- ('version', self.gf('django.db.models.fields.CharField')(max_length=50)),
- ('kernel_version', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
- ('torrent_infohash', self.gf('django.db.models.fields.CharField')(max_length=64, blank=True)),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('available', self.gf('django.db.models.fields.BooleanField')(default=True)),
- ('info', self.gf('django.db.models.fields.TextField')(blank=True)),
- ))
- db.send_create_signal('releng', ['Release'])
-
- def backwards(self, orm):
- db.delete_table('releng_release')
-
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.release': {
- 'Meta': {'ordering': "('-release_date', '-version')", 'object_name': 'Release'},
- 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'kernel_version': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
- 'release_date': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
- 'torrent_infohash': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}),
- 'version': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
diff --git a/releng/migrations/0005_auto__add_field_release_file_size__add_field_release_torrent_data.py b/releng/migrations/0005_auto__add_field_release_file_size__add_field_release_torrent_data.py
deleted file mode 100644
index 96e0727c..00000000
--- a/releng/migrations/0005_auto__add_field_release_file_size__add_field_release_torrent_data.py
+++ /dev/null
@@ -1,127 +0,0 @@
-# -*- coding: utf-8 -*-
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- # Adding field 'Release.file_size'
- db.add_column('releng_release', 'file_size',
- self.gf('main.fields.PositiveBigIntegerField')(null=True, blank=True),
- keep_default=False)
-
- # Adding field 'Release.torrent_data'
- db.add_column('releng_release', 'torrent_data',
- self.gf('django.db.models.fields.TextField')(default='', blank=True),
- keep_default=False)
-
-
- def backwards(self, orm):
- # Deleting field 'Release.file_size'
- db.delete_column('releng_release', 'file_size')
-
- # Deleting field 'Release.torrent_data'
- db.delete_column('releng_release', 'torrent_data')
-
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.release': {
- 'Meta': {'ordering': "('-release_date', '-version')", 'object_name': 'Release'},
- 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'file_size': ('main.fields.PositiveBigIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'kernel_version': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
- 'release_date': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
- 'torrent_data': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'torrent_infohash': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}),
- 'version': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng'] \ No newline at end of file
diff --git a/releng/migrations/0006_auto__add_unique_release_version.py b/releng/migrations/0006_auto__add_unique_release_version.py
deleted file mode 100644
index cb834870..00000000
--- a/releng/migrations/0006_auto__add_unique_release_version.py
+++ /dev/null
@@ -1,117 +0,0 @@
-# -*- coding: utf-8 -*-
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- # Adding unique constraint on 'Release', fields ['version']
- db.create_unique('releng_release', ['version'])
-
-
- def backwards(self, orm):
- # Removing unique constraint on 'Release', fields ['version']
- db.delete_unique('releng_release', ['version'])
-
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.release': {
- 'Meta': {'ordering': "('-release_date', '-version')", 'object_name': 'Release'},
- 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'file_size': ('main.fields.PositiveBigIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'kernel_version': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
- 'release_date': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
- 'torrent_data': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'torrent_infohash': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}),
- 'version': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng'] \ No newline at end of file
diff --git a/releng/migrations/0007_auto__add_field_release_md5__add_field_release_sha1.py b/releng/migrations/0007_auto__add_field_release_md5__add_field_release_sha1.py
deleted file mode 100644
index f76be3d7..00000000
--- a/releng/migrations/0007_auto__add_field_release_md5__add_field_release_sha1.py
+++ /dev/null
@@ -1,122 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('releng_release', 'md5_sum',
- self.gf('django.db.models.fields.CharField')(default='', max_length=32, blank=True),
- keep_default=False)
- db.add_column('releng_release', 'sha1_sum',
- self.gf('django.db.models.fields.CharField')(default='', max_length=40, blank=True),
- keep_default=False)
- db.alter_column('releng_release', 'torrent_infohash', self.gf('django.db.models.fields.CharField')(max_length=40))
-
- def backwards(self, orm):
- db.delete_column('releng_release', 'md5_sum')
- db.delete_column('releng_release', 'sha1_sum')
- db.alter_column('releng_release', 'torrent_infohash', self.gf('django.db.models.fields.CharField')(max_length=64))
-
- models = {
- 'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- 'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.module': {
- 'Meta': {'object_name': 'Module'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.release': {
- 'Meta': {'ordering': "('-release_date', '-version')", 'object_name': 'Release'},
- 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'file_size': ('main.fields.PositiveBigIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'kernel_version': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
- 'md5_sum': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
- 'release_date': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
- 'sha1_sum': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'}),
- 'torrent_data': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'torrent_infohash': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'}),
- 'version': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'})
- },
- 'releng.source': {
- 'Meta': {'object_name': 'Source'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- 'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.HardwareType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': "orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
diff --git a/releng/migrations/0008_auto__del_field_release_torrent_infohash__del_field_release_file_size.py b/releng/migrations/0008_auto__del_field_release_torrent_infohash__del_field_release_file_size.py
deleted file mode 100644
index 4a80fd8e..00000000
--- a/releng/migrations/0008_auto__del_field_release_torrent_infohash__del_field_release_file_size.py
+++ /dev/null
@@ -1,118 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.delete_column(u'releng_release', 'torrent_infohash')
- db.delete_column(u'releng_release', 'file_size')
-
- def backwards(self, orm):
- db.add_column(u'releng_release', 'torrent_infohash',
- self.gf('django.db.models.fields.CharField')(default='', max_length=40, blank=True),
- keep_default=False)
- db.add_column(u'releng_release', 'file_size',
- self.gf('main.fields.PositiveBigIntegerField')(null=True, blank=True),
- keep_default=False)
-
- models = {
- u'releng.architecture': {
- 'Meta': {'object_name': 'Architecture'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.bootloader': {
- 'Meta': {'object_name': 'Bootloader'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.boottype': {
- 'Meta': {'object_name': 'BootType'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.clockchoice': {
- 'Meta': {'object_name': 'ClockChoice'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.filesystem': {
- 'Meta': {'object_name': 'Filesystem'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.hardwaretype': {
- 'Meta': {'object_name': 'HardwareType'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.installtype': {
- 'Meta': {'object_name': 'InstallType'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.iso': {
- 'Meta': {'object_name': 'Iso'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'removed': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
- },
- u'releng.isotype': {
- 'Meta': {'object_name': 'IsoType'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.module': {
- 'Meta': {'object_name': 'Module'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.release': {
- 'Meta': {'ordering': "('-release_date', '-version')", 'object_name': 'Release'},
- 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'kernel_version': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
- 'md5_sum': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
- 'release_date': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
- 'sha1_sum': ('django.db.models.fields.CharField', [], {'max_length': '40', 'blank': 'True'}),
- 'torrent_data': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'version': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'})
- },
- u'releng.source': {
- 'Meta': {'object_name': 'Source'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
- },
- u'releng.test': {
- 'Meta': {'object_name': 'Test'},
- 'architecture': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.Architecture']"}),
- 'boot_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.BootType']"}),
- 'bootloader': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.Bootloader']"}),
- 'clock_choice': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.ClockChoice']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'filesystem': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.Filesystem']"}),
- 'hardware_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.HardwareType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'install_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.InstallType']"}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'iso': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.Iso']"}),
- 'iso_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.IsoType']"}),
- 'modules': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['releng.Module']", 'null': 'True', 'blank': 'True'}),
- 'rollback_filesystem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'to': u"orm['releng.Filesystem']"}),
- 'rollback_modules': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'rollback_test_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['releng.Module']"}),
- 'source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['releng.Source']"}),
- 'success': ('django.db.models.fields.BooleanField', [], {}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'user_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
- }
- }
-
- complete_apps = ['releng']
diff --git a/releng/models.py b/releng/models.py
index a3af54f9..66690e81 100644
--- a/releng/models.py
+++ b/releng/models.py
@@ -90,9 +90,7 @@ class Bootloader(IsoOption):
class Test(models.Model):
user_name = models.CharField(max_length=500)
user_email = models.EmailField('email address')
- # Great work, Django... https://code.djangoproject.com/ticket/18212
- ip_address = models.GenericIPAddressField(verbose_name='IP address',
- unpack_ipv4=True)
+ ip_address = models.GenericIPAddressField('IP address', unpack_ipv4=True)
created = models.DateTimeField(editable=False)
iso = models.ForeignKey(Iso)
@@ -111,7 +109,7 @@ class Test(models.Model):
rollback_modules = models.ManyToManyField(Module,
related_name="rollback_test_set", null=True, blank=True)
- success = models.BooleanField()
+ success = models.BooleanField(default=True)
comments = models.TextField(null=True, blank=True)