From 06d82c2a2f82c95f17bf6127f1cae20069d07f62 Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Fri, 24 Mar 2023 10:55:09 +0100
Subject: [PATCH] Removed unused and outdated files

---
 .coveragerc          |   5 --
 .travis.yml          |  13 ----
 MANIFEST.in          |   4 --
 ckan_default.conf    | 167 -------------------------------------------
 fileformats.rdf.test |   0
 out.uls              |  30 --------
 6 files changed, 219 deletions(-)
 delete mode 100644 .coveragerc
 delete mode 100644 .travis.yml
 delete mode 100644 MANIFEST.in
 delete mode 100644 ckan_default.conf
 delete mode 100644 fileformats.rdf.test
 delete mode 100644 out.uls

diff --git a/.coveragerc b/.coveragerc
deleted file mode 100644
index 3138593c..00000000
--- a/.coveragerc
+++ /dev/null
@@ -1,5 +0,0 @@
-[report]
-omit =
-    */site-packages/*
-    */python?.?/*
-    ckan/*
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e14ef2a1..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-language: python
-sudo: required
-python:
-    - "2.7"
-services:
-    - postgresql
-    - redis-server
-install:
-    - bash bin/travis-build.bash
-    - pip install coveralls
-script: sh bin/travis-run.sh
-after_success:
-    - coveralls
diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index 1f79f19f..00000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,4 +0,0 @@
-include README.rst
-include LICENSE
-include requirements.txt
-recursive-include ckanext/odsh *.html *.json *.js *.less *.css *.mo
\ No newline at end of file
diff --git a/ckan_default.conf b/ckan_default.conf
deleted file mode 100644
index 891eaf22..00000000
--- a/ckan_default.conf
+++ /dev/null
@@ -1,167 +0,0 @@
-<VirtualHost *:80>
-    WSGIScriptAlias / /etc/ckan/default/apache.wsgi
-
-    # Pass authorization info on (needed for rest api).
-    WSGIPassAuthorization On
-
-    # Deploy as a daemon (avoids conflicts between CKAN instances).
-    WSGIDaemonProcess ckan_default display-name=ckan_default processes=2 threads=15
-
-    WSGIProcessGroup ckan_default
-    RewriteEngine On
-
-    #resources
-    RewriteCond %{REQUEST_URI} !^/.*.css
-    RewriteCond %{REQUEST_URI} !^/base/images/
-    RewriteCond %{REQUEST_URI} !^/base/fonts/
-    RewriteCond %{REQUEST_URI} !^/fanstatic/
-    RewriteCond %{REQUEST_URI} !^/scripts/vendor/
-    RewriteCond %{REQUEST_URI} !^/uploads/group/
-    #api
-    RewriteCond %{REQUEST_URI} !^/api/i18n/de$
-    RewriteCond %{REQUEST_URI} !^/api/2/.*$
-    RewriteCond %{REQUEST_URI} !^/api/3/action/package.*$
-    RewriteCond %{REQUEST_URI} !^/catalog.xml[^/]*$
-    #user       
-    RewriteCond %{REQUEST_URI} !^/user/login$
-    RewriteCond %{REQUEST_URI} !^/user/logged_out_redirect$
-    RewriteCond %{REQUEST_URI} !^/user/reset$
-    RewriteCond %{REQUEST_URI} !^/user/edit$
-    RewriteCond %{REQUEST_URI} !^/user/register$
-    RewriteCond %{REQUEST_URI} !^/user/\w+$
-    RewriteCond %{REQUEST_URI} !^/user/$
-    RewriteCond %{REQUEST_URI} !^/login_generic?
-    RewriteCond %{REQUEST_URI} !^/logged_in?
-    #report
-    RewriteCond %{REQUEST_URI} !^/report$
-    RewriteCond %{REQUEST_URI} !^/report/openness$
-    RewriteCond %{REQUEST_URI} !^/report/openness/[^/]*$
-    #organization
-    RewriteCond %{REQUEST_URI} !^/organization$
-    RewriteCond %{REQUEST_URI} !^/organization/new$
-    RewriteCond %{REQUEST_URI} !^/organization?__no_cache__=True$
-    RewriteCond %{REQUEST_URI} !^/organization/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/organization/edit/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/organization/delete/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/organization/members/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/organization/member_new/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/organization/member_delete/[^/]*$
-    #dataset
-    RewriteCond %{REQUEST_URI} !^/dataset$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/dataset/new_resource/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/dataset/edit/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource/[^/]+$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource_edit/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource_data/[^/]+$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource_delete/[^/]*$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource/[^/]+/download/[^/]+$
-    RewriteCond %{REQUEST_URI} !^/dataset/[^/]+/resource/[^/]+/edit_view/[^/]+$
-    RewriteCond %{REQUEST_URI} !^/dataset/delete/[^/]+$
-    #tag
-    RewriteCond %{REQUEST_URI} !^/tag/[^/]*$
-    #harvest
-    RewriteCond %{REQUEST_URI} !^/harvest.*$
-    #feed
-    RewriteCond %{REQUEST_URI} !^/feeds/custom.atom[^/]*$
-    #other
-    RewriteCond %{REQUEST_URI} !^/$
-    RewriteCond %{REQUEST_URI} !^/info_page$
-    #
-    RewriteCond %{REQUEST_URI} !^/notfound$
-    #block if no match
-    RewriteRule (.*) /notfound [P,L,NE]
-
-    RewriteCond %{REQUEST_URI} ^/user/dashboard [OR]
-    RewriteCond %{REQUEST_URI} ^/user/me
-    RewriteRule (.*) /notfound [P,L,NE]
-
-
-    ErrorLog /var/log/apache2/ckan_default.error.log
-    CustomLog /var/log/apache2/ckan_default.custom.log combined
-LogLevel alert rewrite:trace3 alias:debug
-
-    <IfModule mod_rpaf.c>
-        RPAFenable On
-        RPAFsethostname On
-        RPAFproxy_ips 127.0.0.1
-    </IfModule>
-
-    <Directory />
-        Require all granted
-    </Directory>
-
-    # ProxyPreserveHost On
-
-    # ProxyPass /dataset/new http://10.61.47.219/dataset/new
-    # ProxyPassReverse /dataset/new http://10.61.47.219/dataset/new
-    # ProxyPassMatch ^/(dataset/delete/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassReverse ^/(dataset/delete/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(dataset/edit/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassReverse ^/(dataset/edit/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassReverse /dataset http://141.91.184.90/dataset
-    # ProxyPassReverse /dataset http://141.91.184.90/dataset
-    # ProxyPass /solr http://localhost:8983/solr
-    # ProxyPassReverse /solr http://localhost:8983/solr
-    # ProxyPass /dataset/new_resource http://10.61.47.219/dataset/new_resource
-    # ProxyPassReverse /dataset/new_resource http://141.91.184.90/dataset/new_resource
-    # ProxyPassReverse /dataset/new_resource http://141.91.184.90/dataset/new_resource
-    # #ProxyPass /api/i18n/de http://141.91.184.90/api/i18n/de
-    # ProxyPassReverse ^/uploads/group/(.*)$ http://10.61.47.219/uploads/group/$1
-    # ProxyPassMatch ^/uploads/group/(.*)$ http://10.61.47.219/uploads/group/$1
-    # ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+/download/[^/]+)$ http://141.91.184.90/$1
-    # ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/download/[^/]+)$ http://141.91.184.90/$1
-    # ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(dataset/[^/]+/resource_data/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassReverse ^/(dataset/[^/]+/resource_data/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/new_view[^/]*)$ http://10.61.47.219/$1
-    # ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+/new_view[^/]*)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(harvest.*)$ http://141.91.184.90/$1
-    # ProxyPassReverse /harvest http://141.91.184.90/harvest
-    # ProxyPass /harvest http://141.91.184.90/harvest
-    # ProxyPassReverse ^/(harvest.*)$ http://141.91.184.90/$1
-    # ProxyPassReverse /harvest/admin http://141.91.184.90/harvest/admin
-    # ProxyPassReverse ^/(api/3/action/package.*)$ http://10.61.47.219/$1
-    # ProxyPassMatch ^/(api/3/action/package.*)$ http://10.61.47.219/$1
-    # ProxyPass /api/action/package_create http://10.61.47.219/api/action/package_create
-    # ProxyPassReverse /api/action/package_create http://10.61.47.219/api/action/package_create
-    # ProxyPass /api/action/resource_create http://10.61.47.219/api/action/resource_create
-    # ProxyPassReverse /api/action/resource_create http://10.61.47.219/api/action/resource_create
-    # ProxyPassMatch ^/(organization/edit/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPassReverse ^/(organization/edit/[^/]+)$ http://10.61.47.219/$1 
-    # ProxyPassReverse /organization http://141.91.184.90/organization
-    # ProxyPassMatch ^/(organization/delete/[^/]+)$ http://10.61.47.219/$1
-    # ProxyPass /datarequest http://10.61.47.219/datarequest
-    # ProxyPassReverse /datarequest http://10.61.47.219/datarequest
-
-       ProxyPass /dataset/new http://<master-ip>/dataset/new
-   ProxyPassReverse /dataset/new http://<master-ip>/dataset/new
-   ProxyPassMatch ^/(dataset/delete/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(dataset/delete/[^/]+)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(dataset/edit/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(dataset/edit/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse /dataset http://<master-ip>/dataset
-   ProxyPassReverse /dataset http://<master-ip>/dataset
-   ProxyPass /dataset/new_resource http://<master-ip>/dataset/new_resource
-   ProxyPassReverse /dataset/new_resource http://<master-ip>/dataset/new_resource
-   ProxyPassReverse /dataset/new_resource http://<master-ip>/dataset/new_resource
-   ProxyPassReverse ^/uploads/group/(.*)$ http://<master-ip>/uploads/group/$1
-   ProxyPassMatch ^/uploads/group/(.*)$ http://<master-ip>/uploads/group/$1
-   ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+/download/[^/]+)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/download/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(dataset/[^/]+/resource_data/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(dataset/[^/]+/resource_data/[^/]+)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(dataset/[^/]+/resource/[^/]+/new_view[^/]*)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(dataset/[^/]+/resource/[^/]+/new_view[^/]*)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(harvest.*)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(harvest.*)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(api/3/action/package.*)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(api/3/action/package.*)$ http://<master-ip>/$1
-   ProxyPassMatch ^/(organization/edit/[^/]+)$ http://<master-ip>/$1
-   ProxyPassReverse ^/(organization/edit/[^/]+)$ http://<master-ip>/$1
-   ProxyPass /organization/new http://<interne-IP-Master>/organization/new
-ProxyPassReverse /organization/new http://<interne-IP-Master>/organization/new
-</VirtualHost
\ No newline at end of file
diff --git a/fileformats.rdf.test b/fileformats.rdf.test
deleted file mode 100644
index e69de29b..00000000
diff --git a/out.uls b/out.uls
deleted file mode 100644
index de4db155..00000000
--- a/out.uls
+++ /dev/null
@@ -1,30 +0,0 @@
-V;2019-04-25 12:18:36;ckan274;"ULS";"Exception";"traceback";"Text";"
-Traceback (most recent call last):
-File \\"/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/plugin.py\\", line 358, in before_search
-raise BaseException('boom')
-BaseException: boom
-";
-V;2019-04-25 12:18:37;ckan274;"ULS";"Exception";"traceback";"Text";"
-Traceback (most recent call last):
-File \\"/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/plugin.py\\", line 358, in before_search
-raise BaseException('boom')
-BaseException: boom
-";
-V;2019-04-25 12:18:38;ckan274;"ULS";"Exception";"traceback";"Text";"
-Traceback (most recent call last):
-File \\"/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/plugin.py\\", line 358, in before_search
-raise BaseException('boom')
-BaseException: boom
-";
-V;2019-04-25 12:18:40;ckan274;"ULS";"Exception";"traceback";"Text";"
-Traceback (most recent call last):
-File \\"/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/plugin.py\\", line 358, in before_search
-raise BaseException('boom')
-BaseException: boom
-";
-V;2019-04-25 12:18:41;ckan274;"ULS";"Exception";"traceback";"Text";"
-Traceback (most recent call last):
-File \\"/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/plugin.py\\", line 358, in before_search
-raise BaseException('boom')
-BaseException: boom
-";
-- 
GitLab