diff --git a/colab/__init__.py b/colab/__init__.py
deleted file mode 100644
index b0d6433..0000000
--- a/colab/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
\ No newline at end of file
diff --git a/colab/proxy/__init__.py b/colab/proxy/__init__.py
deleted file mode 100644
index b0d6433..0000000
--- a/colab/proxy/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
\ No newline at end of file
diff --git a/colab/proxy/gitlab/__init__.py b/colab/proxy/gitlab/__init__.py
deleted file mode 100644
index e78903a..0000000
--- a/colab/proxy/gitlab/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-
-default_app_config = 'colab.proxy.gitlab.apps.ProxyGitlabAppConfig'
diff --git a/colab/proxy/gitlab/admin.py b/colab/proxy/gitlab/admin.py
deleted file mode 100644
index 8c38f3f..0000000
--- a/colab/proxy/gitlab/admin.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from django.contrib import admin
-
-# Register your models here.
diff --git a/colab/proxy/gitlab/apps.py b/colab/proxy/gitlab/apps.py
deleted file mode 100644
index 11a6d40..0000000
--- a/colab/proxy/gitlab/apps.py
+++ /dev/null
@@ -1,7 +0,0 @@
-
-from ..utils.apps import ColabProxiedAppConfig
-
-
-class ProxyGitlabAppConfig(ColabProxiedAppConfig):
- name = 'colab.proxy.gitlab'
- verbose_name = 'Gitlab Proxy'
diff --git a/colab/proxy/gitlab/data_api.py b/colab/proxy/gitlab/data_api.py
deleted file mode 100644
index 628a43d..0000000
--- a/colab/proxy/gitlab/data_api.py
+++ /dev/null
@@ -1,51 +0,0 @@
-from colab.proxy.gitlab.models import *
-from colab.proxy.proxybase.proxy_data_api import ProxyDataAPI
-from django.db.models.fields import DateTimeField
-from dateutil.parser import parse
-import urllib2
-import json
-from django.conf import settings
-
-class GitlabDataAPI(ProxyDataAPI):
-
-
- def fetchProjects(self):
- page = 1
- projects = []
-
- proxy_config = settings.PROXIED_APPS.get(self.app_label, {})
- admin_token = proxy_config.get('auth_token')
-
- # Iterates throughout all projects pages
- while(True):
- data = urllib2.urlopen('https://beta.softwarepublico.gov.br/gitlab/api/v3/projects/all?private_token={}&per_page=100&page={}'.format(admin_token, page))
- json_data = json.load(data)
-
- if len(json_data) == 0:
- break
-
- page = page + 1
-
- for element in json_data:
- project = GitlabProject()
-
- for field in GitlabProject._meta.fields:
- value = element[field.name]
- value = parse(element[field.name]) if isinstance(field, DateTimeField) else value
- setattr(project, field.name, value)
-
- projects.append(project)
-
- return projects
-
-
- def fetchData(self):
- data = self.fetchProjects()
-
- for datum in data:
- datum.save()
-
- @property
- def app_label(self):
- return 'gitlab'
-
diff --git a/colab/proxy/gitlab/diazo.xml b/colab/proxy/gitlab/diazo.xml
deleted file mode 100644
index 34ffbbe..0000000
--- a/colab/proxy/gitlab/diazo.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/colab/proxy/gitlab/migrations/0001_initial.py b/colab/proxy/gitlab/migrations/0001_initial.py
deleted file mode 100644
index 516d858..0000000
--- a/colab/proxy/gitlab/migrations/0001_initial.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
-from django.db import models, migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='GitlabProject',
- fields=[
- ('id', models.IntegerField(serialize=False, primary_key=True)),
- ('description', models.TextField()),
- ('public', models.BooleanField(default=True)),
- ('name', models.TextField()),
- ('name_with_namespace', models.TextField()),
- ('created_at', models.DateTimeField(blank=True)),
- ('last_activity_at', models.DateTimeField(blank=True)),
- ],
- options={
- },
- bases=(models.Model,),
- ),
- ]
diff --git a/colab/proxy/gitlab/migrations/__init__.py b/colab/proxy/gitlab/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/colab/proxy/gitlab/migrations/__init__.py
+++ /dev/null
diff --git a/colab/proxy/gitlab/models.py b/colab/proxy/gitlab/models.py
deleted file mode 100644
index 2998b7d..0000000
--- a/colab/proxy/gitlab/models.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from django.db import models
-from django.conf import settings
-from colab.accounts.models import User
-
-class GitlabProject(models.Model):
-
- id = models.IntegerField(primary_key=True)
- description = models.TextField()
- public = models.BooleanField(default=True)
- name = models.TextField()
- name_with_namespace = models.TextField()
- created_at = models.DateTimeField(blank=True)
- last_activity_at = models.DateTimeField(blank=True)
diff --git a/colab/proxy/gitlab/templates/gitlab/menu.html b/colab/proxy/gitlab/templates/gitlab/menu.html
deleted file mode 100644
index ac7cf02..0000000
--- a/colab/proxy/gitlab/templates/gitlab/menu.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% load i18n %}
-
- {% trans "Repository" %}
-
-
\ No newline at end of file
diff --git a/colab/proxy/gitlab/templates/proxy/gitlab.html b/colab/proxy/gitlab/templates/proxy/gitlab.html
deleted file mode 100644
index ef0865d..0000000
--- a/colab/proxy/gitlab/templates/proxy/gitlab.html
+++ /dev/null
@@ -1,51 +0,0 @@
-{% extends 'base.html' %}
-{% load static from staticfiles %}
-
-{% block head_css %}
-
-{% endblock %}
-
-{% block head_js %}
-
-
-
-
-{% endblock %}
diff --git a/colab/proxy/gitlab/tests.py b/colab/proxy/gitlab/tests.py
deleted file mode 100644
index 7ce503c..0000000
--- a/colab/proxy/gitlab/tests.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from django.test import TestCase
-
-# Create your tests here.
diff --git a/colab/proxy/gitlab/urls.py b/colab/proxy/gitlab/urls.py
deleted file mode 100644
index 507c786..0000000
--- a/colab/proxy/gitlab/urls.py
+++ /dev/null
@@ -1,9 +0,0 @@
-
-from django.conf.urls import patterns, url
-
-from .views import GitlabProxyView
-
-
-urlpatterns = patterns('',
- url(r'^gitlab/(?P.*)$', GitlabProxyView.as_view()),
-)
diff --git a/colab/proxy/gitlab/views.py b/colab/proxy/gitlab/views.py
deleted file mode 100644
index 14f0d6c..0000000
--- a/colab/proxy/gitlab/views.py
+++ /dev/null
@@ -1,9 +0,0 @@
-
-from django.conf import settings
-
-from ..utils.views import ColabProxyView
-
-
-class GitlabProxyView(ColabProxyView):
- app_label = 'gitlab'
- diazo_theme_template = 'proxy/gitlab.html'
--
libgit2 0.21.2