summaryrefslogtreecommitdiff
path: root/packages
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 /packages
parent1a1fd4a3d6aa7f6b2338f7751f5f97a30a059a04 (diff)
parent0f0ce18109f8104d7b2abe9024ef26fa07ff0292 (diff)
Merge branch 'archweb' into archweb-generic
Conflicts: templates/public/download.html templates/public/index.html
Diffstat (limited to 'packages')
-rw-r--r--packages/migrations/0001_initial.py269
-rw-r--r--packages/migrations/0002_populate_package_relation.py233
-rw-r--r--packages/migrations/0003_auto__add_packagegroup.py109
-rw-r--r--packages/migrations/0004_auto__add_license.py118
-rw-r--r--packages/migrations/0005_move_license_data.py120
-rw-r--r--packages/migrations/0006_auto__add_provision__add_conflict__add_replacement.py167
-rw-r--r--packages/migrations/0007_auto__add_field_packagerelation_created.py138
-rw-r--r--packages/migrations/0008_add_signoff_model.py166
-rw-r--r--packages/migrations/0009_add_packagegroup_name_index.py149
-rw-r--r--packages/migrations/0010_auto__add_signoffspecification.py183
-rw-r--r--packages/migrations/0011_auto__chg_field_signoffspecification_user.py165
-rw-r--r--packages/migrations/0012_auto__add_flagrequest.py201
-rw-r--r--packages/migrations/0013_auto__add_field_flagrequest_version.py180
-rw-r--r--packages/migrations/0014_auto__chg_field_flagrequest_ip_address.py181
-rw-r--r--packages/migrations/0015_auto__add_depend.py199
-rw-r--r--packages/migrations/0016_copy_depends_data.py246
-rw-r--r--packages/migrations/0017_auto__add_update.py226
-rw-r--r--packages/migrations/0018_create_created_indexes.py214
-rw-r--r--packages/migrations/0019_package_update_pkgname_index.py208
-rw-r--r--packages/migrations/0020_auto__add_field_depend_deptype.py212
-rw-r--r--packages/migrations/0021_migrate_optional_deps.py210
-rw-r--r--packages/migrations/0022_auto__del_field_depend_optional.py211
-rw-r--r--packages/migrations/0023_split_flag_req_version_field.py222
-rw-r--r--packages/migrations/0024_move_flag_req_version_info.py218
-rw-r--r--packages/migrations/0025_auto__del_field_flagrequest_version.py213
-rw-r--r--packages/models.py4
-rw-r--r--packages/views/__init__.py5
27 files changed, 203 insertions, 4564 deletions
diff --git a/packages/migrations/0001_initial.py b/packages/migrations/0001_initial.py
index 76e97340..5ecac84a 100644
--- a/packages/migrations/0001_initial.py
+++ b/packages/migrations/0001_initial.py
@@ -1,72 +1,205 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
-class Migration(SchemaMigration):
- def forwards(self, orm):
- # Adding model 'PackageRelation'
- db.create_table('packages_packagerelation', (
- ('pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('type', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='package_relations', to=orm['auth.User'])),
- ))
- db.send_create_signal('packages', ['PackageRelation'])
- # Adding unique constraint on 'PackageRelation', fields ['pkgbase', 'user', 'type']
- db.create_unique('packages_packagerelation', ['pkgbase', 'user_id', 'type'])
+from django.db import models, migrations
+import django.db.models.deletion
+from django.conf import settings
- def backwards(self, orm):
- # Deleting model 'PackageRelation'
- db.delete_table('packages_packagerelation')
- # Removing unique constraint on 'PackageRelation', fields ['pkgbase', 'user', 'type']
- db.delete_unique('packages_packagerelation', ['pkgbase', 'user_id', 'type'])
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- }
- }
+class Migration(migrations.Migration):
- complete_apps = ['packages']
+ dependencies = [
+ ('main', '0001_initial'),
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Conflict',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255, db_index=True)),
+ ('version', models.CharField(default=b'', max_length=255)),
+ ('comparison', models.CharField(default=b'', max_length=255)),
+ ('pkg', models.ForeignKey(related_name=b'conflicts', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Depend',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255, db_index=True)),
+ ('version', models.CharField(default=b'', max_length=255)),
+ ('comparison', models.CharField(default=b'', max_length=255)),
+ ('description', models.TextField(null=True, blank=True)),
+ ('deptype', models.CharField(default=b'D', max_length=1, choices=[(b'D', b'Depend'), (b'O', b'Optional Depend'), (b'M', b'Make Depend'), (b'C', b'Check Depend')])),
+ ('pkg', models.ForeignKey(related_name=b'depends', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='FlagRequest',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('user_email', models.EmailField(max_length=75, verbose_name=b'email address')),
+ ('created', models.DateTimeField(editable=False, db_index=True)),
+ ('ip_address', models.GenericIPAddressField(verbose_name=b'IP address', unpack_ipv4=True)),
+ ('pkgbase', models.CharField(max_length=255, db_index=True)),
+ ('pkgver', models.CharField(max_length=255)),
+ ('pkgrel', models.CharField(max_length=255)),
+ ('epoch', models.PositiveIntegerField(default=0)),
+ ('num_packages', models.PositiveIntegerField(default=1, verbose_name=b'number of packages')),
+ ('message', models.TextField(verbose_name=b'message to developer', blank=True)),
+ ('is_spam', models.BooleanField(default=False, help_text=b'Is this comment from a real person?')),
+ ('is_legitimate', models.BooleanField(default=True, help_text=b'Is this actually an out-of-date flag request?')),
+ ('repo', models.ForeignKey(to='main.Repo')),
+ ('user', models.ForeignKey(blank=True, to=settings.AUTH_USER_MODEL, null=True)),
+ ],
+ options={
+ 'get_latest_by': 'created',
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='License',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255)),
+ ('pkg', models.ForeignKey(related_name=b'licenses', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='PackageGroup',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255, db_index=True)),
+ ('pkg', models.ForeignKey(related_name=b'groups', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='PackageRelation',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('pkgbase', models.CharField(max_length=255)),
+ ('type', models.PositiveIntegerField(default=1, choices=[(1, b'Maintainer'), (2, b'Watcher')])),
+ ('created', models.DateTimeField(editable=False)),
+ ('user', models.ForeignKey(related_name=b'package_relations', to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Provision',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255, db_index=True)),
+ ('version', models.CharField(default=b'', max_length=255)),
+ ('pkg', models.ForeignKey(related_name=b'provides', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Replacement',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('name', models.CharField(max_length=255, db_index=True)),
+ ('version', models.CharField(default=b'', max_length=255)),
+ ('comparison', models.CharField(default=b'', max_length=255)),
+ ('pkg', models.ForeignKey(related_name=b'replaces', to='main.Package')),
+ ],
+ options={
+ 'ordering': ('name',),
+ 'abstract': False,
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Signoff',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('pkgbase', models.CharField(max_length=255, db_index=True)),
+ ('pkgver', models.CharField(max_length=255)),
+ ('pkgrel', models.CharField(max_length=255)),
+ ('epoch', models.PositiveIntegerField(default=0)),
+ ('created', models.DateTimeField(editable=False, db_index=True)),
+ ('revoked', models.DateTimeField(null=True)),
+ ('comments', models.TextField(null=True, blank=True)),
+ ('arch', models.ForeignKey(to='main.Arch')),
+ ('repo', models.ForeignKey(to='main.Repo')),
+ ('user', models.ForeignKey(related_name=b'package_signoffs', to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='SignoffSpecification',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('pkgbase', models.CharField(max_length=255, db_index=True)),
+ ('pkgver', models.CharField(max_length=255)),
+ ('pkgrel', models.CharField(max_length=255)),
+ ('epoch', models.PositiveIntegerField(default=0)),
+ ('created', models.DateTimeField(editable=False)),
+ ('required', models.PositiveIntegerField(default=2, help_text=b'How many signoffs are required for this package?')),
+ ('enabled', models.BooleanField(default=True, help_text=b'Is this package eligible for signoffs?')),
+ ('known_bad', models.BooleanField(default=False, help_text=b'Is package is known to be broken in some way?')),
+ ('comments', models.TextField(null=True, blank=True)),
+ ('arch', models.ForeignKey(to='main.Arch')),
+ ('repo', models.ForeignKey(to='main.Repo')),
+ ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, null=True)),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Update',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('pkgname', models.CharField(max_length=255, db_index=True)),
+ ('pkgbase', models.CharField(max_length=255)),
+ ('action_flag', models.PositiveSmallIntegerField(verbose_name=b'action flag', choices=[(1, b'Addition'), (2, b'Change'), (3, b'Deletion')])),
+ ('created', models.DateTimeField(editable=False, db_index=True)),
+ ('old_pkgver', models.CharField(max_length=255, null=True)),
+ ('old_pkgrel', models.CharField(max_length=255, null=True)),
+ ('old_epoch', models.PositiveIntegerField(null=True)),
+ ('new_pkgver', models.CharField(max_length=255, null=True)),
+ ('new_pkgrel', models.CharField(max_length=255, null=True)),
+ ('new_epoch', models.PositiveIntegerField(null=True)),
+ ('arch', models.ForeignKey(related_name=b'updates', to='main.Arch')),
+ ('package', models.ForeignKey(related_name=b'updates', on_delete=django.db.models.deletion.SET_NULL, to='main.Package', null=True)),
+ ('repo', models.ForeignKey(related_name=b'updates', to='main.Repo')),
+ ],
+ options={
+ 'get_latest_by': 'created',
+ },
+ bases=(models.Model,),
+ ),
+ migrations.AlterUniqueTogether(
+ name='packagerelation',
+ unique_together=set([('pkgbase', 'user', 'type')]),
+ ),
+ ]
diff --git a/packages/migrations/0002_populate_package_relation.py b/packages/migrations/0002_populate_package_relation.py
deleted file mode 100644
index b0d32c7a..00000000
--- a/packages/migrations/0002_populate_package_relation.py
+++ /dev/null
@@ -1,233 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-
-class Migration(DataMigration):
-
- depends_on = (
- ("main", "0003_migrate_maintainer"),
- )
-
- def forwards(self, orm):
- # search by pkgbase first and insert those records
- qs = orm['main.Package'].objects.exclude(maintainer=None).exclude(
- pkgbase=None).distinct().values('pkgbase', 'maintainer_id')
- for row in qs:
- pr, created = orm.PackageRelation.objects.get_or_create(
- pkgbase=row['pkgbase'], user__id=row['maintainer_id'],
- defaults={'user_id': row['maintainer_id']})
-
- # next search by pkgname first and insert those records
- qs = orm['main.Package'].objects.exclude(maintainer=None).filter(
- pkgbase=None).distinct().values('pkgname', 'maintainer_id')
- for row in qs:
- pr, created = orm.PackageRelation.objects.get_or_create(
- pkgbase=row['pkgname'], user__id=row['maintainer_id'],
- defaults={'user_id': row['maintainer_id']})
-
- def backwards(self, orm):
- if not db.dry_run:
- orm.PackageRelation.objects.all().delete()
- pass
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.altforum': {
- 'Meta': {'object_name': 'AltForum', 'db_table': "'alt_forums'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.arch': {
- 'Meta': {'object_name': 'Arch', 'db_table': "'arches'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.donor': {
- 'Meta': {'object_name': 'Donor', 'db_table': "'donors'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.externalproject': {
- 'Meta': {'object_name': 'ExternalProject'},
- 'description': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
- },
- 'main.mirror': {
- 'Meta': {'object_name': 'Mirror'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'admin_email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'blank': 'True'}),
- 'country': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'isos': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'rsync_password': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'blank': 'True'}),
- 'rsync_user': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50', 'blank': 'True'}),
- 'tier': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'upstream': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Mirror']", 'null': 'True'})
- },
- 'main.mirrorprotocol': {
- 'Meta': {'object_name': 'MirrorProtocol'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'Meta': {'object_name': 'MirrorRsync'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip': ('django.db.models.fields.CharField', [], {'max_length': '24'}),
- 'mirror': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rsync_ips'", 'to': "orm['main.Mirror']"})
- },
- 'main.mirrorurl': {
- 'Meta': {'object_name': 'MirrorUrl'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'mirror': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'urls'", 'to': "orm['main.Mirror']"}),
- 'protocol': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'urls'", 'to': "orm['main.MirrorProtocol']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.news': {
- 'Meta': {'object_name': 'News', 'db_table': "'news'"},
- 'author': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'news_author'", 'to': "orm['auth.User']"}),
- 'content': ('django.db.models.fields.TextField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'postdate': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'license': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'maintainer': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'maintained_packages'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.packagedepend': {
- 'Meta': {'object_name': 'PackageDepend', 'db_table': "'package_depends'"},
- 'depname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'depvcmp': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'main.packagefile': {
- 'Meta': {'object_name': 'PackageFile', 'db_table': "'package_files'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'path': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'main.press': {
- 'Meta': {'object_name': 'Press', 'db_table': "'press'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.repo': {
- 'Meta': {'object_name': 'Repo', 'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
- },
- 'main.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.todolist': {
- 'Meta': {'object_name': 'Todolist', 'db_table': "'todolists'"},
- 'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'date_added': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.todolistpkg': {
- 'Meta': {'unique_together': "(('list', 'pkg'),)", 'object_name': 'TodolistPkg', 'db_table': "'todolist_pkgs'"},
- 'complete': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Todolist']"}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'main.userprofile': {
- 'Meta': {'object_name': 'UserProfile', 'db_table': "'user_profiles'"},
- 'alias': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
- 'allowed_repos': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['main.Repo']", 'blank': 'True'}),
- 'favorite_distros': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'interests': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'languages': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'location': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'notify': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'occupation': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'other_contact': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
- 'picture': ('django.db.models.fields.files.FileField', [], {'default': "'devs/silhouette.png'", 'max_length': '100'}),
- 'public_email': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
- 'roles': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'userprofile_user'", 'unique': 'True', 'to': "orm['auth.User']"}),
- 'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
- 'yob': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['main', 'packages']
diff --git a/packages/migrations/0003_auto__add_packagegroup.py b/packages/migrations/0003_auto__add_packagegroup.py
deleted file mode 100644
index c40b6429..00000000
--- a/packages/migrations/0003_auto__add_packagegroup.py
+++ /dev/null
@@ -1,109 +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):
-
- # Adding model 'PackageGroup'
- db.create_table('packages_packagegroup', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Package'])),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('packages', ['PackageGroup'])
-
-
- def backwards(self, orm):
-
- # Deleting model 'PackageGroup'
- db.delete_table('packages_packagegroup')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'object_name': 'Arch', 'db_table': "'arches'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'license': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'object_name': 'Repo', 'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0004_auto__add_license.py b/packages/migrations/0004_auto__add_license.py
deleted file mode 100644
index 001440fe..00000000
--- a/packages/migrations/0004_auto__add_license.py
+++ /dev/null
@@ -1,118 +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):
- # Adding model 'License'
- db.create_table('packages_license', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='licenses', to=orm['main.Package'])),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('packages', ['License'])
-
-
- def backwards(self, orm):
- # Deleting model 'License'
- db.delete_table('packages_license')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'license': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.license': {
- 'Meta': {'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0005_move_license_data.py b/packages/migrations/0005_move_license_data.py
deleted file mode 100644
index 1c1e689a..00000000
--- a/packages/migrations/0005_move_license_data.py
+++ /dev/null
@@ -1,120 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-
-class Migration(DataMigration):
-
- depends_on = (
- # the last structural change to the package model
- ('main', '0026_auto__add_field_package_packager_str__add_field_package_packager'),
- )
-
- def forwards(self, orm):
- "Migrate the flat license text to a seperate relation."
- for pkg in orm['main.Package'].objects.all():
- licenses = pkg.license.split(u', ')
- for license in licenses:
- pkg.licenses.create(name=license)
-
- def backwards(self, orm):
- for pkg in orm['main.Package'].objects.all():
- pkg.license = u', '.join([l.name for l in pkg.licenses.all()])
- pkg.save()
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'license': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.license': {
- 'Meta': {'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0006_auto__add_provision__add_conflict__add_replacement.py b/packages/migrations/0006_auto__add_provision__add_conflict__add_replacement.py
deleted file mode 100644
index c764ce77..00000000
--- a/packages/migrations/0006_auto__add_provision__add_conflict__add_replacement.py
+++ /dev/null
@@ -1,167 +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):
- # Adding model 'Provision'
- db.create_table('packages_provision', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='provides', to=orm['main.Package'])),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('version', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ))
- db.send_create_signal('packages', ['Provision'])
-
- # Adding model 'Conflict'
- db.create_table('packages_conflict', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='conflicts', to=orm['main.Package'])),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('comparison', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ('version', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ))
- db.send_create_signal('packages', ['Conflict'])
-
- # Adding model 'Replacement'
- db.create_table('packages_replacement', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='replaces', to=orm['main.Package'])),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('comparison', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ('version', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ))
- db.send_create_signal('packages', ['Replacement'])
-
-
- def backwards(self, orm):
- # Deleting model 'Provision'
- db.delete_table('packages_provision')
- # Deleting model 'Conflict'
- db.delete_table('packages_conflict')
- # Deleting model 'Replacement'
- db.delete_table('packages_replacement')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0007_auto__add_field_packagerelation_created.py b/packages/migrations/0007_auto__add_field_packagerelation_created.py
deleted file mode 100644
index b030909e..00000000
--- a/packages/migrations/0007_auto__add_field_packagerelation_created.py
+++ /dev/null
@@ -1,138 +0,0 @@
-# encoding: utf-8
-import datetime
-from pytz import utc
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- old_date = datetime.datetime(2000, 1, 1)
- old_date = old_date.replace(tzinfo=utc)
- db.add_column('packages_packagerelation', 'created', self.gf('django.db.models.fields.DateTimeField')(default=old_date), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('packages_packagerelation', 'created')
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('django.db.models.fields.BigIntegerField', [], {'null': 'True'}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0008_add_signoff_model.py b/packages/migrations/0008_add_signoff_model.py
deleted file mode 100644
index 5feed909..00000000
--- a/packages/migrations/0008_add_signoff_model.py
+++ /dev/null
@@ -1,166 +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):
- # Adding model 'Signoff'
- db.create_table('packages_signoff', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('pkgver', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('pkgrel', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('epoch', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
- ('arch', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Arch'])),
- ('repo', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Repo'])),
- ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='package_signoffs', to=orm['auth.User'])),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('revoked', self.gf('django.db.models.fields.DateTimeField')(null=True)),
- ('comments', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ))
- db.send_create_signal('packages', ['Signoff'])
-
-
- def backwards(self, orm):
- # Deleting model 'Signoff'
- db.delete_table('packages_signoff')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0009_add_packagegroup_name_index.py b/packages/migrations/0009_add_packagegroup_name_index.py
deleted file mode 100644
index f81e77fc..00000000
--- a/packages/migrations/0009_add_packagegroup_name_index.py
+++ /dev/null
@@ -1,149 +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.create_index('packages_packagegroup', ['name'])
-
- def backwards(self, orm):
- db.delete_index('packages_packagegroup', ['name'])
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0010_auto__add_signoffspecification.py b/packages/migrations/0010_auto__add_signoffspecification.py
deleted file mode 100644
index da24824e..00000000
--- a/packages/migrations/0010_auto__add_signoffspecification.py
+++ /dev/null
@@ -1,183 +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.create_table('packages_signoffspecification', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('pkgver', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('pkgrel', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('epoch', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
- ('arch', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Arch'])),
- ('repo', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Repo'])),
- ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('required', self.gf('django.db.models.fields.PositiveIntegerField')(default=2)),
- ('enabled', self.gf('django.db.models.fields.BooleanField')(default=True)),
- ('known_bad', 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('packages', ['SignoffSpecification'])
-
-
- def backwards(self, orm):
- db.delete_table('packages_signoffspecification')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0011_auto__chg_field_signoffspecification_user.py b/packages/migrations/0011_auto__chg_field_signoffspecification_user.py
deleted file mode 100644
index f6e3cdd9..00000000
--- a/packages/migrations/0011_auto__chg_field_signoffspecification_user.py
+++ /dev/null
@@ -1,165 +0,0 @@
-# encoding: 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('packages_signoffspecification', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True))
-
- def backwards(self, orm):
- db.alter_column('packages_signoffspecification', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['auth.User']))
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.models.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0012_auto__add_flagrequest.py b/packages/migrations/0012_auto__add_flagrequest.py
deleted file mode 100644
index a501daff..00000000
--- a/packages/migrations/0012_auto__add_flagrequest.py
+++ /dev/null
@@ -1,201 +0,0 @@
-# encoding: utf-8
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- # Adding model 'FlagRequest'
- db.create_table('packages_flagrequest', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, blank=True)),
- ('user_email', self.gf('django.db.models.fields.EmailField')(max_length=75)),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('ip_address', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),
- ('pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('repo', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Repo'])),
- ('num_packages', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)),
- ('message', self.gf('django.db.models.fields.TextField')(blank=True)),
- ('is_spam', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('is_legitimate', self.gf('django.db.models.fields.BooleanField')(default=True)),
- ))
- db.send_create_signal('packages', ['FlagRequest'])
-
- if db.backend_name == 'mysql':
- # stupid f#$%ing storage of IP address as a 15 character type
- db.execute("ALTER TABLE packages_flagrequest "
- "MODIFY ip_address char(39) NOT NULL")
-
-
- def backwards(self, orm):
- # Deleting model 'FlagRequest'
- db.delete_table('packages_flagrequest')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0013_auto__add_field_flagrequest_version.py b/packages/migrations/0013_auto__add_field_flagrequest_version.py
deleted file mode 100644
index ab33d5b3..00000000
--- a/packages/migrations/0013_auto__add_field_flagrequest_version.py
+++ /dev/null
@@ -1,180 +0,0 @@
-# encoding: 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('packages_flagrequest', 'version', self.gf('django.db.models.fields.CharField')(default='', max_length=255), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('packages_flagrequest', 'version')
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0014_auto__chg_field_flagrequest_ip_address.py b/packages/migrations/0014_auto__chg_field_flagrequest_ip_address.py
deleted file mode 100644
index 351b9985..00000000
--- a/packages/migrations/0014_auto__chg_field_flagrequest_ip_address.py
+++ /dev/null
@@ -1,181 +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('packages_flagrequest', 'ip_address', self.gf('django.db.models.fields.GenericIPAddressField')(max_length=39))
-
- def backwards(self, orm):
- db.alter_column('packages_flagrequest', 'ip_address', self.gf('django.db.models.fields.IPAddressField')(max_length=15))
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0015_auto__add_depend.py b/packages/migrations/0015_auto__add_depend.py
deleted file mode 100644
index c9685ecb..00000000
--- a/packages/migrations/0015_auto__add_depend.py
+++ /dev/null
@@ -1,199 +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('packages_depend', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('version', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='depends_new', to=orm['main.Package'])),
- ('comparison', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ('optional', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ))
- db.send_create_signal('packages', ['Depend'])
-
- def backwards(self, orm):
- db.delete_table('packages_depend')
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends_new'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0016_copy_depends_data.py b/packages/migrations/0016_copy_depends_data.py
deleted file mode 100644
index a4b55d4e..00000000
--- a/packages/migrations/0016_copy_depends_data.py
+++ /dev/null
@@ -1,246 +0,0 @@
-# -*- coding: utf-8 -*-
-import re
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-
-class Migration(DataMigration):
-
- depends_on = (
- ('main', '0038_add_depends_optional_description.py'),
- )
-
- def forwards(self, orm):
- Depend = orm['packages.Depend']
- vcmp_re = re.compile(r"^(>=|<=|=|>|<)(.*)$")
- for old in orm['main.PackageDepend'].objects.all():
- comp = ver = ''
- m = vcmp_re.match(old.depvcmp)
- if m:
- comp = m.group(1)
- ver = m.group(2)
- new_dep = Depend(pkg_id=old.pkg_id, name=old.depname,
- comparison=comp, version=ver, optional=old.optional,
- description=old.description)
- new_dep.save(force_insert=True)
-
- def backwards(self, orm):
- orm['packages.Depend'].objects.all().delete()
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.packagedepend': {
- 'Meta': {'object_name': 'PackageDepend', 'db_table': "'package_depends'"},
- 'depname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'depvcmp': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"})
- },
- 'main.packagefile': {
- 'Meta': {'object_name': 'PackageFile', 'db_table': "'package_files'"},
- 'directory': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_directory': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'main.todolist': {
- 'Meta': {'object_name': 'Todolist', 'db_table': "'todolists'"},
- 'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'on_delete': 'models.PROTECT'}),
- 'date_added': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'main.todolistpkg': {
- 'Meta': {'unique_together': "(('list', 'pkg'),)", 'object_name': 'TodolistPkg', 'db_table': "'todolist_pkgs'"},
- 'complete': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Todolist']"}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends_new'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- }
- }
-
- complete_apps = ['main', 'packages']
- symmetrical = True
diff --git a/packages/migrations/0017_auto__add_update.py b/packages/migrations/0017_auto__add_update.py
deleted file mode 100644
index c7c16d4e..00000000
--- a/packages/migrations/0017_auto__add_update.py
+++ /dev/null
@@ -1,226 +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('packages_update', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('package', self.gf('django.db.models.fields.related.ForeignKey')(related_name='updates', null=True, on_delete=models.SET_NULL, to=orm['main.Package'])),
- ('repo', self.gf('django.db.models.fields.related.ForeignKey')(related_name='updates', to=orm['main.Repo'])),
- ('arch', self.gf('django.db.models.fields.related.ForeignKey')(related_name='updates', to=orm['main.Arch'])),
- ('pkgname', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('action_flag', self.gf('django.db.models.fields.PositiveSmallIntegerField')()),
- ('created', self.gf('django.db.models.fields.DateTimeField')()),
- ('old_pkgver', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)),
- ('old_pkgrel', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)),
- ('old_epoch', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)),
- ('new_pkgver', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)),
- ('new_pkgrel', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)),
- ('new_epoch', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)),
- ))
- db.send_create_signal('packages', ['Update'])
-
-
- def backwards(self, orm):
- db.delete_table('packages_update')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0018_create_created_indexes.py b/packages/migrations/0018_create_created_indexes.py
deleted file mode 100644
index 678a04d4..00000000
--- a/packages/migrations/0018_create_created_indexes.py
+++ /dev/null
@@ -1,214 +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_index('packages_flagrequest', ['created'])
- db.create_index('packages_update', ['created'])
- db.create_index('packages_signoff', ['created'])
-
-
- def backwards(self, orm):
- db.delete_index('packages_signoff', ['created'])
- db.delete_index('packages_update', ['created'])
- db.delete_index('packages_flagrequest', ['created'])
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0019_package_update_pkgname_index.py b/packages/migrations/0019_package_update_pkgname_index.py
deleted file mode 100644
index 047f11ec..00000000
--- a/packages/migrations/0019_package_update_pkgname_index.py
+++ /dev/null
@@ -1,208 +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_index('packages_update', ['pkgname'])
-
- def backwards(self, orm):
- db.delete_index('packages_update', ['pkgname'])
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0020_auto__add_field_depend_deptype.py b/packages/migrations/0020_auto__add_field_depend_deptype.py
deleted file mode 100644
index 4cc5bc17..00000000
--- a/packages/migrations/0020_auto__add_field_depend_deptype.py
+++ /dev/null
@@ -1,212 +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('packages_depend', 'deptype',
- self.gf('django.db.models.fields.CharField')(default='D', max_length=1),
- keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('packages_depend', 'deptype')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0021_migrate_optional_deps.py b/packages/migrations/0021_migrate_optional_deps.py
deleted file mode 100644
index f6652ce1..00000000
--- a/packages/migrations/0021_migrate_optional_deps.py
+++ /dev/null
@@ -1,210 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- orm['packages.Depend'].objects.filter(optional=False).update(deptype='D')
- orm['packages.Depend'].objects.filter(optional=True).update(deptype='O')
-
- def backwards(self, orm):
- orm['packages.Depend'].objects.all().update(deptype='D')
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
- symmetrical = True
diff --git a/packages/migrations/0022_auto__del_field_depend_optional.py b/packages/migrations/0022_auto__del_field_depend_optional.py
deleted file mode 100644
index 8e65ccb1..00000000
--- a/packages/migrations/0022_auto__del_field_depend_optional.py
+++ /dev/null
@@ -1,211 +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('packages_depend', 'optional')
-
- def backwards(self, orm):
- db.add_column('packages_depend', 'optional',
- self.gf('django.db.models.fields.BooleanField')(default=False),
- keep_default=False)
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0023_split_flag_req_version_field.py b/packages/migrations/0023_split_flag_req_version_field.py
deleted file mode 100644
index b3d6c05c..00000000
--- a/packages/migrations/0023_split_flag_req_version_field.py
+++ /dev/null
@@ -1,222 +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('packages_flagrequest', 'pkgver',
- self.gf('django.db.models.fields.CharField')(default='', max_length=255),
- keep_default=False)
- db.add_column('packages_flagrequest', 'pkgrel',
- self.gf('django.db.models.fields.CharField')(default='', max_length=255),
- keep_default=False)
- db.add_column('packages_flagrequest', 'epoch',
- self.gf('django.db.models.fields.PositiveIntegerField')(default=0),
- keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('packages_flagrequest', 'pkgver')
- db.delete_column('packages_flagrequest', 'pkgrel')
- db.delete_column('packages_flagrequest', 'epoch')
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/migrations/0024_move_flag_req_version_info.py b/packages/migrations/0024_move_flag_req_version_info.py
deleted file mode 100644
index 3be4654a..00000000
--- a/packages/migrations/0024_move_flag_req_version_info.py
+++ /dev/null
@@ -1,218 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-
-from packages.utils import parse_version
-
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- for pk, version in orm.FlagRequest.objects.exclude(
- version='').values_list('pk', 'version'):
- ver, rel, epoch = parse_version(version)
- orm.FlagRequest.objects.filter(pk=pk).update(
- pkgver=ver, pkgrel=rel, epoch=epoch)
-
- def backwards(self, orm):
- orm.FlagRequest.objects.all().update(pkgver='', pkgrel='', epoch=0)
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
- 'version': ('django.db.models.fields.CharField', [], {'max_length': '255'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
- symmetrical = True
diff --git a/packages/migrations/0025_auto__del_field_flagrequest_version.py b/packages/migrations/0025_auto__del_field_flagrequest_version.py
deleted file mode 100644
index 963b0b12..00000000
--- a/packages/migrations/0025_auto__del_field_flagrequest_version.py
+++ /dev/null
@@ -1,213 +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('packages_flagrequest', 'version')
-
- def backwards(self, orm):
- db.add_column('packages_flagrequest', 'version',
- self.gf('django.db.models.fields.CharField')(default='', max_length=255),
- keep_default=False)
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'main.arch': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.package': {
- 'Meta': {'ordering': "('pkgname',)", 'unique_together': "(('pkgname', 'repo', 'arch'),)", 'object_name': 'Package', 'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'files_last_update': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'flag_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'installed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'last_update': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'packager': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL'}),
- 'packager_str': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pgp_signature': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgdesc': ('django.db.models.fields.TextField', [], {'null': 'True'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- 'main.repo': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Repo', 'db_table': "'repos'"},
- 'bugs_category': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'bugs_project': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'staging': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'svn_root': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'packages.conflict': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Conflict'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conflicts'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.depend': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Depend'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'deptype': ('django.db.models.fields.CharField', [], {'default': "'D'", 'max_length': '1'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'depends'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.flagrequest': {
- 'Meta': {'object_name': 'FlagRequest'},
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'ip_address': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39'}),
- 'is_legitimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_spam': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'message': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
- 'num_packages': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
- 'user_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'})
- },
- 'packages.license': {
- 'Meta': {'ordering': "['name']", 'object_name': 'License'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'licenses'", 'to': "orm['main.Package']"})
- },
- 'packages.packagegroup': {
- 'Meta': {'object_name': 'PackageGroup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'groups'", 'to': "orm['main.Package']"})
- },
- 'packages.packagerelation': {
- 'Meta': {'unique_together': "(('pkgbase', 'user', 'type'),)", 'object_name': 'PackageRelation'},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_relations'", 'to': "orm['auth.User']"})
- },
- 'packages.provision': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Provision'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'provides'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.replacement': {
- 'Meta': {'ordering': "['name']", 'object_name': 'Replacement'},
- 'comparison': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'replaces'", 'to': "orm['main.Package']"}),
- 'version': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'})
- },
- 'packages.signoff': {
- 'Meta': {'object_name': 'Signoff'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_signoffs'", 'to': "orm['auth.User']"})
- },
- 'packages.signoffspecification': {
- 'Meta': {'object_name': 'SignoffSpecification'},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Arch']"}),
- 'comments': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- 'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'epoch': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'known_bad': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Repo']"}),
- 'required': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
- 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
- },
- 'packages.update': {
- 'Meta': {'object_name': 'Update'},
- 'action_flag': ('django.db.models.fields.PositiveSmallIntegerField', [], {}),
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Arch']"}),
- 'created': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'new_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'new_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'new_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_epoch': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True'}),
- 'old_pkgrel': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'old_pkgver': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
- 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['main.Package']"}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkgname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
- 'repo': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'updates'", 'to': "orm['main.Repo']"})
- }
- }
-
- complete_apps = ['packages']
diff --git a/packages/models.py b/packages/models.py
index da8adc56..dd69e7d3 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -181,9 +181,7 @@ class FlagRequest(models.Model):
user = models.ForeignKey(User, blank=True, null=True)
user_email = models.EmailField('email address')
created = models.DateTimeField(editable=False, db_index=True)
- # 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)
pkgbase = models.CharField(max_length=255, db_index=True)
pkgver = models.CharField(max_length=255)
pkgrel = models.CharField(max_length=255)
diff --git a/packages/views/__init__.py b/packages/views/__init__.py
index c1f0f492..46c99985 100644
--- a/packages/views/__init__.py
+++ b/packages/views/__init__.py
@@ -27,10 +27,7 @@ from .signoff import signoffs, signoff_package, signoff_options, signoffs_json
@require_safe
@cache_control(public=True, max_age=86400)
def opensearch(request):
- if request.is_secure():
- domain = "https://%s" % request.META['HTTP_HOST']
- else:
- domain = "http://%s" % request.META['HTTP_HOST']
+ domain = "%s://%s" % (request.scheme, request.META['HTTP_HOST'])
return render(request, 'packages/opensearch.xml',
{'domain': domain},