# Django:
*.log
*.pot
+migrations/
# KDE:
.directory
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='UserProfile',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('timezone', models.CharField(default='UTC', max_length=100)),
- ('sshkey', models.CharField(max_length=2048)),
- ('pgpkey', models.CharField(max_length=2048)),
- ('company', models.CharField(max_length=200)),
- ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'user_profile',
- },
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-16 15:11
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0001_initial'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='oauth_secret',
- field=models.CharField(default='', max_length=1024),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='userprofile',
- name='oauth_token',
- field=models.CharField(default='', max_length=1024),
- preserve_default=False,
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 13:17
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0001_initial'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='timezone',
- field=models.CharField(default='UTC', max_length=100),
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-19 10:24
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0002_auto_20160816_1511'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='pgpkey',
- new_name='pgp_pupblic_key',
- ),
- migrations.RenameField(
- model_name='userprofile',
- old_name='sshkey',
- new_name='ssh_public_key',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 17:09
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0002_userprofile_timezone'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='registration_complete',
- field=models.BooleanField(default=False),
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-12 18:05
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0003_userprofile_registration_complete'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='userprofile',
- name='gpgkey',
- field=models.CharField(default='a', max_length=2048),
- preserve_default=False,
- ),
- migrations.AlterField(
- model_name='userprofile',
- name='sshkey',
- field=models.CharField(max_length=2048),
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-19 10:55
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0003_auto_20160819_1024'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='pgp_pupblic_key',
- new_name='pgp_public_key',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 10:49
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0004_auto_20160812_1805'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='userprofile',
- name='registration_complete',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 14:43
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0005_remove_userprofile_registration_complete'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='userresource',
- name='resource',
- ),
- migrations.RemoveField(
- model_name='userresource',
- name='user',
- ),
- migrations.DeleteModel(
- name='UserResource',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-14 10:56
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('account', '0006_auto_20160813_1443'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='userprofile',
- old_name='gpgkey',
- new_name='pgpkey',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ('dashboard', '0001_initial'),
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Booking',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('start', models.DateTimeField()),
- ('end', models.DateTimeField()),
- ('purpose', models.CharField(max_length=300)),
- ('resource', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='dashboard.Resource')),
- ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'booking',
- },
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='deleted',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:51
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0002_remove_booking_deleted'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='status',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Resource',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('slavename', models.CharField(blank=True, max_length=50, null=True)),
- ('description', models.CharField(blank=True, max_length=300, null=True)),
- ('url', models.CharField(blank=True, max_length=100, null=True)),
- ('owners', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'resource',
- },
- ),
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:11
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 13:02
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_resourceutilization'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='active',
- ),
- migrations.RemoveField(
- model_name='resource',
- name='bookable',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:12
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_auto_20160815_1511'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slave',
- ),
- migrations.AddField(
- model_name='resource',
- name='slavename',
- field=models.CharField(blank=True, max_length=50, null=True),
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 14:43
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ('dashboard', '0003_auto_20160813_1302'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='owners',
- field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:13
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0003_auto_20160815_1512'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:17
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0004_resource_slave'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-16 10:42
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0005_remove_resource_slavename'),
- ]
-
- operations = [
- migrations.DeleteModel(
- name='ResourceUtilization',
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='JenkinsSlave',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('status', models.CharField(default='offline', max_length=30)),
- ('url', models.CharField(max_length=1024)),
- ('ci_slave', models.BooleanField(default=False)),
- ('dev_pod', models.BooleanField(default=False)),
- ('building', models.BooleanField(default=False)),
- ('last_job_name', models.CharField(default='', max_length=1024)),
- ('last_job_url', models.CharField(default='', max_length=1024)),
- ('last_job_scenario', models.CharField(default='', max_length=50)),
- ('last_job_branch', models.CharField(default='', max_length=50)),
- ('last_job_installer', models.CharField(default='', max_length=50)),
- ('last_job_result', models.CharField(default='', max_length=30)),
- ],
- options={
- 'db_table': 'jenkins_slave',
- },
- ),
- migrations.CreateModel(
- name='JenkinsStatistic',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('offline', models.BooleanField(default=False)),
- ('idle', models.BooleanField(default=False)),
- ('online', models.BooleanField(default=False)),
- ('slave', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='jenkins.JenkinsSlave')),
- ],
- options={
- 'db_table': 'jenkins_statistic',
- },
- ),
- ]
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:26
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0001_initial'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='jenkinsstatistic',
- name='timestamp',
- field=models.DateTimeField(auto_now_add=True),
- ),
- ]