1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-24 06:59:52 +01:00

rename rezag -> webagg

rename aggindexsource -> aggregator
This commit is contained in:
Ilya Kreymer 2016-03-03 11:55:43 -08:00
parent 98830147b5
commit ed1d3555c3
15 changed files with 32 additions and 32 deletions

View File

@ -14,22 +14,22 @@ class PyTest(TestCommand):
import pytest import pytest
import sys import sys
import os import os
cmdline = ' --cov rezag -v test/' cmdline = ' --cov webagg -v test/'
errcode = pytest.main(cmdline) errcode = pytest.main(cmdline)
sys.exit(errcode) sys.exit(errcode)
setup( setup(
name='rezag', name='webagg',
version='1.0', version='1.0',
author='Ilya Kreymer', author='Ilya Kreymer',
author_email='ikreymer@gmail.com', author_email='ikreymer@gmail.com',
license='MIT', license='Apache 2.0',
packages=find_packages(), packages=find_packages(),
url='https://github.com/webrecorder/rezag', url='https://github.com/webrecorder/webagg',
description='Resource Aggregator', description='Resource Aggregator',
long_description=open('README.rst').read(), long_description=open('README.rst').read(),
provides=[ provides=[
'rezag', 'webagg',
], ],
install_requires=[ install_requires=[
'pywb==1.0b', 'pywb==1.0b',

View File

@ -5,8 +5,8 @@ import json
from .testutils import to_path from .testutils import to_path
from rezag.aggindexsource import DirectoryIndexSource, SimpleAggregator from webagg.aggregator import DirectoryIndexSource, SimpleAggregator
from rezag.indexsource import MementoIndexSource from webagg.indexsource import MementoIndexSource
#============================================================================= #=============================================================================

View File

@ -2,14 +2,14 @@ from gevent import monkey; monkey.patch_all(thread=False)
from collections import OrderedDict from collections import OrderedDict
from rezag.handlers import DefaultResourceHandler, HandlerSeq from webagg.handlers import DefaultResourceHandler, HandlerSeq
from rezag.indexsource import MementoIndexSource, FileIndexSource, LiveIndexSource from webagg.indexsource import MementoIndexSource, FileIndexSource, LiveIndexSource
from rezag.aggindexsource import GeventTimeoutAggregator, SimpleAggregator from webagg.aggregator import GeventTimeoutAggregator, SimpleAggregator
from rezag.aggindexsource import DirectoryIndexSource from webagg.aggregator import DirectoryIndexSource
from rezag.app import add_route, application from webagg.app import add_route, application
from rezag.utils import MementoUtils from webagg.utils import MementoUtils
import webtest import webtest
import bottle import bottle

View File

@ -1,7 +1,7 @@
from rezag.indexsource import FileIndexSource, RemoteIndexSource, MementoIndexSource, RedisIndexSource from webagg.indexsource import FileIndexSource, RemoteIndexSource, MementoIndexSource, RedisIndexSource
from rezag.indexsource import LiveIndexSource from webagg.indexsource import LiveIndexSource
from rezag.aggindexsource import SimpleAggregator from webagg.aggregator import SimpleAggregator
from pywb.utils.timeutils import timestamp_now from pywb.utils.timeutils import timestamp_now

View File

@ -1,16 +1,16 @@
from gevent import monkey; monkey.patch_all(thread=False) from gevent import monkey; monkey.patch_all(thread=False)
from rezag.aggindexsource import SimpleAggregator, GeventTimeoutAggregator from webagg.aggregator import SimpleAggregator, GeventTimeoutAggregator
from rezag.aggindexsource import ThreadedTimeoutAggregator, BaseAggregator from webagg.aggregator import ThreadedTimeoutAggregator, BaseAggregator
from rezag.indexsource import FileIndexSource, RemoteIndexSource, MementoIndexSource from webagg.indexsource import FileIndexSource, RemoteIndexSource, MementoIndexSource
from .testutils import json_list, to_path from .testutils import json_list, to_path
import json import json
import pytest import pytest
import time import time
from rezag.handlers import IndexHandler from webagg.handlers import IndexHandler
sources = { sources = {

View File

@ -1,9 +1,9 @@
from gevent import monkey; monkey.patch_all(thread=False) from gevent import monkey; monkey.patch_all(thread=False)
import time import time
from rezag.indexsource import FileIndexSource from webagg.indexsource import FileIndexSource
from rezag.aggindexsource import SimpleAggregator, TimeoutMixin from webagg.aggregator import SimpleAggregator, TimeoutMixin
from rezag.aggindexsource import GeventTimeoutAggregator, GeventTimeoutAggregator from webagg.aggregator import GeventTimeoutAggregator, GeventTimeoutAggregator
from .testutils import json_list from .testutils import json_list

View File

@ -15,7 +15,7 @@ from heapq import merge
from collections import deque from collections import deque
from itertools import chain from itertools import chain
from rezag.indexsource import FileIndexSource from webagg.indexsource import FileIndexSource
from pywb.utils.wbexception import NotFoundException, WbException from pywb.utils.wbexception import NotFoundException, WbException
import six import six
import glob import glob

View File

@ -1,4 +1,4 @@
from rezag.inputrequest import DirectWSGIInputRequest, POSTInputRequest from webagg.inputrequest import DirectWSGIInputRequest, POSTInputRequest
from bottle import route, request, response, default_app, abort from bottle import route, request, response, default_app, abort
import bottle import bottle

View File

@ -1,5 +1,5 @@
from rezag.responseloader import WARCPathLoader, LiveWebLoader from webagg.responseloader import WARCPathLoader, LiveWebLoader
from rezag.utils import MementoUtils from webagg.utils import MementoUtils
from pywb.utils.wbexception import BadRequestException, WbException from pywb.utils.wbexception import BadRequestException, WbException
from pywb.utils.wbexception import NotFoundException from pywb.utils.wbexception import NotFoundException
from bottle import response from bottle import response

View File

@ -9,9 +9,9 @@ from pywb.utils.wbexception import NotFoundException
from pywb.cdx.cdxobject import CDXObject from pywb.cdx.cdxobject import CDXObject
from pywb.cdx.query import CDXQuery from pywb.cdx.query import CDXQuery
from rezag.liverec import patched_requests as requests from webagg.liverec import patched_requests as requests
from rezag.utils import MementoUtils from webagg.utils import MementoUtils
WAYBACK_ORIG_SUFFIX = '{timestamp}id_/{url}' WAYBACK_ORIG_SUFFIX = '{timestamp}id_/{url}'

View File

@ -1,7 +1,7 @@
from rezag.liverec import BaseRecorder from webagg.liverec import BaseRecorder
from rezag.liverec import request as remote_request from webagg.liverec import request as remote_request
from rezag.utils import MementoUtils from webagg.utils import MementoUtils
from pywb.utils.timeutils import timestamp_to_datetime, datetime_to_http_date from pywb.utils.timeutils import timestamp_to_datetime, datetime_to_http_date
from pywb.utils.timeutils import iso_date_to_datetime from pywb.utils.timeutils import iso_date_to_datetime