1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +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 sys
import os
cmdline = ' --cov rezag -v test/'
cmdline = ' --cov webagg -v test/'
errcode = pytest.main(cmdline)
sys.exit(errcode)
setup(
name='rezag',
name='webagg',
version='1.0',
author='Ilya Kreymer',
author_email='ikreymer@gmail.com',
license='MIT',
license='Apache 2.0',
packages=find_packages(),
url='https://github.com/webrecorder/rezag',
url='https://github.com/webrecorder/webagg',
description='Resource Aggregator',
long_description=open('README.rst').read(),
provides=[
'rezag',
'webagg',
],
install_requires=[
'pywb==1.0b',

View File

@ -5,8 +5,8 @@ import json
from .testutils import to_path
from rezag.aggindexsource import DirectoryIndexSource, SimpleAggregator
from rezag.indexsource import MementoIndexSource
from webagg.aggregator import DirectoryIndexSource, SimpleAggregator
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 rezag.handlers import DefaultResourceHandler, HandlerSeq
from webagg.handlers import DefaultResourceHandler, HandlerSeq
from rezag.indexsource import MementoIndexSource, FileIndexSource, LiveIndexSource
from rezag.aggindexsource import GeventTimeoutAggregator, SimpleAggregator
from rezag.aggindexsource import DirectoryIndexSource
from webagg.indexsource import MementoIndexSource, FileIndexSource, LiveIndexSource
from webagg.aggregator import GeventTimeoutAggregator, SimpleAggregator
from webagg.aggregator import DirectoryIndexSource
from rezag.app import add_route, application
from rezag.utils import MementoUtils
from webagg.app import add_route, application
from webagg.utils import MementoUtils
import webtest
import bottle

View File

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

View File

@ -1,16 +1,16 @@
from gevent import monkey; monkey.patch_all(thread=False)
from rezag.aggindexsource import SimpleAggregator, GeventTimeoutAggregator
from rezag.aggindexsource import ThreadedTimeoutAggregator, BaseAggregator
from webagg.aggregator import SimpleAggregator, GeventTimeoutAggregator
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
import json
import pytest
import time
from rezag.handlers import IndexHandler
from webagg.handlers import IndexHandler
sources = {

View File

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

View File

@ -15,7 +15,7 @@ from heapq import merge
from collections import deque
from itertools import chain
from rezag.indexsource import FileIndexSource
from webagg.indexsource import FileIndexSource
from pywb.utils.wbexception import NotFoundException, WbException
import six
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
import bottle

View File

@ -1,5 +1,5 @@
from rezag.responseloader import WARCPathLoader, LiveWebLoader
from rezag.utils import MementoUtils
from webagg.responseloader import WARCPathLoader, LiveWebLoader
from webagg.utils import MementoUtils
from pywb.utils.wbexception import BadRequestException, WbException
from pywb.utils.wbexception import NotFoundException
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.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}'

View File

@ -1,7 +1,7 @@
from rezag.liverec import BaseRecorder
from rezag.liverec import request as remote_request
from webagg.liverec import BaseRecorder
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 iso_date_to_datetime