Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SHARE-338][Feature] Add Cyprus University of Technology OAI provider #600

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ ENV/
/br.*/
/ca.*/
/ch.*/
/cy.*/
/com.*/
/edu.*/
/es.*/
Expand Down
1 change: 1 addition & 0 deletions project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'providers.ca.umontreal',
'providers.ca.uwo',
'providers.ch.cern',
'providers.cy.ac.cut',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it still be accurate to remove the ac directory so that there isn't an extra folder involved?

'providers.com.biomedcentral',
'providers.com.dailyssrn',
'providers.com.figshare',
Expand Down
1 change: 1 addition & 0 deletions providers/cy/ac/cut/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default_app_config = 'providers.cy.ac.cut.apps.AppConfig'
10 changes: 10 additions & 0 deletions providers/cy/ac/cut/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from share.provider import OAIProviderAppConfig


class AppConfig(OAIProviderAppConfig):
name = 'providers.cy.ac.cut'
version = '0.0.1'
title = 'cut'
long_title = 'Cyprus University of Technology'
home_page = 'http://ktisis.cut.ac.cy/'
url = 'http://ktisis.cut.ac.cy/oai/request'
Binary file added providers/cy/ac/cut/favicon.ico
Binary file not shown.
26 changes: 26 additions & 0 deletions providers/cy/ac/cut/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2017-03-16 15:14
from __future__ import unicode_literals

from django.db import migrations
import share.robot


class Migration(migrations.Migration):

dependencies = [
('share', '0001_initial'),
('djcelery', '0001_initial'),
]

operations = [
migrations.RunPython(
code=share.robot.RobotUserMigration('cy.ac.cut'),
),
migrations.RunPython(
code=share.robot.RobotOauthTokenMigration('cy.ac.cut'),
),
migrations.RunPython(
code=share.robot.RobotScheduleMigration('cy.ac.cut'),
),
]
20 changes: 20 additions & 0 deletions providers/cy/ac/cut/migrations/0002_favicon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2017-03-16 15:14
from __future__ import unicode_literals

from django.db import migrations
import share.robot


class Migration(migrations.Migration):

dependencies = [
('cy.ac.cut', '0001_initial'),
('share', '0018_store_favicons'),
]

operations = [
migrations.RunPython(
code=share.robot.RobotFaviconMigration('cy.ac.cut'),
),
]
Empty file.