Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Remove the inloop.gh_import module
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmo committed Mar 5, 2018
1 parent bb45c1f commit 3efaead
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 306 deletions.
1 change: 0 additions & 1 deletion .env.develop
Expand Up @@ -6,7 +6,6 @@ DEBUG=True
DJANGO_SETTINGS_MODULE=inloop.settings
EMAIL_URL=consolemail://
FROM_EMAIL=inloop@example.com
GITHUB_SECRET=secret
REDIS_URL=redis://127.0.0.1:6379/1
SECRET_KEY=secret
SECURE_COOKIES=False
Expand Down
4 changes: 0 additions & 4 deletions docs/INSTALL.md
Expand Up @@ -192,8 +192,6 @@ Installation
├── DATABASE_URL
├── DJANGO_SETTINGS_MODULE
├── FROM_EMAIL
├── GITHUB_SECRET
├── GIT_ROOT
├── LANG
├── MEDIA_ROOT
├── PATH
Expand Down Expand Up @@ -309,8 +307,6 @@ Name | Description
`DATABASE_URL` | 12factor style database URL, e.g. `postgres://user:pass@host:port/db`
`DJANGO_SETTINGS_MODULE` | Set to `inloop.settings` unless you know what you are doing
`FROM_EMAIL` | Address used for outgoing mail, e.g. `inloop@example.com`
`GITHUB_SECRET` | Github webhook endpoint secret
`GIT_ROOT` | Must be a subdirectory of `MEDIA_ROOT`
`LANG` | Set to `en_US.UTF-8` unless you know what you are doing
`MEDIA_ROOT` | Path to the directory for user uploads
`PYTHONPATH` | Set it to the path of the INLOOP git clone
Expand Down
Empty file removed inloop/gh_import/__init__.py
Empty file.
49 changes: 0 additions & 49 deletions inloop/gh_import/git.py

This file was deleted.

1 change: 0 additions & 1 deletion inloop/gh_import/github_known_hosts.txt

This file was deleted.

63 changes: 0 additions & 63 deletions inloop/gh_import/tasks.py

This file was deleted.

8 changes: 0 additions & 8 deletions inloop/gh_import/urls.py

This file was deleted.

30 changes: 0 additions & 30 deletions inloop/gh_import/utils.py

This file was deleted.

30 changes: 0 additions & 30 deletions inloop/gh_import/views.py

This file was deleted.

7 changes: 0 additions & 7 deletions inloop/settings.py
Expand Up @@ -55,7 +55,6 @@
"inloop.solutions",
"inloop.tasks",
"inloop.testrunner",
"inloop.gh_import",
"inloop.gitload",
]

Expand Down Expand Up @@ -183,12 +182,6 @@
}
DOCKER_IMAGE = "inloop-java-checker"

GITHUB_SECRET = env("GITHUB_SECRET")
GIT_ROOT = str(env("GIT_ROOT", cast=Path, default=BASE_DIR.parent / "inloop-tasks"))
GIT_SSH_URL = env("GIT_URL", default="")
GIT_SSH_KEY = None
GIT_BRANCH = env("GIT_BRANCH", default="master")

REPOSITORY_ROOT = str(Path(MEDIA_ROOT).joinpath("repository"))

ACCOUNT_ACTIVATION_DAYS = 7
Expand Down
4 changes: 2 additions & 2 deletions inloop/urls.py
Expand Up @@ -4,7 +4,7 @@
from django.contrib.flatpages.views import flatpage

from inloop.accounts import urls as account_urls
from inloop.gh_import import urls as github_urls
from inloop.gitload import urls as gitload_urls
from inloop.solutions import urls as solution_urls
from inloop.tasks import urls as task_urls
from inloop.views import home, logout
Expand All @@ -17,7 +17,7 @@
url(r'^logout/$', logout, name="logout"),

url(r'^account/', include(account_urls)),
url(r'^github/', include(github_urls)),
url(r'^gitload/', include(gitload_urls)),
url(r'^solutions/', include(solution_urls)),
url(r'^tasks/', include(task_urls)),

Expand Down
1 change: 0 additions & 1 deletion tests/.env
Expand Up @@ -6,7 +6,6 @@ DEBUG=True
DJANGO_SETTINGS_MODULE=tests.settings
EMAIL_URL=consolemail://
FROM_EMAIL=inloop@example.com
GITHUB_SECRET=secret
INTERNAL_IPS=127.0.0.1
REDIS_URL=redis://127.0.0.1:9/
SECRET_KEY=testsecret
110 changes: 0 additions & 110 deletions tests/unit/test_gitimport.py

This file was deleted.

0 comments on commit 3efaead

Please sign in to comment.