Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Go through and remove all sorts of old, unused stuff to cleanup for a…
Browse files Browse the repository at this point in the history
… stg release.
  • Loading branch information
ralphbean committed Nov 17, 2015
1 parent 1f46524 commit f066460
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 384 deletions.
54 changes: 0 additions & 54 deletions bin/fcomm-index-latest-builds

This file was deleted.

2 changes: 1 addition & 1 deletion bootstrap.py
Expand Up @@ -33,7 +33,7 @@ def install_deps():
'xapian-bindings-python', 'diffstat', 'fedpkg', 'svn', 'wget',
'python-xappy', 'python-webob', 'moksha', 'TurboGears2',
'python-dogpile-cache', 'python-dogpile-core',
'python-retask', 'python-memcached', 'memcached',
'python-memcached', 'memcached',
'python-markdown',
]
run('sudo dnf install -q -y ' + ' '.join(reqs))
Expand Down
9 changes: 0 additions & 9 deletions development.ini
Expand Up @@ -34,8 +34,6 @@ fedoracommunity.connector.pkgdb.baseurl = https://admin.fedoraproject.org/pkgdb
fedoracommunity.connector.tagger.baseurl = https://apps.fedoraproject.org/tagger
fedoracommunity.connector.mdapi.baseurl = https://apps.fedoraproject.org/mdapi
fedoracommunity.connector.icons.baseurl = https://alt.fedoraproject.org/pub/alt/screenshots
fedoracommunity.connector.yum.conf = %(here)s/production/yum.conf
fedoracommunity.rpm_cache = %(here)s/rpm_cache/

fedmenu.url = https://apps.fedoraproject.org/fedmenu
fedmenu.data_url = https://apps.fedoraproject.org/js/data.js
Expand All @@ -54,13 +52,6 @@ datagrepper_url=http://localhost:5000/raw
# This is insecure, use only for testing
fedora.clients.check_certs = False

# For the cache worker daemon
cache-worker.pidfile = %(here)s/fcomm-cache-worker.pid
cache-worker.logfile = %(here)s/fcomm-cache-worker.log
# We can have no more than 1 thread until the following is resolved
# https://github.com/kushaldas/retask/issues/2
cache-worker.threads = 1

## Moksha configuration

moksha.extensionpoints = True
Expand Down
20 changes: 0 additions & 20 deletions fedora-packages.spec
Expand Up @@ -78,9 +78,6 @@ Requires: fedmsg
Requires: rpmdevtools
Requires: python-daemon

# Needs to be running so the wsgi process can share jobs with worker processes
Requires: redis

Obsoletes: myfedora
Conflicts: fedoracommunity

Expand Down Expand Up @@ -130,20 +127,9 @@ cp fedoracommunity/widgets/static/javascript/jquery.jstree.js %{buildroot}%{_dat
%{__install} production/apache/%{oldname}.wsgi %{buildroot}%{_datadir}/%{oldname}/production/apache/%{oldname}.wsgi
%{__install} production/sample-production.ini %{buildroot}%{_datadir}/%{oldname}/production

%{__mkdir_p} %{buildroot}%{_sysconfdir}/init.d
%{__install} initsys/sysv/fcomm-cache-worker.init %{buildroot}%{_sysconfdir}/init.d/fcomm-cache-worker

%{__mkdir_p} %{buildroot}%{_sbindir}
%{__mv} %{buildroot}%{_bindir}/fcomm-cache-worker %{buildroot}%{_sbindir}/fcomm-cache-worker

# Logrotate configuration (for the cache-worker daemon)
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/logrotate.d
%{__install} logrotate %{buildroot}/%{_sysconfdir}/logrotate.d/%{oldname}

%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README.txt COPYING AUTHORS
Expand All @@ -155,13 +141,7 @@ cp fedoracommunity/widgets/static/javascript/jquery.jstree.js %{buildroot}%{_dat
%{python_sitelib}/%{oldname}-%{version}-py%{pyver}.egg-info/
#%{python_sitelib}/%{oldname}-%{version}-py%{pyver}-nspkg.pth
%attr(-,apache,apache) %dir %{_localstatedir}/cache/%{oldname}
%{_bindir}/fedoracommunity_makeyumcache
%{_bindir}/fcomm-index-packages
%{_bindir}/fcomm-index-latest-builds
%{_sbindir}/fcomm-cache-worker
%{_sysconfdir}/init.d/fcomm-cache-worker
%config(noreplace) %{_sysconfdir}/logrotate.d/%{oldname}


%changelog
* Tue Oct 20 2015 Ralph Bean <rbean@redhat.com> - 2.0.20-1
Expand Down
193 changes: 0 additions & 193 deletions fedoracommunity/connectors/api/worker.py

This file was deleted.

6 changes: 0 additions & 6 deletions fedoracommunity/connectors/kojiconnector.py
Expand Up @@ -82,12 +82,6 @@ def register(cls):
'fedoracommunity.connector.koji.pkgurl',
'http://koji.fedoraproject.org/packages')

cls._rpm_cache = config.get('fedoracommunity.rpm_cache',
None)
if not cls._rpm_cache:
print "You must specify fedoracommunity.rpm_cache in you .ini file"
exit(-1)

cls._mdapi_url = config.get('fedoracommunity.connector.mdapi.url',
'https://apps.fedoraproject.org/mdapi')

Expand Down

0 comments on commit f066460

Please sign in to comment.