summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/migrations/0001_initial.py440
-rw-r--r--main/migrations/0002_make_maintainer_nullable.py190
-rw-r--r--main/migrations/0003_migrate_maintainer.py193
-rw-r--r--main/migrations/0004_add_pkgname_index.py193
-rw-r--r--main/migrations/0005_fix_empty_url_pkgdesc.py207
-rw-r--r--main/migrations/0006_add_more_info_to_packages.py201
-rw-r--r--main/migrations/0007_add_files_last_update.py193
-rw-r--r--main/migrations/0008_mirror_tiering.py199
-rw-r--r--main/migrations/0009_mirror_rsync_credentials.py201
-rw-r--r--main/migrations/0010_kill_rsync_ip_hostname.py196
-rw-r--r--main/migrations/0011_mirror_notes_text_field.py198
-rw-r--r--main/migrations/0012_is_repo_testing.py194
-rw-r--r--main/migrations/0013_mark_repos_testing.py194
-rw-r--r--main/migrations/0014_mirror_notes_rsync_optional.py201
-rw-r--r--main/migrations/0015_auto__del_field_package_maintainer.py211
-rw-r--r--main/migrations/0016_always_fill_pkgbase.py206
-rw-r--r--main/migrations/0017_auto__chg_field_package_pkgbase.py211
-rw-r--r--main/migrations/0018_auto__del_press.py210
-rw-r--r--main/migrations/0019_auto__del_altforum.py204
-rw-r--r--main/migrations/0020_auto__del_externalproject.py197
-rw-r--r--main/migrations/0021_mark_package_fields_nullable.py203
-rw-r--r--main/migrations/0022_auto__add_field_package_filename.py192
-rw-r--r--main/migrations/0023_auto__add_field_package_flag_date.py193
-rw-r--r--main/migrations/0024_set_initial_flag_date.py190
-rw-r--r--main/migrations/0025_auto__del_field_package_needupdate.py192
-rw-r--r--main/migrations/0026_auto__add_field_package_packager_str__add_field_package_packager.py200
-rw-r--r--main/migrations/0027_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py198
-rw-r--r--main/migrations/0028_auto__add_field_repo_bugs_project__add_field_repo_svn_root.py200
-rw-r--r--main/migrations/0029_fill_in_repo_data.py193
-rw-r--r--main/migrations/0030_move_mirror_models.py157
-rw-r--r--main/migrations/0031_move_news_out.py149
-rw-r--r--main/migrations/0032_auto__add_field_arch_agnostic.py152
-rw-r--r--main/migrations/0033_mark_any_agnostic.py150
-rw-r--r--main/migrations/0034_update_content_type.py153
-rw-r--r--main/migrations/0035_auto__add_field_donor_visible.py151
-rw-r--r--main/migrations/0036_auto__chg_field_userprofile_user.py151
-rw-r--r--main/migrations/0037_auto__add_field_userprofile_time_zone.py154
-rw-r--r--main/migrations/0038_add_depends_optional_description.py156
-rw-r--r--main/migrations/0039_auto__del_field_package_license.py157
-rw-r--r--main/migrations/0040_split_package_files.py166
-rw-r--r--main/migrations/0041_move_package_files_data.py186
-rw-r--r--main/migrations/0042_auto__del_field_packagefile_path.py158
-rw-r--r--main/migrations/0043_auto__add_field_package_epoch.py162
-rw-r--r--main/migrations/0044_auto__chg_field_todolist_date_added.py156
-rw-r--r--main/migrations/0045_add_todolist_date_added_index.py156
-rw-r--r--main/migrations/0046_auto__add_field_repo_staging.py157
-rw-r--r--main/migrations/0047_utc_datetimes.py180
-rw-r--r--main/migrations/0048_auto__add_field_repo_bugs_category.py158
-rw-r--r--main/migrations/0049_auto__add_field_userprofile_pgp_key.py160
-rw-r--r--main/migrations/0050_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py166
-rw-r--r--main/migrations/0051_auto__chg_field_userprofile_pgp_key.py160
-rw-r--r--main/migrations/0052_auto__del_signoff.py166
-rw-r--r--main/migrations/0053_auto__add_field_package_pgp_signature.py152
-rw-r--r--main/migrations/0054_auto__add_field_donor_created.py160
-rw-r--r--main/migrations/0055_unique_package_in_repo.py160
-rw-r--r--main/migrations/0056_auto__chg_field_package_pkgdesc.py153
-rw-r--r--main/migrations/0057_auto__add_field_userprofile_latin_name.py153
-rw-r--r--main/migrations/0058_auto__add_on_delete_attributes.py160
-rw-r--r--main/migrations/0059_auto__del_userprofile.py137
-rw-r--r--main/migrations/0060_add_packages_last_update_index.py131
-rw-r--r--main/migrations/0061_auto__del_packagedepend.py135
-rw-r--r--main/migrations/0062_remove_old_todolist_models.py133
-rw-r--r--main/migrations/0063_auto__add_field_package_created.py116
-rw-r--r--main/migrations/0064_auto__add_field_arch_required_signoffs.py112
-rw-r--r--main/migrations/0065_auto__add_field_package_signature_bytes.py114
-rw-r--r--main/migrations/0066_move_signature_data.py125
-rw-r--r--main/migrations/0067_auto__del_field_package_pgp_signature.py113
-rw-r--r--main/migrations/0068_auto__chg_field_packagefile_directory__chg_field_packagefile_filename.py112
68 files changed, 0 insertions, 11827 deletions
diff --git a/main/migrations/0001_initial.py b/main/migrations/0001_initial.py
deleted file mode 100644
index bc8bb492..00000000
--- a/main/migrations/0001_initial.py
+++ /dev/null
@@ -1,440 +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 'PackageDepend'
- db.create_table('package_depends', (
- ('id', orm['main.PackageDepend:id']),
- ('pkg', orm['main.PackageDepend:pkg']),
- ('depname', orm['main.PackageDepend:depname']),
- ('depvcmp', orm['main.PackageDepend:depvcmp']),
- ))
- db.send_create_signal('main', ['PackageDepend'])
-
- # Adding model 'Press'
- db.create_table('press', (
- ('id', orm['main.Press:id']),
- ('name', orm['main.Press:name']),
- ('url', orm['main.Press:url']),
- ))
- db.send_create_signal('main', ['Press'])
-
- # Adding model 'MirrorUrl'
- db.create_table('main_mirrorurl', (
- ('id', orm['main.MirrorUrl:id']),
- ('url', orm['main.MirrorUrl:url']),
- ('protocol', orm['main.MirrorUrl:protocol']),
- ('mirror', orm['main.MirrorUrl:mirror']),
- ))
- db.send_create_signal('main', ['MirrorUrl'])
-
- # Adding model 'MirrorRsync'
- db.create_table('main_mirrorrsync', (
- ('id', orm['main.MirrorRsync:id']),
- ('hostname', orm['main.MirrorRsync:hostname']),
- ('ip', orm['main.MirrorRsync:ip']),
- ('mirror', orm['main.MirrorRsync:mirror']),
- ))
- db.send_create_signal('main', ['MirrorRsync'])
-
- # Adding model 'AltForum'
- db.create_table('alt_forums', (
- ('id', orm['main.AltForum:id']),
- ('language', orm['main.AltForum:language']),
- ('url', orm['main.AltForum:url']),
- ('name', orm['main.AltForum:name']),
- ))
- db.send_create_signal('main', ['AltForum'])
-
- # Adding model 'Signoff'
- db.create_table('main_signoff', (
- ('id', orm['main.Signoff:id']),
- ('pkg', orm['main.Signoff:pkg']),
- ('pkgver', orm['main.Signoff:pkgver']),
- ('pkgrel', orm['main.Signoff:pkgrel']),
- ('packager', orm['main.Signoff:packager']),
- ))
- db.send_create_signal('main', ['Signoff'])
-
- # Adding model 'UserProfile'
- db.create_table('user_profiles', (
- ('id', orm['main.UserProfile:id']),
- ('notify', orm['main.UserProfile:notify']),
- ('alias', orm['main.UserProfile:alias']),
- ('public_email', orm['main.UserProfile:public_email']),
- ('other_contact', orm['main.UserProfile:other_contact']),
- ('website', orm['main.UserProfile:website']),
- ('yob', orm['main.UserProfile:yob']),
- ('location', orm['main.UserProfile:location']),
- ('languages', orm['main.UserProfile:languages']),
- ('interests', orm['main.UserProfile:interests']),
- ('occupation', orm['main.UserProfile:occupation']),
- ('roles', orm['main.UserProfile:roles']),
- ('favorite_distros', orm['main.UserProfile:favorite_distros']),
- ('picture', orm['main.UserProfile:picture']),
- ('user', orm['main.UserProfile:user']),
- ))
- db.send_create_signal('main', ['UserProfile'])
-
- # Adding model 'Arch'
- db.create_table('arches', (
- ('id', orm['main.Arch:id']),
- ('name', orm['main.Arch:name']),
- ))
- db.send_create_signal('main', ['Arch'])
-
- # Adding model 'PackageFile'
- db.create_table('package_files', (
- ('id', orm['main.PackageFile:id']),
- ('pkg', orm['main.PackageFile:pkg']),
- ('path', orm['main.PackageFile:path']),
- ))
- db.send_create_signal('main', ['PackageFile'])
-
- # Adding model 'Todolist'
- db.create_table('todolists', (
- ('id', orm['main.Todolist:id']),
- ('creator', orm['main.Todolist:creator']),
- ('name', orm['main.Todolist:name']),
- ('description', orm['main.Todolist:description']),
- ('date_added', orm['main.Todolist:date_added']),
- ))
- db.send_create_signal('main', ['Todolist'])
-
- # Adding model 'TodolistPkg'
- db.create_table('todolist_pkgs', (
- ('id', orm['main.TodolistPkg:id']),
- ('list', orm['main.TodolistPkg:list']),
- ('pkg', orm['main.TodolistPkg:pkg']),
- ('complete', orm['main.TodolistPkg:complete']),
- ))
- db.send_create_signal('main', ['TodolistPkg'])
-
- # Adding model 'Donor'
- db.create_table('donors', (
- ('id', orm['main.Donor:id']),
- ('name', orm['main.Donor:name']),
- ))
- db.send_create_signal('main', ['Donor'])
-
- # Adding model 'Package'
- db.create_table('packages', (
- ('id', orm['main.Package:id']),
- ('repo', orm['main.Package:repo']),
- ('arch', orm['main.Package:arch']),
- ('maintainer', orm['main.Package:maintainer']),
- ('needupdate', orm['main.Package:needupdate']),
- ('pkgname', orm['main.Package:pkgname']),
- ('pkgbase', orm['main.Package:pkgbase']),
- ('pkgver', orm['main.Package:pkgver']),
- ('pkgrel', orm['main.Package:pkgrel']),
- ('pkgdesc', orm['main.Package:pkgdesc']),
- ('url', orm['main.Package:url']),
- ('last_update', orm['main.Package:last_update']),
- ('license', orm['main.Package:license']),
- ))
- db.send_create_signal('main', ['Package'])
-
- # Adding model 'Repo'
- db.create_table('repos', (
- ('id', orm['main.Repo:id']),
- ('name', orm['main.Repo:name']),
- ))
- db.send_create_signal('main', ['Repo'])
-
- # Adding model 'Mirror'
- db.create_table('main_mirror', (
- ('id', orm['main.Mirror:id']),
- ('name', orm['main.Mirror:name']),
- ('country', orm['main.Mirror:country']),
- ('admin_email', orm['main.Mirror:admin_email']),
- ('notes', orm['main.Mirror:notes']),
- ('public', orm['main.Mirror:public']),
- ('active', orm['main.Mirror:active']),
- ('isos', orm['main.Mirror:isos']),
- ))
- db.send_create_signal('main', ['Mirror'])
-
- # Adding model 'MirrorProtocol'
- db.create_table('main_mirrorprotocol', (
- ('id', orm['main.MirrorProtocol:id']),
- ('protocol', orm['main.MirrorProtocol:protocol']),
- ))
- db.send_create_signal('main', ['MirrorProtocol'])
-
- # Adding model 'ExternalProject'
- db.create_table('main_externalproject', (
- ('id', orm['main.ExternalProject:id']),
- ('url', orm['main.ExternalProject:url']),
- ('name', orm['main.ExternalProject:name']),
- ('description', orm['main.ExternalProject:description']),
- ))
- db.send_create_signal('main', ['ExternalProject'])
-
- # Adding model 'News'
- db.create_table('news', (
- ('id', orm['main.News:id']),
- ('author', orm['main.News:author']),
- ('postdate', orm['main.News:postdate']),
- ('title', orm['main.News:title']),
- ('content', orm['main.News:content']),
- ))
- db.send_create_signal('main', ['News'])
-
- # Adding ManyToManyField 'UserProfile.allowed_repos'
- db.create_table('user_profiles_allowed_repos', (
- ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
- ('userprofile', models.ForeignKey(orm.UserProfile, null=False)),
- ('repo', models.ForeignKey(orm.Repo, null=False))
- ))
-
- # Creating unique_together for [list, pkg] on TodolistPkg.
- db.create_unique('todolist_pkgs', ['list_id', 'pkg_id'])
-
-
-
- def backwards(self, orm):
-
- # Deleting unique_together for [list, pkg] on TodolistPkg.
- db.delete_unique('todolist_pkgs', ['list_id', 'pkg_id'])
-
- # Deleting model 'PackageDepend'
- db.delete_table('package_depends')
-
- # Deleting model 'Press'
- db.delete_table('press')
-
- # Deleting model 'MirrorUrl'
- db.delete_table('main_mirrorurl')
-
- # Deleting model 'MirrorRsync'
- db.delete_table('main_mirrorrsync')
-
- # Deleting model 'AltForum'
- db.delete_table('alt_forums')
-
- # Deleting model 'Signoff'
- db.delete_table('main_signoff')
-
- # Deleting model 'UserProfile'
- db.delete_table('user_profiles')
-
- # Deleting model 'Arch'
- db.delete_table('arches')
-
- # Deleting model 'PackageFile'
- db.delete_table('package_files')
-
- # Deleting model 'Todolist'
- db.delete_table('todolists')
-
- # Deleting model 'TodolistPkg'
- db.delete_table('todolist_pkgs')
-
- # Deleting model 'Donor'
- db.delete_table('donors')
-
- # Deleting model 'Package'
- db.delete_table('packages')
-
- # Deleting model 'Repo'
- db.delete_table('repos')
-
- # Deleting model 'Mirror'
- db.delete_table('main_mirror')
-
- # Deleting model 'MirrorProtocol'
- db.delete_table('main_mirrorprotocol')
-
- # Deleting model 'ExternalProject'
- db.delete_table('main_externalproject')
-
- # Deleting model 'News'
- db.delete_table('news')
-
- # Dropping ManyToManyField 'UserProfile.allowed_repos'
- db.delete_table('user_profiles_allowed_repos')
-
-
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': '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', [], {'related_name': "'maintained_packages'", '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'}),
- '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0002_make_maintainer_nullable.py b/main/migrations/0002_make_maintainer_nullable.py
deleted file mode 100644
index 675635df..00000000
--- a/main/migrations/0002_make_maintainer_nullable.py
+++ /dev/null
@@ -1,190 +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', 'maintainer_id', orm['main.package:maintainer'])
-
- def backwards(self, orm):
- db.alter_column('packages', 'maintainer_id', orm['main.package:maintainer'])
-
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': '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', [], {'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'}),
- '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0003_migrate_maintainer.py b/main/migrations/0003_migrate_maintainer.py
deleted file mode 100644
index 4169a5c9..00000000
--- a/main/migrations/0003_migrate_maintainer.py
+++ /dev/null
@@ -1,193 +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.Package.objects.filter(maintainer=0).update(maintainer=None)
-
-
- def backwards(self, orm):
- # This will fail if foreign keys are in effect. Let's hope we'll
- # never have to go backwards. :P
- orm.Package.objects.filter(maintainer=None).update(maintainer=0)
-
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': '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', [], {'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'}),
- '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0004_add_pkgname_index.py b/main/migrations/0004_add_pkgname_index.py
deleted file mode 100644
index 6e23adac..00000000
--- a/main/migrations/0004_add_pkgname_index.py
+++ /dev/null
@@ -1,193 +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', 'maintainer_id', orm['main.package:maintainer'])
- db.create_index('packages', ['pkgname'])
-
-
- def backwards(self, orm):
- db.alter_column('packages', 'maintainer_id', orm['main.package:maintainer'])
- db.delete_index('packages', ['pkgname'])
-
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0005_fix_empty_url_pkgdesc.py b/main/migrations/0005_fix_empty_url_pkgdesc.py
deleted file mode 100644
index 54658c17..00000000
--- a/main/migrations/0005_fix_empty_url_pkgdesc.py
+++ /dev/null
@@ -1,207 +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):
- for p in orm.Package.objects.filter(pkgdesc=''):
- p.pkgdesc = None
- p.save()
- for p in orm.Package.objects.filter(pkgdesc='None'):
- p.pkgdesc = None
- p.save()
- for p in orm.Package.objects.filter(url=''):
- p.url = None
- p.save()
- for p in orm.Package.objects.filter(url='None'):
- p.url= None
- p.save()
-
-
- def backwards(self, orm):
- for p in orm.Package.objects.filter(pkgdesc=None):
- p.pkgdesc = ''
- p.save()
- for p in orm.Package.objects.filter(url=None):
- p.url = ''
- p.save()
-
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'db_table': "'packages'"},
- 'arch': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'packages'", 'to': "orm['main.Arch']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0006_add_more_info_to_packages.py b/main/migrations/0006_add_more_info_to_packages.py
deleted file mode 100644
index 5a2a1cd0..00000000
--- a/main/migrations/0006_add_more_info_to_packages.py
+++ /dev/null
@@ -1,201 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
-
- def forwards(self, orm):
- # Adding field 'Package.compressed_size'
- db.add_column('packages', 'compressed_size', orm['main.package:compressed_size'])
- # Adding field 'Package.installed_size'
- db.add_column('packages', 'installed_size', orm['main.package:installed_size'])
- # Adding field 'Package.build_date'
- db.add_column('packages', 'build_date', orm['main.package:build_date'])
-
- def backwards(self, orm):
- # Deleting field 'Package.compressed_size'
- db.delete_column('packages', 'compressed_size')
- # Deleting field 'Package.installed_size'
- db.delete_column('packages', 'installed_size')
- # Deleting field 'Package.build_date'
- db.delete_column('packages', 'build_date')
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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'}),
- '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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0007_add_files_last_update.py b/main/migrations/0007_add_files_last_update.py
deleted file mode 100644
index 36f99c26..00000000
--- a/main/migrations/0007_add_files_last_update.py
+++ /dev/null
@@ -1,193 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Adding field 'Package.files_last_update'
- db.add_column('packages', 'files_last_update', orm['main.package:files_last_update'])
-
- def backwards(self, orm):
- # Deleting field 'Package.files_last_update'
- db.delete_column('packages', 'files_last_update')
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0008_mirror_tiering.py b/main/migrations/0008_mirror_tiering.py
deleted file mode 100644
index 3993289e..00000000
--- a/main/migrations/0008_mirror_tiering.py
+++ /dev/null
@@ -1,199 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Adding field 'Mirror.tier'
- db.add_column('main_mirror', 'tier', orm['main.mirror:tier'])
- # Adding field 'Mirror.upstream'
- db.add_column('main_mirror', 'upstream', orm['main.mirror:upstream'])
-
- def backwards(self, orm):
- # Deleting field 'Mirror.tier'
- db.delete_column('main_mirror', 'tier')
- # Deleting field 'Mirror.upstream'
- db.delete_column('main_mirror', 'upstream_id')
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'tier': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'upstream': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Mirror']", 'null': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0009_mirror_rsync_credentials.py b/main/migrations/0009_mirror_rsync_credentials.py
deleted file mode 100644
index bbfc9d61..00000000
--- a/main/migrations/0009_mirror_rsync_credentials.py
+++ /dev/null
@@ -1,201 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Adding field 'Mirror.rsync_user'
- db.add_column('main_mirror', 'rsync_user', orm['main.mirror:rsync_user'])
- # Adding field 'Mirror.rsync_password'
- db.add_column('main_mirror', 'rsync_password', orm['main.mirror:rsync_password'])
-
- def backwards(self, orm):
- # Deleting field 'Mirror.rsync_user'
- db.delete_column('main_mirror', 'rsync_user')
- # Deleting field 'Mirror.rsync_password'
- db.delete_column('main_mirror', 'rsync_password')
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'rsync_password': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'rsync_user': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'tier': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'upstream': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Mirror']", 'null': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0010_kill_rsync_ip_hostname.py b/main/migrations/0010_kill_rsync_ip_hostname.py
deleted file mode 100644
index 105fcede..00000000
--- a/main/migrations/0010_kill_rsync_ip_hostname.py
+++ /dev/null
@@ -1,196 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Deleting field 'MirrorRsync.hostname'
- db.delete_column('main_mirrorrsync', 'hostname')
-
- def backwards(self, orm):
- # Adding field 'MirrorRsync.hostname'
- db.add_column('main_mirrorrsync', 'hostname', orm['main.mirrorrsync:hostname'])
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'rsync_password': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'rsync_user': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'tier': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'upstream': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Mirror']", 'null': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0011_mirror_notes_text_field.py b/main/migrations/0011_mirror_notes_text_field.py
deleted file mode 100644
index cb6347de..00000000
--- a/main/migrations/0011_mirror_notes_text_field.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Changing field 'Mirror.notes'
- # (to signature: django.db.models.fields.TextField(blank=True))
- db.alter_column('main_mirror', 'notes', orm['main.mirror:notes'])
-
- def backwards(self, orm):
- # Changing field 'Mirror.notes'
- # (to signature: django.db.models.fields.CharField(max_length=255, blank=True))
- db.alter_column('main_mirror', 'notes', orm['main.mirror:notes'])
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'rsync_user': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
- 'tier': ('django.db.models.fields.SmallIntegerField', [], {'default': '2'}),
- 'upstream': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Mirror']", 'null': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'db_table': "'repos'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0012_is_repo_testing.py b/main/migrations/0012_is_repo_testing.py
deleted file mode 100644
index b7a98b4a..00000000
--- a/main/migrations/0012_is_repo_testing.py
+++ /dev/null
@@ -1,194 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Adding field 'Repo.testing'
- db.add_column('repos', 'testing', orm['main.repo:testing'])
-
- def backwards(self, orm):
- # Deleting field 'Repo.testing'
- db.delete_column('repos', 'testing')
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'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': {
- '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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0013_mark_repos_testing.py b/main/migrations/0013_mark_repos_testing.py
deleted file mode 100644
index e50010b2..00000000
--- a/main/migrations/0013_mark_repos_testing.py
+++ /dev/null
@@ -1,194 +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.Repo.objects.filter(name__endswith="Testing").update(testing=True)
-
- def backwards(self, orm):
- pass
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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.CharField', [], {'max_length': '255', 'blank': 'True'}),
- 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'})
- },
- 'main.mirrorprotocol': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.mirrorrsync': {
- 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'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': {
- '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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0014_mirror_notes_rsync_optional.py b/main/migrations/0014_mirror_notes_rsync_optional.py
deleted file mode 100644
index 21d13627..00000000
--- a/main/migrations/0014_mirror_notes_rsync_optional.py
+++ /dev/null
@@ -1,201 +0,0 @@
-from south.db import db
-from django.db import models
-from main.models import *
-
-class Migration:
- def forwards(self, orm):
- # Changing field field 'Mirror.rsync_user'
- db.alter_column('main_mirror', 'rsync_user', orm['main.mirror:rsync_user'])
- # Changing field 'Mirror.rsync_password'
- db.alter_column('main_mirror', 'rsync_password', orm['main.mirror:rsync_password'])
-
- def backwards(self, orm):
- # Changing field field 'Mirror.rsync_user'
- db.alter_column('main_mirror', 'rsync_user', orm['main.mirror:rsync_user'])
- # Changing field 'Mirror.rsync_password'
- db.alter_column('main_mirror', 'rsync_password', orm['main.mirror:rsync_password'])
-
- models = {
- 'auth.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'),)"},
- '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': {
- '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'),)", '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': {'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': {'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': {'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': {
- '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': {
- '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': {
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'protocol': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'})
- },
- 'main.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': {
- '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': {'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': {'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': {'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': {'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': {'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': {'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': {
- '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': {'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'),)", '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': {'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0015_auto__del_field_package_maintainer.py b/main/migrations/0015_auto__del_field_package_maintainer.py
deleted file mode 100644
index 48aa9244..00000000
--- a/main/migrations/0015_auto__del_field_package_maintainer.py
+++ /dev/null
@@ -1,211 +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):
-
- depends_on = (
- ("packages", "0002_populate_package_relation"),
- )
-
- def forwards(self, orm):
- # Deleting field 'package.maintainer'
- db.delete_column('packages', 'maintainer_id')
-
- def backwards(self, orm):
- # Adding field 'package.maintainer'
- db.add_column('packages', 'maintainer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='maintained_packages', null=True, to=orm['auth.User'], blank=True), 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']", '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0016_always_fill_pkgbase.py b/main/migrations/0016_always_fill_pkgbase.py
deleted file mode 100644
index 8f556593..00000000
--- a/main/migrations/0016_always_fill_pkgbase.py
+++ /dev/null
@@ -1,206 +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):
-
- def forwards(self, orm):
- orm.Package.objects.filter(pkgbase=None).update(pkgbase=models.F('pkgname'))
-
- def backwards(self, orm):
- if not db.dry_run:
- orm.Package.objects.filter(pkgbase=models.F('pkgname')).update(pkgbase=None)
-
- 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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0017_auto__chg_field_package_pkgbase.py b/main/migrations/0017_auto__chg_field_package_pkgbase.py
deleted file mode 100644
index 1dccce40..00000000
--- a/main/migrations/0017_auto__chg_field_package_pkgbase.py
+++ /dev/null
@@ -1,211 +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):
- # Changing field 'Package.pkgbase'
- db.alter_column('packages', 'pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255))
- # Adding index on 'Package', fields ['pkgbase']
- db.create_index('packages', ['pkgbase'])
-
- def backwards(self, orm):
- # Removing index on 'Package', fields ['pkgbase']
- db.delete_index('packages', ['pkgbase'])
- # Changing field 'Package.pkgbase'
- db.alter_column('packages', 'pkgbase', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True))
-
- 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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0018_auto__del_press.py b/main/migrations/0018_auto__del_press.py
deleted file mode 100644
index 6cb7a7b0..00000000
--- a/main/migrations/0018_auto__del_press.py
+++ /dev/null
@@ -1,210 +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):
-
- # Deleting model 'Press'
- db.delete_table('press')
-
-
- def backwards(self, orm):
-
- # Adding model 'Press'
- db.create_table('press', (
- ('url', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('main', ['Press'])
-
-
- 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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': '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.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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0019_auto__del_altforum.py b/main/migrations/0019_auto__del_altforum.py
deleted file mode 100644
index 52a090a9..00000000
--- a/main/migrations/0019_auto__del_altforum.py
+++ /dev/null
@@ -1,204 +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):
-
- # Deleting model 'AltForum'
- db.delete_table('alt_forums')
-
-
- def backwards(self, orm):
-
- # Adding model 'AltForum'
- db.create_table('alt_forums', (
- ('url', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('language', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('main', ['AltForum'])
-
-
- 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.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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': '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.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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0020_auto__del_externalproject.py b/main/migrations/0020_auto__del_externalproject.py
deleted file mode 100644
index 90fa0b16..00000000
--- a/main/migrations/0020_auto__del_externalproject.py
+++ /dev/null
@@ -1,197 +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):
-
- # Deleting model 'ExternalProject'
- db.delete_table('main_externalproject')
-
-
- def backwards(self, orm):
-
- # Adding model 'ExternalProject'
- db.create_table('main_externalproject', (
- ('url', self.gf('django.db.models.fields.URLField')(max_length=200)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('description', self.gf('django.db.models.fields.CharField')(max_length=128)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=64)),
- ))
- db.send_create_signal('main', ['ExternalProject'])
-
-
- 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.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.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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'pkgbase': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': '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.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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0021_mark_package_fields_nullable.py b/main/migrations/0021_mark_package_fields_nullable.py
deleted file mode 100644
index 4258b54c..00000000
--- a/main/migrations/0021_mark_package_fields_nullable.py
+++ /dev/null
@@ -1,203 +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):
-
- # Changing field 'Package.license'
- db.alter_column('packages', 'license', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
-
- # Changing field 'Package.pkgdesc'
- db.alter_column('packages', 'pkgdesc', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
-
- # Changing field 'Package.url'
- db.alter_column('packages', 'url', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
-
-
- def backwards(self, orm):
-
- # Changing field 'Package.license'
- db.alter_column('packages', 'license', self.gf('django.db.models.fields.CharField')(max_length=255))
-
- # Changing field 'Package.pkgdesc'
- db.alter_column('packages', 'pkgdesc', self.gf('django.db.models.fields.CharField')(max_length=255))
-
- # Changing field 'Package.url'
- db.alter_column('packages', 'url', self.gf('django.db.models.fields.CharField')(max_length=255))
-
-
- 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.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.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', 'null': 'True'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0022_auto__add_field_package_filename.py b/main/migrations/0022_auto__add_field_package_filename.py
deleted file mode 100644
index 16440170..00000000
--- a/main/migrations/0022_auto__add_field_package_filename.py
+++ /dev/null
@@ -1,192 +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 field 'Package.filename'
- db.add_column('packages', 'filename', self.gf('django.db.models.fields.CharField')(default='package.pkg.tar.gz', max_length=255), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Package.filename'
- db.delete_column('packages', 'filename')
-
-
- 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.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.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'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- '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', 'null': 'True'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0023_auto__add_field_package_flag_date.py b/main/migrations/0023_auto__add_field_package_flag_date.py
deleted file mode 100644
index dcc10606..00000000
--- a/main/migrations/0023_auto__add_field_package_flag_date.py
+++ /dev/null
@@ -1,193 +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 field 'Package.flag_date'
- db.add_column('packages', 'flag_date', self.gf('django.db.models.fields.DateTimeField')(null=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Package.flag_date'
- db.delete_column('packages', 'flag_date')
-
-
- 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.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.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', [], {'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'}),
- '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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0024_set_initial_flag_date.py b/main/migrations/0024_set_initial_flag_date.py
deleted file mode 100644
index bd008792..00000000
--- a/main/migrations/0024_set_initial_flag_date.py
+++ /dev/null
@@ -1,190 +0,0 @@
-# encoding: utf-8
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-from django.utils.timezone import now
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- orm.Package.objects.filter(needupdate=False).update(flag_date=None)
- orm.Package.objects.filter(needupdate=True).update(flag_date=now())
-
- def backwards(self, orm):
- orm.Package.objects.filter(flag_date__isnull=True).update(needupdate=False)
- orm.Package.objects.filter(flag_date__isnull=False).update(needupdate=True)
-
-
- 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.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.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', [], {'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'}),
- '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'}),
- 'needupdate': ('django.db.models.fields.BooleanField', [], {'default': 'False', '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0025_auto__del_field_package_needupdate.py b/main/migrations/0025_auto__del_field_package_needupdate.py
deleted file mode 100644
index 3cf0cf3c..00000000
--- a/main/migrations/0025_auto__del_field_package_needupdate.py
+++ /dev/null
@@ -1,192 +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):
-
- # Deleting field 'Package.needupdate'
- db.delete_column('packages', 'needupdate')
-
-
- def backwards(self, orm):
-
- # Adding field 'Package.needupdate'
- db.add_column('packages', 'needupdate', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), 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': {'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.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.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', [], {'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'}),
- '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0026_auto__add_field_package_packager_str__add_field_package_packager.py b/main/migrations/0026_auto__add_field_package_packager_str__add_field_package_packager.py
deleted file mode 100644
index 21b66842..00000000
--- a/main/migrations/0026_auto__add_field_package_packager_str__add_field_package_packager.py
+++ /dev/null
@@ -1,200 +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 field 'Package.packager_str'
- db.add_column('packages', 'packager_str', self.gf('django.db.models.fields.CharField')(default='', max_length=255), keep_default=False)
-
- # Adding field 'Package.packager'
- db.add_column('packages', 'packager', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Package.packager_str'
- db.delete_column('packages', 'packager_str')
-
- # Deleting field 'Package.packager'
- db.delete_column('packages', 'packager_id')
-
-
- 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.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.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', [], {'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'}),
- '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'}),
- '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.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.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']", 'symmetrical': 'False', '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0027_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py b/main/migrations/0027_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py
deleted file mode 100644
index 9368e148..00000000
--- a/main/migrations/0027_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py
+++ /dev/null
@@ -1,198 +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):
- # Changing field 'Package.compressed_size'
- db.alter_column('packages', 'compressed_size', self.gf('django.db.models.fields.BigIntegerField')(null=True))
-
- # Changing field 'Package.installed_size'
- db.alter_column('packages', 'installed_size', self.gf('django.db.models.fields.BigIntegerField')(null=True))
-
-
- def backwards(self, orm):
- # Changing field 'Package.compressed_size'
- db.alter_column('packages', 'compressed_size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True))
-
- # Changing field 'Package.installed_size'
- db.alter_column('packages', 'installed_size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True))
-
-
- 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'"},
- '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'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.mirror': {
- 'Meta': {'ordering': "('country', 'name')", 'object_name': 'Mirror'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': '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'}),
- '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'}),
- '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': {'ordering': "['-postdate', '-id']", 'object_name': 'News', 'db_table': "'news'"},
- 'author': ('django.db.models.fields.related.ForeignKey', [], {'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': {'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.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.repo': {
- 'Meta': {'ordering': "['name']", '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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0028_auto__add_field_repo_bugs_project__add_field_repo_svn_root.py b/main/migrations/0028_auto__add_field_repo_bugs_project__add_field_repo_svn_root.py
deleted file mode 100644
index 92e8499d..00000000
--- a/main/migrations/0028_auto__add_field_repo_bugs_project__add_field_repo_svn_root.py
+++ /dev/null
@@ -1,200 +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 field 'Repo.bugs_project'
- db.add_column('repos', 'bugs_project', self.gf('django.db.models.fields.SmallIntegerField')(default=1), keep_default=False)
-
- # Adding field 'Repo.svn_root'
- db.add_column('repos', 'svn_root', self.gf('django.db.models.fields.CharField')(default='packages', max_length=64), keep_default=False)
-
-
- def backwards(self, orm):
- # Deleting field 'Repo.bugs_project'
- db.delete_column('repos', 'bugs_project')
-
- # Deleting field 'Repo.svn_root'
- db.delete_column('repos', 'svn_root')
-
-
- 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'"},
- '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'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.mirror': {
- 'Meta': {'ordering': "('country', 'name')", 'object_name': 'Mirror'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': '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'}),
- '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'}),
- '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': {'ordering': "['-postdate', '-id']", 'object_name': 'News', 'db_table': "'news'"},
- 'author': ('django.db.models.fields.related.ForeignKey', [], {'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': {'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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0029_fill_in_repo_data.py b/main/migrations/0029_fill_in_repo_data.py
deleted file mode 100644
index 7da6b1c4..00000000
--- a/main/migrations/0029_fill_in_repo_data.py
+++ /dev/null
@@ -1,193 +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):
-
- def forwards(self, orm):
- orm.Repo.objects.filter(name__istartswith='community').update(bugs_project=5, svn_root='community')
- orm.Repo.objects.filter(name__iexact='multilib').update(bugs_project=5, svn_root='community')
-
-
- def backwards(self, orm):
- 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']", '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'"},
- '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'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.mirror': {
- 'Meta': {'ordering': "('country', 'name')", 'object_name': 'Mirror'},
- 'active': ('django.db.models.fields.BooleanField', [], {'default': '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'}),
- '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'}),
- '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': {'ordering': "['-postdate', '-id']", 'object_name': 'News', 'db_table': "'news'"},
- 'author': ('django.db.models.fields.related.ForeignKey', [], {'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': {'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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0030_move_mirror_models.py b/main/migrations/0030_move_mirror_models.py
deleted file mode 100644
index 1fe0c7e9..00000000
--- a/main/migrations/0030_move_mirror_models.py
+++ /dev/null
@@ -1,157 +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):
- pass
-
- def backwards(self, orm):
- 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']", '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'"},
- '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'"},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
- },
- 'main.news': {
- 'Meta': {'ordering': "['-postdate', '-id']", 'object_name': 'News', 'db_table': "'news'"},
- 'author': ('django.db.models.fields.related.ForeignKey', [], {'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': {'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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0031_move_news_out.py b/main/migrations/0031_move_news_out.py
deleted file mode 100644
index 28f4b750..00000000
--- a/main/migrations/0031_move_news_out.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):
- pass
-
- def backwards(self, orm):
- 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']", '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'"},
- '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'"},
- '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0032_auto__add_field_arch_agnostic.py b/main/migrations/0032_auto__add_field_arch_agnostic.py
deleted file mode 100644
index 9ccf059d..00000000
--- a/main/migrations/0032_auto__add_field_arch_agnostic.py
+++ /dev/null
@@ -1,152 +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 field 'Arch.agnostic'
- db.add_column('arches', 'agnostic', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=True)
-
- def backwards(self, orm):
- # Deleting field 'Arch.agnostic'
- db.delete_column('arches', 'agnostic')
-
- 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'"},
- '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0033_mark_any_agnostic.py b/main/migrations/0033_mark_any_agnostic.py
deleted file mode 100644
index 4f429a2b..00000000
--- a/main/migrations/0033_mark_any_agnostic.py
+++ /dev/null
@@ -1,150 +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):
-
- def forwards(self, orm):
- orm.Arch.objects.filter(name='any').update(agnostic=True)
-
- def backwards(self, orm):
- 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']", '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'"},
- '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0034_update_content_type.py b/main/migrations/0034_update_content_type.py
deleted file mode 100644
index 59c6f6ad..00000000
--- a/main/migrations/0034_update_content_type.py
+++ /dev/null
@@ -1,153 +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):
- '''This is a defunct migration now, things have been moved to their proper
- places, but removing it would cause all existing setups migrated past this
- to complain.'''
-
- def forwards(self, orm):
- pass
-
- def backwards(self, orm):
- 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']", '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'"},
- '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0035_auto__add_field_donor_visible.py b/main/migrations/0035_auto__add_field_donor_visible.py
deleted file mode 100644
index 1f1c82e5..00000000
--- a/main/migrations/0035_auto__add_field_donor_visible.py
+++ /dev/null
@@ -1,151 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('donors', 'visible', self.gf('django.db.models.fields.BooleanField')(default=True), keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('donors', 'visible')
-
- 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'"},
- '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',)", '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0036_auto__chg_field_userprofile_user.py b/main/migrations/0036_auto__chg_field_userprofile_user.py
deleted file mode 100644
index 0c4e9a48..00000000
--- a/main/migrations/0036_auto__chg_field_userprofile_user.py
+++ /dev/null
@@ -1,151 +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.alter_column('user_profiles', 'user_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['auth.User']))
-
- def backwards(self, orm):
- db.alter_column('user_profiles', 'user_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, 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.donor': {
- 'Meta': {'ordering': "['name']", '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'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0037_auto__add_field_userprofile_time_zone.py b/main/migrations/0037_auto__add_field_userprofile_time_zone.py
deleted file mode 100644
index 3a65eacc..00000000
--- a/main/migrations/0037_auto__add_field_userprofile_time_zone.py
+++ /dev/null
@@ -1,154 +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 field 'UserProfile.time_zone'
- db.add_column('user_profiles', 'time_zone', self.gf('django.db.models.fields.CharField')(default='UTC', max_length=100), keep_default=True)
-
- def backwards(self, orm):
- # Deleting field 'UserProfile.time_zone'
- db.delete_column('user_profiles', 'time_zone')
-
- 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'"},
- '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',)", '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.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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0038_add_depends_optional_description.py b/main/migrations/0038_add_depends_optional_description.py
deleted file mode 100644
index ab3b3381..00000000
--- a/main/migrations/0038_add_depends_optional_description.py
+++ /dev/null
@@ -1,156 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('package_depends', 'optional', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
- db.add_column('package_depends', 'description', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('package_depends', 'optional')
- db.delete_column('package_depends', 'description')
-
- 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'"},
- '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',)", '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.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'}),
- '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', [], {'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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0039_auto__del_field_package_license.py b/main/migrations/0039_auto__del_field_package_license.py
deleted file mode 100644
index 2860bc47..00000000
--- a/main/migrations/0039_auto__del_field_package_license.py
+++ /dev/null
@@ -1,157 +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):
-
- depends_on = (
- ('packages', '0005_move_license_data'),
- )
-
- def forwards(self, orm):
- db.delete_column('packages', 'license')
-
- def backwards(self, orm):
- db.add_column('packages', 'license', self.gf('django.db.models.fields.CharField')(max_length=255, null=True), 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.donor': {
- 'Meta': {'ordering': "['name']", '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'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- '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'}),
- '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.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'}),
- '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', [], {'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.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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0040_split_package_files.py b/main/migrations/0040_split_package_files.py
deleted file mode 100644
index 42e96d01..00000000
--- a/main/migrations/0040_split_package_files.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 field 'PackageFile.is_directory'
- db.add_column('package_files', 'is_directory', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=True)
- # Adding field 'PackageFile.directory'
- db.add_column('package_files', 'directory', self.gf('django.db.models.fields.CharField')(default='', max_length=255), keep_default=False)
- # Adding field 'PackageFile.filename'
- db.add_column('package_files', 'filename', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- # Deleting field 'PackageFile.is_directory'
- db.delete_column('package_files', 'is_directory')
- # Deleting field 'PackageFile.directory'
- db.delete_column('package_files', 'directory')
- # Deleting field 'PackageFile.filename'
- db.delete_column('package_files', 'filename')
-
- 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'"},
- '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',)", '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'}),
- '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.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', [], {'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'}),
- 'path': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- '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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0041_move_package_files_data.py b/main/migrations/0041_move_package_files_data.py
deleted file mode 100644
index 31eecaa5..00000000
--- a/main/migrations/0041_move_package_files_data.py
+++ /dev/null
@@ -1,186 +0,0 @@
-# encoding: utf-8
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-from django.db.models import F
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- # Handle the paths that are directories first
- orm.PackageFile.objects.filter(path__endswith='/').update(
- is_directory=True, directory=F('path'))
-
- if db.backend_name == 'mysql':
- db.execute("UPDATE package_files "
- "SET filename = SUBSTRING_INDEX(path, '/', -1), "
- "directory = SUBSTRING(path, 1, LENGTH(path) - INSTR(REVERSE(path), '/') + 1) "
- "WHERE is_directory = 0")
- elif db.backend_name == 'postgresql':
- db.execute("UPDATE package_files "
- "SET filename = substring(filename, '.*/(.*?)$'), "
- "directory = substring(filename, '.*/') "
- "WHERE is_directory = 0")
- else:
- # Sucks that we can't always do this in one query at the DB level...
- files = orm.PackageFile.objects.filter(is_directory=False)
- for f in files:
- parts = f.path.rsplit('/', 1)
- db.execute("UPDATE package_files "
- "SET filename = %s, "
- "directory = %s "
- "WHERE id = %s",
- (parts[1], parts[0] + '/', f.id))
- # We could do this, but then Django takes forever to generate
- # basically the same query for every row.
- #f.filename = parts[1]
- #f.directory = parts[0] + '/'
- #f.save()
-
- def backwards(self, orm):
- orm.PackageFile.objects.all().update(is_directory=False,
- directory='', filename=None)
-
-
- 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'"},
- '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',)", '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'}),
- '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.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', [], {'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'}),
- 'path': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'pkg': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['main.Package']"})
- },
- '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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0042_auto__del_field_packagefile_path.py b/main/migrations/0042_auto__del_field_packagefile_path.py
deleted file mode 100644
index 837a6a7f..00000000
--- a/main/migrations/0042_auto__del_field_packagefile_path.py
+++ /dev/null
@@ -1,158 +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):
- # Deleting field 'PackageFile.path'
- db.delete_column('package_files', 'path')
-
- def backwards(self, orm):
- # Adding field 'PackageFile.path'
- db.add_column('package_files', 'path', 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.donor': {
- 'Meta': {'ordering': "['name']", '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'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- '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'}),
- '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.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', [], {'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_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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0043_auto__add_field_package_epoch.py b/main/migrations/0043_auto__add_field_package_epoch.py
deleted file mode 100644
index 1c6ae9db..00000000
--- a/main/migrations/0043_auto__add_field_package_epoch.py
+++ /dev/null
@@ -1,162 +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 field 'Package.epoch'
- db.add_column('packages', 'epoch', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=True)
-
-
- def backwards(self, orm):
-
- # Deleting field 'Package.epoch'
- db.delete_column('packages', '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.donor': {
- 'Meta': {'ordering': "['name']", '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'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- '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.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', [], {'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_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'})
- },
- '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0044_auto__chg_field_todolist_date_added.py b/main/migrations/0044_auto__chg_field_todolist_date_added.py
deleted file mode 100644
index d4099891..00000000
--- a/main/migrations/0044_auto__chg_field_todolist_date_added.py
+++ /dev/null
@@ -1,156 +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.alter_column('todolists', 'date_added', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True))
-
- def backwards(self, orm):
- db.alter_column('todolists', 'date_added', self.gf('django.db.models.fields.DateField')(auto_now_add=True))
-
- 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'"},
- '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',)", '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.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', [], {'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_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'})
- },
- '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.DateTimeField', [], {'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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0045_add_todolist_date_added_index.py b/main/migrations/0045_add_todolist_date_added_index.py
deleted file mode 100644
index 985f1c2d..00000000
--- a/main/migrations/0045_add_todolist_date_added_index.py
+++ /dev/null
@@ -1,156 +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('todolists', ['date_added'])
-
- def backwards(self, orm):
- db.delete_index('todolists', ['date_added'])
-
- 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'"},
- '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',)", '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.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', [], {'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_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'})
- },
- '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.DateTimeField', [], {'auto_now_add': 'True', 'db_index': '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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0046_auto__add_field_repo_staging.py b/main/migrations/0046_auto__add_field_repo_staging.py
deleted file mode 100644
index 0daaf69b..00000000
--- a/main/migrations/0046_auto__add_field_repo_staging.py
+++ /dev/null
@@ -1,157 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('repos', 'staging', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('repos', 'staging')
-
- 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'"},
- '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',)", '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.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', [], {'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_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.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.DateTimeField', [], {'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'}),
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0047_utc_datetimes.py b/main/migrations/0047_utc_datetimes.py
deleted file mode 100644
index 83153b78..00000000
--- a/main/migrations/0047_utc_datetimes.py
+++ /dev/null
@@ -1,180 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-from django.utils.tzinfo import LocalTimezone
-
-def new_date(old_date, reverse=False):
- if old_date is None:
- return None
- tz = LocalTimezone(old_date)
- offset = tz.utcoffset(old_date)
- if reverse:
- offset = -offset
- return old_date - offset
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- all_pkgs = orm.Package.objects.all()
- for package in all_pkgs:
- # prevents full object updates
- orm.Package.objects.filter(pk=package.pk).update(
- last_update=new_date(package.last_update),
- files_last_update=new_date(package.files_last_update),
- flag_date=new_date(package.flag_date))
- # We could do todolists, but they just don't matter that much.
-
- def backwards(self, orm):
- all_pkgs = orm.Package.objects.all()
- for package in all_pkgs:
- # prevents full object updates
- orm.Package.objects.filter(pk=package.pk).update(
- last_update=new_date(package.last_update, True),
- files_last_update=new_date(package.files_last_update, True),
- flag_date=new_date(package.flag_date, True))
-
- 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'"},
- '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',)", '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.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', [], {'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_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.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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0048_auto__add_field_repo_bugs_category.py b/main/migrations/0048_auto__add_field_repo_bugs_category.py
deleted file mode 100644
index 3e61f7ed..00000000
--- a/main/migrations/0048_auto__add_field_repo_bugs_category.py
+++ /dev/null
@@ -1,158 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('repos', 'bugs_category', self.gf('django.db.models.fields.SmallIntegerField')(default=2), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('repos', 'bugs_category')
-
- 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'"},
- '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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0049_auto__add_field_userprofile_pgp_key.py b/main/migrations/0049_auto__add_field_userprofile_pgp_key.py
deleted file mode 100644
index 10fb9390..00000000
--- a/main/migrations/0049_auto__add_field_userprofile_pgp_key.py
+++ /dev/null
@@ -1,160 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('user_profiles', 'pgp_key', self.gf('django.db.models.fields.CharField')(max_length=40, null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('user_profiles', 'pgp_key')
-
-
- 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'"},
- '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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('django.db.models.fields.CharField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0050_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py b/main/migrations/0050_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py
deleted file mode 100644
index 8368ae2e..00000000
--- a/main/migrations/0050_auto__chg_field_package_compressed_size__chg_field_package_installed_s.py
+++ /dev/null
@@ -1,166 +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):
- db.alter_column('packages', 'compressed_size', self.gf('main.models.PositiveBigIntegerField')(default=0))
- db.alter_column('packages', 'installed_size', self.gf('main.models.PositiveBigIntegerField')(default=0))
- old_date = datetime.datetime(2000, 1, 1)
- old_date = old_date.replace(tzinfo=utc)
- db.alter_column('packages', 'last_update', self.gf('django.db.models.fields.DateTimeField')(default=old_date))
-
- def backwards(self, orm):
- db.alter_column('packages', 'compressed_size', self.gf('django.db.models.fields.BigIntegerField')(null=True))
- db.alter_column('packages', 'installed_size', self.gf('django.db.models.fields.BigIntegerField')(null=True))
- db.alter_column('packages', 'last_update', self.gf('django.db.models.fields.DateTimeField')(null=True))
-
- 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'"},
- '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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('django.db.models.fields.CharField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0051_auto__chg_field_userprofile_pgp_key.py b/main/migrations/0051_auto__chg_field_userprofile_pgp_key.py
deleted file mode 100644
index 4905eb80..00000000
--- a/main/migrations/0051_auto__chg_field_userprofile_pgp_key.py
+++ /dev/null
@@ -1,160 +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.alter_column('user_profiles', 'pgp_key', self.gf('devel.fields.PGPKeyField')(max_length=40, null=True))
-
-
- def backwards(self, orm):
- db.alter_column('user_profiles', 'pgp_key', self.gf('django.db.models.fields.CharField')(max_length=40, null=True))
-
- 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'"},
- '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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0052_auto__del_signoff.py b/main/migrations/0052_auto__del_signoff.py
deleted file mode 100644
index a9ee633e..00000000
--- a/main/migrations/0052_auto__del_signoff.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):
-
- depends_on = (
- ('packages', '0008_add_signoff_model'),
- )
-
- def forwards(self, orm):
- # Deleting model 'Signoff'
- db.delete_table('main_signoff')
-
-
- def backwards(self, orm):
- # Adding model 'Signoff'
- db.create_table('main_signoff', (
- ('pkgrel', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ('packager', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Package'])),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('pkgver', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('main', ['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.donor': {
- 'Meta': {'ordering': "['name']", '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'}),
- 'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
- },
- '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0053_auto__add_field_package_pgp_signature.py b/main/migrations/0053_auto__add_field_package_pgp_signature.py
deleted file mode 100644
index a3df5266..00000000
--- a/main/migrations/0053_auto__add_field_package_pgp_signature.py
+++ /dev/null
@@ -1,152 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.add_column('packages', 'pgp_signature', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('packages', 'pgp_signature')
-
- 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'"},
- '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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0054_auto__add_field_donor_created.py b/main/migrations/0054_auto__add_field_donor_created.py
deleted file mode 100644
index 81946c36..00000000
--- a/main/migrations/0054_auto__add_field_donor_created.py
+++ /dev/null
@@ -1,160 +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):
- # Adding field 'Donor.created'
- old_date = datetime.datetime(2000, 1, 1)
- old_date = old_date.replace(tzinfo=utc)
- db.add_column('donors', 'created', self.gf('django.db.models.fields.DateTimeField')(default=old_date), keep_default=False)
-
-
- def backwards(self, orm):
- # Deleting field 'Donor.created'
- db.delete_column('donors', '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.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',)", '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0055_unique_package_in_repo.py b/main/migrations/0055_unique_package_in_repo.py
deleted file mode 100644
index 9ae33719..00000000
--- a/main/migrations/0055_unique_package_in_repo.py
+++ /dev/null
@@ -1,160 +0,0 @@
-# encoding: utf-8
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-from django.db.utils import DatabaseError
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- try:
- db.delete_index('packages', ['pkgname'])
- except DatabaseError as e:
- if not 'no such index' in str(e):
- raise e
- db.create_unique('packages', ['pkgname', 'repo_id', 'arch_id'])
-
- def backwards(self, orm):
- db.delete_unique('packages', ['pkgname', 'repo_id', 'arch_id'])
- db.create_index('packages', ['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.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'", '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'}),
- '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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0056_auto__chg_field_package_pkgdesc.py b/main/migrations/0056_auto__chg_field_package_pkgdesc.py
deleted file mode 100644
index 90856fab..00000000
--- a/main/migrations/0056_auto__chg_field_package_pkgdesc.py
+++ /dev/null
@@ -1,153 +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', 'pkgdesc', self.gf('django.db.models.fields.TextField')(null=True))
-
- def backwards(self, orm):
- db.alter_column('packages', 'pkgdesc', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
-
-
- 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'", '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.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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0057_auto__add_field_userprofile_latin_name.py b/main/migrations/0057_auto__add_field_userprofile_latin_name.py
deleted file mode 100644
index b9328af0..00000000
--- a/main/migrations/0057_auto__add_field_userprofile_latin_name.py
+++ /dev/null
@@ -1,153 +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('user_profiles', 'latin_name', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), keep_default=False)
-
- def backwards(self, orm):
- db.delete_column('user_profiles', 'latin_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.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'", '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.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.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', [], {'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': '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'})
- },
- '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.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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- 'latin_name': ('django.db.models.fields.CharField', [], {'max_length': '255', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0058_auto__add_on_delete_attributes.py b/main/migrations/0058_auto__add_on_delete_attributes.py
deleted file mode 100644
index e66e4da2..00000000
--- a/main/migrations/0058_auto__add_on_delete_attributes.py
+++ /dev/null
@@ -1,160 +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('todolists', 'creator_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], on_delete=models.PROTECT))
- db.alter_column('packages', 'repo_id', self.gf('django.db.models.fields.related.ForeignKey')(on_delete=models.PROTECT, to=orm['main.Repo']))
- db.alter_column('packages', 'packager_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, on_delete=models.SET_NULL))
- db.alter_column('packages', 'arch_id', self.gf('django.db.models.fields.related.ForeignKey')(on_delete=models.PROTECT, to=orm['main.Arch']))
-
- def backwards(self, orm):
- db.alter_column('todolists', 'creator_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User']))
- db.alter_column('packages', 'repo_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Repo']))
- db.alter_column('packages', 'packager_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True))
- db.alter_column('packages', 'arch_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Arch']))
-
- 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', [], {}),
- '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']"})
- },
- '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']", 'symmetrical': 'False', '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'}),
- 'latin_name': ('django.db.models.fields.CharField', [], {'max_length': '255', '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'}),
- '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'}),
- 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40', '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'}),
- 'time_zone': ('django.db.models.fields.CharField', [], {'default': "'UTC'", 'max_length': '100'}),
- 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'userprofile'", '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0059_auto__del_userprofile.py b/main/migrations/0059_auto__del_userprofile.py
deleted file mode 100644
index 2db87eeb..00000000
--- a/main/migrations/0059_auto__del_userprofile.py
+++ /dev/null
@@ -1,137 +0,0 @@
-# -*- coding: utf-8 -*-
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- pass
-
- def backwards(self, orm):
- if not db.dry_run:
- db.send_create_signal('main', ['UserProfile'])
- orm['contenttypes.ContentType'].objects.filter(
- app_label='devel', model='userprofile').update(
- app_label='main')
-
- 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', [], {}),
- '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']"})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0060_add_packages_last_update_index.py b/main/migrations/0060_add_packages_last_update_index.py
deleted file mode 100644
index 8e3bb892..00000000
--- a/main/migrations/0060_add_packages_last_update_index.py
+++ /dev/null
@@ -1,131 +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', ['last_update'])
-
- def backwards(self, orm):
- db.delete_index('packages', ['last_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.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']"})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0061_auto__del_packagedepend.py b/main/migrations/0061_auto__del_packagedepend.py
deleted file mode 100644
index 6cb1f68f..00000000
--- a/main/migrations/0061_auto__del_packagedepend.py
+++ /dev/null
@@ -1,135 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- depends_on = (
- ('packages', '0016_copy_depends_data.py'),
- )
-
- def forwards(self, orm):
- db.delete_table('package_depends')
-
- def backwards(self, orm):
- db.create_table('package_depends', (
- ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ('depvcmp', self.gf('django.db.models.fields.CharField')(default='', max_length=255)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='depends', to=orm['main.Package'])),
- ('depname', self.gf('django.db.models.fields.CharField')(max_length=255, db_index=True)),
- ('optional', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ))
- db.send_create_signal('main', ['PackageDepend'])
-
- 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.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']"})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0062_remove_old_todolist_models.py b/main/migrations/0062_remove_old_todolist_models.py
deleted file mode 100644
index 46b2a4fc..00000000
--- a/main/migrations/0062_remove_old_todolist_models.py
+++ /dev/null
@@ -1,133 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- depends_on = (
- ('todolists', '0003_migrate_todolist_data'),
- )
-
- def forwards(self, orm):
- db.delete_unique('todolist_pkgs', ['list_id', 'pkg_id'])
- db.delete_table('todolists')
- db.delete_table('todolist_pkgs')
-
-
- def backwards(self, orm):
- db.create_table('todolists', (
- ('description', self.gf('django.db.models.fields.TextField')()),
- ('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], on_delete=models.PROTECT)),
- ('date_added', self.gf('django.db.models.fields.DateTimeField')(db_index=True)),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
- ))
- db.send_create_signal('main', ['Todolist'])
-
- db.create_table('todolist_pkgs', (
- ('list', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Todolist'])),
- ('complete', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('pkg', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['main.Package'])),
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ))
- db.send_create_signal('main', ['TodolistPkg'])
-
- db.create_unique('todolist_pkgs', ['list_id', 'pkg_id'])
-
-
- 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', 'blank': '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', 'blank': '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'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0063_auto__add_field_package_created.py b/main/migrations/0063_auto__add_field_package_created.py
deleted file mode 100644
index e5a990c3..00000000
--- a/main/migrations/0063_auto__add_field_package_created.py
+++ /dev/null
@@ -1,116 +0,0 @@
-# -*- coding: 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', 'created',
- self.gf('django.db.models.fields.DateTimeField')(default=old_date), keep_default=False)
-
-
- def backwards(self, orm):
- db.delete_column('packages', '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.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', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': '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', 'blank': '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'", 'on_delete': 'models.PROTECT', 'to': "orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- '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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0064_auto__add_field_arch_required_signoffs.py b/main/migrations/0064_auto__add_field_arch_required_signoffs.py
deleted file mode 100644
index 1846378f..00000000
--- a/main/migrations/0064_auto__add_field_arch_required_signoffs.py
+++ /dev/null
@@ -1,112 +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('arches', 'required_signoffs',
- self.gf('django.db.models.fields.PositiveIntegerField')(default=2),
- keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('arches', 'required_signoffs')
-
- models = {
- u'auth.group': {
- 'Meta': {'object_name': 'Group'},
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- u'auth.permission': {
- 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- u'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': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- u'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'}),
- u'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'})
- },
- u'main.arch': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'required_signoffs': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'})
- },
- u'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'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'})
- },
- u'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': u"orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': 'True'}),
- u'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': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': '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'", 'on_delete': 'models.PROTECT', 'to': u"orm['main.Repo']"}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- u'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'}),
- u'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': u"orm['main.Package']"})
- },
- u'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'}),
- u'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0065_auto__add_field_package_signature_bytes.py b/main/migrations/0065_auto__add_field_package_signature_bytes.py
deleted file mode 100644
index a954166e..00000000
--- a/main/migrations/0065_auto__add_field_package_signature_bytes.py
+++ /dev/null
@@ -1,114 +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', 'signature_bytes',
- self.gf('django.db.models.fields.BinaryField')(null=True),
- keep_default=True)
-
- def backwards(self, orm):
- db.delete_column('packages', 'signature_bytes')
-
-
- models = {
- u'auth.group': {
- 'Meta': {'object_name': 'Group'},
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- u'auth.permission': {
- 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- u'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'}),
- u'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'})
- },
- u'main.arch': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'required_signoffs': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'})
- },
- u'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'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'})
- },
- u'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': u"orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': 'True'}),
- u'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': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': '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'", 'on_delete': 'models.PROTECT', 'to': u"orm['main.Repo']"}),
- 'signature_bytes': ('django.db.models.fields.BinaryField', [], {'null': 'True'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- u'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'}),
- u'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': u"orm['main.Package']"})
- },
- u'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'}),
- u'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0066_move_signature_data.py b/main/migrations/0066_move_signature_data.py
deleted file mode 100644
index 75fcfa92..00000000
--- a/main/migrations/0066_move_signature_data.py
+++ /dev/null
@@ -1,125 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.db import db
-from south.v2 import DataMigration
-from django.db import models
-from base64 import b64decode, b64encode
-
-class Migration(DataMigration):
-
- def forwards(self, orm):
- pkgs = orm.Package.objects.only(
- 'id', 'pgp_signature', 'signature_bytes').all()
- for pkg in pkgs:
- if not pkg.pgp_signature:
- continue
- pkg.signature_bytes = b64decode(pkg.pgp_signature.encode('utf-8'))
- pkg.save()
-
- def backwards(self, orm):
- pkgs = orm.Package.objects.only(
- 'id', 'pgp_signature', 'signature_bytes').all()
- for pkg in pkgs:
- if not pkg.signature_bytes:
- continue
- pkg.pgp_signature = b64encode(pkg.signature_bytes).decode('utf-8')
- pkg.save()
-
-
- models = {
- u'auth.group': {
- 'Meta': {'object_name': 'Group'},
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- u'auth.permission': {
- 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- u'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'}),
- u'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'})
- },
- u'main.arch': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'required_signoffs': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'})
- },
- u'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'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'})
- },
- u'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': u"orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': 'True'}),
- u'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': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': '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'", 'on_delete': 'models.PROTECT', 'to': u"orm['main.Repo']"}),
- 'signature_bytes': ('django.db.models.fields.BinaryField', [], {'null': 'True'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- u'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'}),
- u'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': u"orm['main.Package']"})
- },
- u'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'}),
- u'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'})
- }
- }
-
- complete_apps = ['main']
- symmetrical = True
diff --git a/main/migrations/0067_auto__del_field_package_pgp_signature.py b/main/migrations/0067_auto__del_field_package_pgp_signature.py
deleted file mode 100644
index 8c1d9b7a..00000000
--- a/main/migrations/0067_auto__del_field_package_pgp_signature.py
+++ /dev/null
@@ -1,113 +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', 'pgp_signature')
-
- def backwards(self, orm):
- db.add_column('packages', 'pgp_signature',
- self.gf('django.db.models.fields.TextField')(null=True, blank=True),
- keep_default=True)
-
-
- models = {
- u'auth.group': {
- 'Meta': {'object_name': 'Group'},
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- u'auth.permission': {
- 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- u'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'}),
- u'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'})
- },
- u'main.arch': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'required_signoffs': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'})
- },
- u'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'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'})
- },
- u'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': u"orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': 'True'}),
- u'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': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': '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.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': u"orm['main.Repo']"}),
- 'signature_bytes': ('django.db.models.fields.BinaryField', [], {'null': 'True'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- u'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'}),
- u'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': u"orm['main.Package']"})
- },
- u'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'}),
- u'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'})
- }
- }
-
- complete_apps = ['main']
diff --git a/main/migrations/0068_auto__chg_field_packagefile_directory__chg_field_packagefile_filename.py b/main/migrations/0068_auto__chg_field_packagefile_directory__chg_field_packagefile_filename.py
deleted file mode 100644
index 5e359806..00000000
--- a/main/migrations/0068_auto__chg_field_packagefile_directory__chg_field_packagefile_filename.py
+++ /dev/null
@@ -1,112 +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('package_files', 'directory', self.gf('django.db.models.fields.CharField')(max_length=1024))
- db.alter_column('package_files', 'filename', self.gf('django.db.models.fields.CharField')(max_length=1024, null=True))
-
- def backwards(self, orm):
- db.alter_column('package_files', 'directory', self.gf('django.db.models.fields.CharField')(max_length=255))
- db.alter_column('package_files', 'filename', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
-
- models = {
- u'auth.group': {
- 'Meta': {'object_name': 'Group'},
- u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- u'auth.permission': {
- 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
- u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- u'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'}),
- u'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'})
- },
- u'main.arch': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Arch', 'db_table': "'arches'"},
- 'agnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
- 'required_signoffs': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'})
- },
- u'main.donor': {
- 'Meta': {'ordering': "('name',)", 'object_name': 'Donor', 'db_table': "'donors'"},
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- u'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'})
- },
- u'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': u"orm['main.Arch']"}),
- 'build_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
- 'compressed_size': ('main.fields.PositiveBigIntegerField', [], {}),
- 'created': ('django.db.models.fields.DateTimeField', [], {}),
- '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', 'blank': 'True'}),
- u'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': u"orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': '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.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': u"orm['main.Repo']"}),
- 'signature_bytes': ('django.db.models.fields.BinaryField', [], {'null': 'True'}),
- 'url': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'})
- },
- u'main.packagefile': {
- 'Meta': {'object_name': 'PackageFile', 'db_table': "'package_files'"},
- 'directory': ('django.db.models.fields.CharField', [], {'max_length': '1024'}),
- 'filename': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}),
- u'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': u"orm['main.Package']"})
- },
- u'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'}),
- u'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'})
- }
- }
-
- complete_apps = ['main']